OpenConfig Overview

OpenConfig is a collaborative effort in the networking industry to move toward a more dynamic, programmable method for configuring and managing multivendor networks. OpenConfig supports the use of vendor-neutral data models to configure and manage the network. These data models define the configuration and operational state of network devices for common network protocols or services. The data models are written in YANG, a standards-based, data modeling language that is modular, easy to read, and supports remote procedure calls (RPCs). Using industry standard models greatly benefits an operator with devices in a network from multiple vendors. The goal of OpenConfig is for operators to be able to use a single set of data models to configure and manage all the network devices that support the OpenConfig initiative.

OpenConfig for Junos OS supports the YANG data models and uses RPC frameworks to facilitate communications between a client and the router. You have the flexibility to configure your router directly by using Junos OS, or by using a third-party schema, such as OpenConfig. OpenConfig modules define a data model through its data, and the hierarchical organization of and constraints on that data. Each module is uniquely identified by a namespace URL to avoid possible conflicts with the Junos OS name.

The configuration and operational statements in Junos OS have corresponding path statements in OpenConfig. The following is a list of data modules for which mapping of OpenConfig and Junos OS configuration and operational statements is supported:

  • BGP
  • Interfaces
  • LACP
  • Local routing
  • Telemetry
  • RPC
  • LLDP
  • Platform
  • Routing policy
  • MPLS RSVP

For more information on the OpenConfig initiative, see http://www.openconfig.net/.

OpenConfig Data Model Version

Table 1 lists the OpenConfig data model versions.

Table 1: OpenConfig Data Model Versions

OpenConfig Data Model

Junos OS Version

OpenConfig Supported Version

BGP (openconfig-bgp.yang)

Release 16.1 R3

2.0.1

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP COMMON (openconfig-bgp-common.yang)

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP COMMON MULTIPROTOCOL (openconfig-bgp-common-
multiprotocol.yang
)

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP COMMON STRUCTURE (openconfig-bgp-common-
structure.yang
)

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP GLOBAL (openconfig-bgp-global.yang)

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP NEIGHBOR (openconfig-bgp-neighbor.yang)

Release 16.1 R3

2.0.1

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP PEER GROUP (openconfig-bgp-peer-group.yang)

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP POLICY (openconfig-bgp-policy.yang)

Release 16.1 R3

2.0.1

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

BGP TYPES (openconfig-bgp-types.yang)

Release 16.1 R3

2.0.1

Release 17.1R1, 17.2 R1, 17.3 R1

2.1.1

IF AGGREGATE (openconfig-if-aggregate.yang)

Release 16.1 R3, 17.1R1, 17.2 R1, 17.3 R1

1.0.1

IF ETHERNET (openconfig-if-ethernet.yang)

Release 16.1 R3, 17.1R1, 17.2 R1, 17.3 R1

1.0.1

IF IP (openconfig-if-ip.yang)

Release 16.1 R3, 17.1R1, 17.2 R1, 17.3 R1

1.0.1

IF IP EXT (openconfig-if-ip-ext.yang)

Release 16.1 R3, 17.1R1, 17.2 R1, 17.3 R1

1.0.1

INTERFACES (openconfig-interfaces.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.1

I3 YANG (openconfig-network-instance-l3.yang)

Release 17.3 R1

0.4.0

INET TYPES (openconfig-inet-types.yang)

Release 17.3 R1

0.1.0

LACP (openconfig-lacp.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.2

LLDP (openconfig-lldp.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.1.0

LLDP TYPES (openconfig-lldp-types.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.1.0

LOCAL ROUTING (openconfig-local-routing.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

MPLS (openconfig-mpls.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1

1.0.0

Release 17.3 R1

1.0.1

MPLS IDP (openconfig-mpls-ldp.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

MPLS IGP (openconfig-mpls-igp.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

MPLS RSVP (openconfig-mpls-rsvp.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

MPLS SR (openconfig-mpls-sr.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

MPLS STATIC (openconfig-mpls-static.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

MPLS TE (openconfig-mpls-te.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

MPLS TYPES (openconfig-mpls-types.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.0

NETWORK INSTANCE (openconfig-network-instance.yang)

Release 17.3 R1

0.4.0

NETWORK INSTANCE I2 (openconfig-network-instance-l2.yang)

Release 17.3 R1

0.4.0

NETWORK INSTANCE TYPES (openconfig-network-
instance-types.yang
)

Release 17.3 R1

0.4.0

PLATFORM (openconfig-platform.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.3.0

PLATFORM TRANSCEIVER (openconfig-platform-
transceiver.yang
)

Release 17.1 R1, 17.2 R1, 17.3 R1

0.1.0

PLATFORM TYPES (openconfig-platform-types.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.3.0

POLICY TYPES (openconfig-policy-types.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

2.0.0

RIB BGP (openconfig-rib-bgp.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.2.0

RIB BGP EXT (openconfig-rib-bgp-ext.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.2.0

RIB BGP TYPES (openconfig-rib-bgp-types.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.2.0

ROUTING POLICY (openconfig-routing-policy.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

2.0.0

RPC (openconfig-rpc-api.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.1.0

SEGMENT ROUTING (openconfig-segment-routing.yang)

Release 17.3 R1

0.0.3

TELEMETRY (openconfig-telemetry.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

0.2.0

TERMINAL DEVICE (openconfig-terminal-device.yang)

Release 16.1 R3

0.2.0

Release 17.1 R1, 17.2 R1, 17.3 R1

0.3.1

TRANSPORT TYPES (openconfig-transport-types.yang)

Release 16.1 R3

0.2.0

Release 17.1 R1, 17.2 R1, 17.3 R1

0.3.1

TYPES (openconfig-types.yang)

Release 16.1 R3

0.1.1

Release 17.1 R1, 17.2 R1, 17.3 R1

0.2.0

VLAN CONFIGURATION SUPPORT (openconfig-vlan.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.1

VLAN TYPES (openconfig-vlan-types.yang)

Release 16.1 R3, 17.1 R1, 17.2 R1, 17.3 R1

1.0.1

YANG TYPES (openconfig-yang-types.yang)

Release 17.3 R1

0.1.0

Modified: 2017-09-10