openconfig-policy-types

openconfig-version: 3.3.0

Description

This module contains general data definitions for use in routing policy. It can be imported by modules that contain protocol- specific policy conditions and actions.

Imports

ietf-yang-types
openconfig-extensions
openconfig-yang-types

Defined types

match-set-options-type

description:
Options that govern the behavior of a match statement. The default behavior is ANY, i.e., the given value matches any of the members of the defined set

type: enumeration

  • ANY
    match is true if given value matches any member of the defined set
  • ALL
    match is true if given value matches all members of the defined set
  • INVERT
    match is true if given value does not match any member of the defined set

default: ANY

match-set-options-restricted-type

description:
Options that govern the behavior of a match statement. The default behavior is ANY, i.e., the given value matches any of the members of the defined set. Note this type is a restricted version of the match-set-options-type.

type: enumeration

  • ANY
    match is true if given value matches any member of the defined set
  • INVERT
    match is true if given value does not match any member of the defined set

default: ANY

tag-type

description:
Type for expressing route tags on a local system, including IS-IS and OSPF; This may be expressed as either decimal or hexidecimal integer.

type: union

    type: uint32

    type: yang:hex-string

    type: oc-yang:hex-string-prefixed

Identities

base: ATTRIBUTE_COMPARISON

description:
base type for supported comparison operators on route attributes

ATTRIBUTE_EQ

description:
== comparison

base identity: ATTRIBUTE_COMPARISON

ATTRIBUTE_GE

description:
>= comparison

base identity: ATTRIBUTE_COMPARISON

ATTRIBUTE_LE

description:
<= comparison

base identity: ATTRIBUTE_COMPARISON

base: INSTALL_PROTOCOL_TYPE

description:
Base type for routing protocols, including those which may install prefixes into the RIB

BGP

description:
BGP

base identity: INSTALL_PROTOCOL_TYPE

ISIS

description:
IS-IS

base identity: INSTALL_PROTOCOL_TYPE

OSPF

description:
OSPFv2

base identity: INSTALL_PROTOCOL_TYPE

OSPF3

description:
OSPFv3

base identity: INSTALL_PROTOCOL_TYPE

STATIC

description:
Locally-installed static route

base identity: INSTALL_PROTOCOL_TYPE

DIRECTLY_CONNECTED

description:
A directly connected route

base identity: INSTALL_PROTOCOL_TYPE

LOCAL_AGGREGATE

description:
Locally defined aggregate route

base identity: INSTALL_PROTOCOL_TYPE

PIM

description:
Protocol Independent Multicast

base identity: INSTALL_PROTOCOL_TYPE

IGMP

description:
Internet Group Management Protocol

base identity: INSTALL_PROTOCOL_TYPE

GRIBI

description:
gRPC Routing Information Base Interface

base identity: INSTALL_PROTOCOL_TYPE

PCEP

description:
Path Computation Element Communication Protocol

base identity: INSTALL_PROTOCOL_TYPE

LOCAL

description:
A local route. Local routes define a route for the one specific IP address configured on the router interface. They are created in association with directly connected routes. Local routes must end with a /32 in the case of ipv4 or /128 for ipv6. For example, when configuring an interface with the ip address 10.244.136.79/31 the derived DIRECTLY_CONNECTED route is 10.244.136.78/31 and the derived LOCAL route is 10.244.136.79/32.

base identity: INSTALL_PROTOCOL_TYPE

Data elements

openconfig-bgp-types

openconfig-version: 6.1.0

Description

This module contains general data definitions for use in BGP policy. It can be imported by modules that make use of BGP attributes

Imports

openconfig-types
openconfig-inet-types
openconfig-extensions

Defined types

bgp-session-direction

description:
Type to describe the direction of NLRI transmission

type: enumeration

  • INBOUND
    Refers to all NLRI received from the BGP peer
  • OUTBOUND
    Refers to all NLRI advertised to the BGP peer

bgp-well-known-community-type

description:
Type definition for well-known IETF community attribute values

type: identityref

  • base: BGP_WELL_KNOWN_STD_COMMUNITY

bgp-std-community-type

description:
Type definition for standard commmunity attributes represented as a integer value, or a string of the form N:M where N and M are integers between 0 and 65535.

type: union

    type: uint32

    type: string

    • pattern:
      (6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9]):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])

bgp-ext-community-type

description:
Type definition for extended community attributes. In the case that common communities are utilised, they are represented as a string of the form: - <2b AS>:<4b value> per RFC4360 section 3.1 - <4b IPv4>:<2b value> per RFC4360 section 3.2 - <4b AS>:<2b value> per RFC5668 section 2. - route-target:<2b AS>:<4b value> per RFC4360 section 4 - route-target:<4b IPv4>:<2b value> per RFC4360 section 4 - route-origin:<2b ASN>:<4b value> per RFC4360 section 5 - route-origin:<4b IPv4>:<2b value> per RFC4360 section 5 - color::<4b value> per draft-ietf-idr-segment-routing-te-policy section 3 - link-bandwidth:<2 byte asn>: per draft-ietf-idr-link-bandwidth-07

type: union

    type: string

    • pattern:
      (6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9]):(429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9])

    type: string

    • pattern:
      (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])

    type: string

    • pattern:
      (429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9]):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])

    type: string

    • pattern:
      route\-target:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9]):(429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9])

    type: string

    • pattern:
      route\-target:(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])

    type: string

    • pattern:
      route\-target:(429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9]):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])

    type: string

    • pattern:
      route\-origin:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9]):(429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9])

    type: string

    • pattern:
      route\-origin:(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])

    type: string

    • pattern:
      route\-origin:(429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9]):(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9])

    type: string

    • pattern:
      color:[0-1]{2}:(429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9])

    type: string

    • pattern:
      link-bandwidth:(6553[0-5]|655[0-2][0-9]|65[0-4][0-9]{2}|6[0-4][0-9]{3}|[1-5][0-9]{4}|[1-9][0-9]{1,3}|[0-9]):(429496729[0-5]|42949672[0-8][0-9]|4294967[0-1][0-9]{2}|429496[0-6][0-9]{3}|42949[0-5][0-9]{4}|4294[0-8][0-9]{5}|429[0-3][0-9]{6}|42[0-8][0-9]{7}|4[0-1][0-9]{8}|[1-3][0-9]{9}|[1-9][0-9]{1,8}|[0-9])(k|K|M|G)?

bgp-ext-community-recv-type

description:
A type definition utilised to define the extended community in a context where the system is receiving the extended community from an external source, such that the value may be unknown. In the case that the received extended community is unknown it is defined to be a 8-octet quantity formatted according to RFC4360: Type Field: 1 or 2 octets. Value Field: Remaining octets. The high-order octet of the type field is encoded such that bit 0 indicates whether the extended community type is IANA assigned; and bit 1 indicates whether the extended community is transitive. The remaining bits of the high-order type field must be interpreted to determine whether the low-order type field should be parsed, or whether the entire remainder of the extended community is a value.

type: union

    type: bgp-ext-community-type

    type: binary

bgp-community-regexp-type

description:
Type definition for communities specified as regular expression patterns. The regular expression must be a POSIX extended regular expression with some limitations which are commonly found in device implementations described in draft-ietf-idr-bgp-model.

type: oc-types:posix-eregexp

bgp-origin-attr-type

description:
Type definition for standard BGP origin attribute

type: enumeration

  • IGP
    Origin of the NLRI is internal
  • EGP
    Origin of the NLRI is EGP
  • INCOMPLETE
    Origin of the NLRI is neither IGP or EGP

peer-type

description:
Labels a peer or peer group as explicitly internal or external

type: enumeration

  • INTERNAL
    Internal (iBGP) peer
  • EXTERNAL
    External (eBGP) peer

remove-private-as-option

description:
Set of options for configuring how private AS path numbers are removed from advertisements

type: identityref

  • base: REMOVE_PRIVATE_AS_OPTION

rr-cluster-id-type

description:
Union type for route reflector cluster ids: option 1: 4-byte number option 2: IP address

type: union

    type: uint32

    type: oc-inet:ipv4-address

community-type

description:
type describing variations of community attributes: STANDARD: standard BGP community [rfc1997] EXTENDED: extended BGP community [rfc4360] LARGE: large BGP community [rfc8092]

type: enumeration

  • STANDARD
    Send standard communities
  • EXTENDED
    Send extended communities
  • LARGE
    Send large communities
  • BOTH
    Send both standard and extended communities. This value has been deprecated because the node is now a leaf-list.
  • NONE
    Do not send any community attribute. If this value is present then the other community-types must not be present.

as-path-segment-type

description:
Defines the types of BGP AS path segments.

type: enumeration

  • AS_SEQ
    Ordered set of autonomous systems that a route in the UPDATE message has traversed
  • AS_SET
    Unordered set of autonomous systems that a route in the UPDATE message has traversed
  • AS_CONFED_SEQUENCE
    Ordered set of Member Autonomous Systems in the local confederation that the UPDATE message has traversed
  • AS_CONFED_SET
    Unordered set of Member Autonomous Systems in the local confederation that the UPDATE message has traversed

Identities

base: BGP_CAPABILITY

description:
Base identity for a BGP capability

MPBGP

description:
Multi-protocol extensions to BGP

base identity: BGP_CAPABILITY

ROUTE_REFRESH

description:
The BGP route-refresh functionality

base identity: BGP_CAPABILITY

ASN32

description:
4-byte (32-bit) AS number functionality

base identity: BGP_CAPABILITY

GRACEFUL_RESTART

description:
Graceful restart functionality

base identity: BGP_CAPABILITY

ADD_PATHS

description:
BGP add-paths

base identity: BGP_CAPABILITY

EXTENDED_NEXTHOP_ENCODING

description:
BGP Extended Next Hop Encoding functionality

base identity: BGP_CAPABILITY

base: AFI_SAFI_TYPE

description:
Base identity type for AFI,SAFI tuples for BGP-4

IPV4_UNICAST

description:
IPv4 unicast (AFI,SAFI = 1,1)

base identity: AFI_SAFI_TYPE

IPV6_UNICAST

description:
IPv6 unicast (AFI,SAFI = 2,1)

base identity: AFI_SAFI_TYPE

IPV4_LABELED_UNICAST

description:
Labeled IPv4 unicast (AFI,SAFI = 1,4)

base identity: AFI_SAFI_TYPE

IPV6_LABELED_UNICAST

description:
Labeled IPv6 unicast (AFI,SAFI = 2,4)

base identity: AFI_SAFI_TYPE

L3VPN_IPV4_UNICAST

description:
Unicast IPv4 MPLS L3VPN (AFI,SAFI = 1,128)

base identity: AFI_SAFI_TYPE

L3VPN_IPV6_UNICAST

description:
Unicast IPv6 MPLS L3VPN (AFI,SAFI = 2,128)

base identity: AFI_SAFI_TYPE

L3VPN_IPV4_MULTICAST

description:
Multicast IPv4 MPLS L3VPN (AFI,SAFI = 1,129)

base identity: AFI_SAFI_TYPE

L3VPN_IPV6_MULTICAST

description:
Multicast IPv6 MPLS L3VPN (AFI,SAFI = 2,129)

base identity: AFI_SAFI_TYPE

L2VPN_VPLS

description:
BGP-signalled VPLS (AFI,SAFI = 25,65)

base identity: AFI_SAFI_TYPE

L2VPN_EVPN

description:
BGP MPLS Based Ethernet VPN (AFI,SAFI = 25,70)

base identity: AFI_SAFI_TYPE

SRTE_POLICY_IPV4

description:
Segment Routing Traffic Engineering (SRTE) Policy for IPv4 (AFI,SAFI = 1,73)

base identity: AFI_SAFI_TYPE

SRTE_POLICY_IPV6

description:
Segment Routing Traffic Engineering (SRTE) Policy for IPv6 (AFI,SAFI = 2,73)

base identity: AFI_SAFI_TYPE

IPV4_FLOWSPEC

description:
IPv4 dissemination of flow specification rules (AFI,SAFI = 1,133)

base identity: AFI_SAFI_TYPE

VPNV4_FLOWSPEC

description:
IPv4 dissemination of flow specification rules (AFI,SAFI = 1,134)

base identity: AFI_SAFI_TYPE

LINKSTATE

description:
BGP-LS (AFI,SAFI = 16388,71)

base identity: AFI_SAFI_TYPE

LINKSTATE_VPN

description:
BGP-LS-VPN (AFI,SAFI = 16388,72)

base identity: AFI_SAFI_TYPE

LINKSTATE_SPF

description:
BGP-LS SPF (AFI,SAFI = 16388,TBD)

base identity: AFI_SAFI_TYPE

base: BGP_WELL_KNOWN_STD_COMMUNITY

description:
Reserved communities within the standard community space defined by RFC1997. These communities must fall within the range 0x00000000 to 0xFFFFFFFF

NO_EXPORT

description:
Do not export NLRI received carrying this community outside the bounds of this autonomous system, or this confederation if the local autonomous system is a confederation member AS. This community has a value of 0xFFFFFF01.

base identity: BGP_WELL_KNOWN_STD_COMMUNITY

NO_ADVERTISE

description:
All NLRI received carrying this community must not be advertised to other BGP peers. This community has a value of 0xFFFFFF02.

base identity: BGP_WELL_KNOWN_STD_COMMUNITY

NO_EXPORT_SUBCONFED

description:
All NLRI received carrying this community must not be advertised to external BGP peers - including over confederation sub-AS boundaries. This community has a value of 0xFFFFFF03.

base identity: BGP_WELL_KNOWN_STD_COMMUNITY

NOPEER

description:
An autonomous system receiving NLRI tagged with this community is advised not to readvertise the NLRI to external bi-lateral peer autonomous systems. An AS may also filter received NLRI from bilateral peer sessions when they are tagged with this community value

base identity: BGP_WELL_KNOWN_STD_COMMUNITY

GRACEFUL_SHUTDOWN

description:
An autonomous system which supports the graceful shutdown receiver procedure receiving NLRI tagged with this community will set LOCAL_PREF to a low value for those NLRI. This community has a value of 0xFFFF0000.

base identity: BGP_WELL_KNOWN_STD_COMMUNITY

base: REMOVE_PRIVATE_AS_OPTION

description:
Base identity for options for removing private autonomous system numbers from the AS_PATH attribute

PRIVATE_AS_REMOVE_ALL

description:
Strip all private autonmous system numbers from the AS_PATH. This action is performed regardless of the other content of the AS_PATH attribute, and for all instances of private AS numbers within that attribute.

base identity: REMOVE_PRIVATE_AS_OPTION

PRIVATE_AS_REPLACE_ALL

description:
Replace all instances of private autonomous system numbers in the AS_PATH with the local BGP speaker's autonomous system number. This action is performed regardless of the other content of the AS_PATH attribute, and for all instances of private AS number within that attribute.

base identity: REMOVE_PRIVATE_AS_OPTION

base: BGP_ERROR_CODE

description:
Indicates the error type in a BGP NOTIFICATION message

MESSAGE_HEADER_ERROR

description:
Errors detected while processing the Message Header

base identity: BGP_ERROR_CODE

OPEN_MESSAGE_ERROR

description:
Errors detected while processing the OPEN message

base identity: BGP_ERROR_CODE

UPDATE_MESSAGE_ERROR

description:
Errors detected while processing the UPDATE message

base identity: BGP_ERROR_CODE

HOLD_TIMER_EXPIRED

description:
Indicates that the system did not receive successive KEEPALIVE, UPDATE, and/or NOTIFICATION messages within the period specified in the Hold Time field of the OPEN message

base identity: BGP_ERROR_CODE

FINITE_STATE_MACHINE_ERROR

description:
Error detected by the BGP Finite State Machine (e.g., receipt of an unexpected event)

base identity: BGP_ERROR_CODE

CEASE

description:
Sent by a BGP peer to close its BGP connection in absence of any fatal errors. If the BGP speaker terminates its connection with a neihbor because the number of prefixes received exceeds the configured upper bound, the speaker must send the neighbor a NOTIFICATION message with the Cease error code.

base identity: BGP_ERROR_CODE

ROUTE_REFRESH_MESSAGE_ERROR

description:
The length, excluding the fixed-size message header, of the received ROUTE-REFRESH message with Message Subtype 1 and 2 is not 4. Applicable only when a BGP speaker has received the 'Enhanced Route Refresh Capability' from a peer

base identity: BGP_ERROR_CODE

base: BGP_ERROR_SUBCODE

description:
Provides more specific information about the nature of the error reported in a NOTIFICATION message. Each Error Code may have one or more Error Subcodes associated with it.

UNSPECIFIC

description:
The error subcode field is unspecific when the NOTIFICATION message does not include any specific error subcode (i.e.., value 0).

base identity: BGP_ERROR_SUBCODE

MESSAGE_HEADER_SUBCODE

description:
Error subcode definitions for Message Header error notifications

base identity: BGP_ERROR_SUBCODE

OPEN_MESSAGE_SUBCODE

description:
Error subcode definitions for OPEN message error notifications

base identity: BGP_ERROR_SUBCODE

UPDATE_MESSAGE_SUBCODE

description:
Error subcode definitions for UPDATE message error notifications

base identity: BGP_ERROR_SUBCODE

FINITE_STATE_MACHINE_SUBCODE

description:
Error subcode definitions for BGP finite state machine errors.

base identity: BGP_ERROR_SUBCODE

CEASE_SUBCODE

description:
Error subcode definitions for Cease notification messages

base identity: BGP_ERROR_SUBCODE

ROUTE_REFRESH_SUBCODE

description:
Error subcode definitions for the ROUTE-REFRESH message error

base identity: BGP_ERROR_SUBCODE

Data elements

openconfig-isis-types

openconfig-version: 0.6.0

Description

This module contains general data definitions for use in ISIS YANG model.

Imports

openconfig-extensions

Defined types

level-type

description:
This type defines ISIS level types

type: enumeration

  • LEVEL_1
    This enum describes ISIS level 1
  • LEVEL_2
    This enum describes ISIS level 2
  • LEVEL_1_2
    This enum describes ISIS level 1-2

level-number

description:
This type defines ISIS level.

type: uint8

  • range: 1..2

adaptive-timer-type

description:
This type defines ISIS adaptive timer types

type: enumeration

  • LINEAR
    This enum describes linear algorithm timer
  • EXPONENTIAL
    This enum describes exponential algorithm timer

hello-padding-type

description:
This type defines ISIS hello padding type

type: enumeration

  • STRICT
    This enum describes strict padding
  • LOOSE
    This enum describes loose padding
  • ADAPTIVE
    This enum describes adaptive padding
  • DISABLE
    This enum disables padding

circuit-type

description:
This type defines ISIS interface types

type: enumeration

  • POINT_TO_POINT
    This enum describes a point-to-point interface
  • BROADCAST
    This enum describes a broadcast interface

metric-type

description:
This type defines ISIS metric type

type: enumeration

  • INTERNAL
    This enum describes internal route type
  • EXTERNAL
    This enum describes external route type

wide-metric

description:
This type defines ISIS wide metric.

type: uint32

  • range: 1..16777215

narrow-metric

description:
This type defines ISIS narrow metric.

type: uint8

  • range: 1..63

metric-style

description:
This type defines ISIS metric styles

type: enumeration

  • NARROW_METRIC
    This enum describes narrow metric style
  • WIDE_METRIC
    This enum describes wide metric style

isis-interface-adj-state

description:
This type defines the state of the interface.

type: enumeration

  • UP
    This state describes that adjacency is established.
  • DOWN
    This state describes that adjacency is NOT established.
  • INIT
    This state describes that adjacency is establishing.
  • FAILED
    This state describes that adjacency is failed.

net

description:
This type defines OSI NET address. A NET should should be in the form xx.yyyy.yyyy.yyyy.00 with up to 9 sets of yyyy.

type: string

  • pattern:
    [a-fA-F0-9]{2}(\.[a-fA-F0-9]{4}){3,9}\.[a-fA-F0-9]{2}

area-address

description:
This type defines the ISIS area address.

type: string

  • pattern:
    [0-9A-Fa-f]{2}(\.[0-9A-Fa-f]{4}){0,3}

system-id

description:
This type defines ISIS system id using pattern, system id looks like : 0143.0438.AeF0

type: string

  • pattern:
    [0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}

extended-circuit-id

description:
This type defines interface circuit ID.

type: uint32

lsp-id

description:
This type defines ISIS LSP ID. ISIS LSP ID type should be in the form of xxxx.xxxx.xxxx.xx-xx

type: string

  • pattern:
    [0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9][0-9]-[0-9][0-9]

snpa

description:
This type defines Subnetwork Point of Attachment format.

type: string

Identities

base: OVERLOAD_RESET_TRIGGER_TYPE

description:
Base identify type for triggers that reset Overload Bit

WAIT_FOR_BGP

description:
Base identity type for resetting Overload Bit when BGP has converged.

base identity: OVERLOAD_RESET_TRIGGER_TYPE

WAIT_FOR_SYSTEM

description:
Base identity type for resetting Overload Bit when system resources have been restored.

base identity: OVERLOAD_RESET_TRIGGER_TYPE

base: MT_TYPE

description:
Base identify type for multi-topology

base: SAFI_TYPE

description:
Base identify type for SAFI

UNICAST

description:
Base identify type for IPv4 Unicast address family

base identity: SAFI_TYPE

MULTICAST

description:
Base identify type for IPv6 multicast address family

base identity: SAFI_TYPE

base: AFI_TYPE

description:
Base identify type for AFI

IPV4

description:
Base identify type for IPv4 address family

base identity: AFI_TYPE

IPV6

description:
Base identify type for IPv6 address family

base identity: AFI_TYPE

base: AFI_SAFI_TYPE

description:
Base identify type for AFI/SAFI

IPV4_UNICAST

description:
Base identify type for IPv4 Unicast address family

base identity: AFI_SAFI_TYPE

IPV6_MULTICAST

description:
Base identify type for IPv6 multicast address family

base identity: AFI_SAFI_TYPE

IPV4_MULTICAST

description:
Base identify type for IPv4 multicast address family

base identity: AFI_SAFI_TYPE

IPV6_UNICAST

description:
Base identify type for IPv6 unicast address family

base identity: AFI_SAFI_TYPE

base: AUTH_MODE

description:
Base identify to define the authentication mode

TEXT

description:
Simple Text Authentication

base identity: AUTH_MODE

MD5

description:
HMAC-MD5 Authentication

base identity: AUTH_MODE

Data elements

openconfig-ospf-types

openconfig-version: 0.1.3

Description

Type definitions for OSPF

Imports

ietf-yang-types
openconfig-extensions

Defined types

ospf-area-identifier

description:
An identifier for an area with OSPF version 2 or 3. This value is expressed as either a dotted-quad, or a unsigned 32-bit number

type: union

    type: uint32

    type: yang:dotted-quad

ospf-metric

description:
A common type that can be utilised to express an OSPF metric

type: uint16

sr-sid-type

description:
A common type used to express the type of segment identifier that is used in LSDB entries relating to segment routing

type: enumeration

  • LABEL
    When the length of the SR/Label Sub-TLV is specified to be 3, then the right-most 20-bits represent a label value within the SR/Label Sub-TLV. When this leaf is set to a value of Label the first-entry leaf should be interpreted to be an MPLS label.
  • SID
    When the length of the SR/Label Sub-TLV is specified to be 4, then the value specified in the first-entry leaf should be specified to be a segment identifier.

Identities

base: OSPF_LSA_TYPE

description:
Base identity for an OSPF LSA type. This identity is intended to be used across both OSPFv2 and OSPFv3. Identity values that correspond to only one OSPF version are marked as such.

ROUTER_LSA

description:
Type 1 - ROUTER_LSA. An LSA originated by each router within the area describing the state and cost of the router's links in the area.

base identity: OSPF_LSA_TYPE

NETWORK_LSA

description:
Type 2 - NETWORK_LSA. An LSA originated for each broadcast and non-broadcast multiple access (NBMA) in the area. This LSA is originated by the designated router.

base identity: OSPF_LSA_TYPE

SUMMARY_IP_NETWORK_LSA

description:
Type 3 - SUMMARY_IP_NETWORK_LSA. An LSA originated by area border routers describing inter-area destinations. This LSA type is used when the destination is an IP network

base identity: OSPF_LSA_TYPE

SUMMARY_ASBR_LSA

description:
Type 4 - SUMMARY_ASBR_LSA. An LSA originated by an area border router describing inter-area destinations. This LSA type is used when the destination is an AS boundary router.

base identity: OSPF_LSA_TYPE

AS_EXTERNAL_LSA

description:
Type 5 - AS_EXTERNAL_LSA. This LSA type is used to describe destinations external to the autonomous system, and is originated by an AS boundary router (ASBR).

base identity: OSPF_LSA_TYPE

NSSA_AS_EXTERNAL_LSA

description:
Type 7 - NSSA_AS_EXTERNAL_LSA. This LSA type is used by systems within a not-so-stubby-area (NSSA) to inject external prefixes into the LSDB. They are translated to Type 5 LSAs at an ABR device.

base identity: OSPF_LSA_TYPE

description:
Type 9 - OSPFV2_LINK_SCOPE_OPAQUE_LSA. This LSA type is used in OSPFv2 to distribute arbitrary information via the OSPF protocol. The contents is specific to the application defining the Opaque Type specified within the LSDB. LSAs with Type 9 have a scope of the link that they are being transmitted on (and the associated network or subnetwork).

base identity: OSPF_LSA_TYPE

OSPFV2_AREA_SCOPE_OPAQUE_LSA

description:
Type 10 - OSPFV2_AREA_SCOPE_OPAQUE_LSA. This LSA type is used in OSPFv2 to distribute arbitrary information via the OSPF protocol. The contents is specific to the application defining the Opaque Type specified within the LSDB. LSAs with Type 10 have a scope of the area that they are transmitted within.

base identity: OSPF_LSA_TYPE

OSPFV2_AS_SCOPE_OPAQUE_LSA

description:
Type 11 - OSPFV2_AS_SCOPE_OPAQUE_LSA. This LSA type is used in OSPFv2 to distribute arbitrary information via the OSPF protocol. The contents is specific to the application defining the Opaque Type specified within the LSDB. LSAs with Type 11 have a scope of the autonomous system that they are transmitted within.

base identity: OSPF_LSA_TYPE

base: ROUTER_LSA_TYPES

description:
Sub-types of the router LSA

ROUTER_LSA_P2P

description:
The LSA represents a point-to-point connection to another router

base identity: ROUTER_LSA_TYPES

ROUTER_LSA_TRANSIT_NETWORK

description:
The LSA represents a connection to a transit network

base identity: ROUTER_LSA_TYPES

ROUTER_LSA_STUB_NETWORK

description:
The LSA represents a connection to a stub network

base identity: ROUTER_LSA_TYPES

description:
The LSA represents a virtual link connection

base identity: ROUTER_LSA_TYPES

base: OSPF_NEIGHBOR_STATE

description:
The state of an adjacency between the local system and a remote device

DOWN

description:
The initial state of a neighbor, indicating that no recent information has been received from the neighbor.

base identity: OSPF_NEIGHBOR_STATE

ATTEMPT

description:
Utilised for neighbors that are attached to NBMA networks, it indicates that no information has been recently received from the neighbor but that Hello packets should be directly sent to that neighbor.

base identity: OSPF_NEIGHBOR_STATE

INIT

description:
Indicates that a Hello packet has been received from the neighbor but bi-directional communication has not yet been established. That is to say that the local Router ID does not appear in the list of neighbors in the remote system's Hello packet.

base identity: OSPF_NEIGHBOR_STATE

TWO_WAY

description:
Communication between the local and remote system is bi-directional such that the local system's Router ID is listed in the received remote system's Hello packet.

base identity: OSPF_NEIGHBOR_STATE

EXSTART

description:
An adjacency with the remote system is being formed. The local system is currently transmitting empty database description packets in order to establish the master/slave relationship for the adjacency.

base identity: OSPF_NEIGHBOR_STATE

EXCHANGE

description:
The local and remote systems are currently exchanging database description packets in order to determine which elements of their local LSDBs are out of date.

base identity: OSPF_NEIGHBOR_STATE

LOADING

description:
The local system is sending Link State Request packets to the remote system in order to receive the more recently LSAs that were discovered during the Exchange phase of the procedure establishing the adjacency.

base identity: OSPF_NEIGHBOR_STATE

FULL

description:
The neighboring routers are fully adjacent such that both LSDBs are synchronized. The adjacency will appear in Router and Network LSAs

base identity: OSPF_NEIGHBOR_STATE

base: OSPF_NETWORK_TYPE

description:
Types of network that OSPF should consider attached to an interface

POINT_TO_POINT_NETWORK

description:
A interface that connects two routers.

base identity: OSPF_NETWORK_TYPE

BROADCAST_NETWORK

description:
An interface that supports >2 attached routers which has the ability to address all connected systems via a single (broadcast) address.

base identity: OSPF_NETWORK_TYPE

NON_BROADCAST_NETWORK

description:
An interface that supports >2 attached rotuers which does not have the ability to address all connected systems with a broadcast address.

base identity: OSPF_NETWORK_TYPE

base: OSPF_OPAQUE_LSA_TYPE

description:
This identity is the base used for opaque LSA types. The values that extend this base are those that are described in the IANA OSPF Opaque Link-State Advertisements (LSA) Option Types registry

TRAFFIC_ENGINEERING

description:
The Traffic Engineering LSA. This type is used only with area-scope Opaque LSAs - and is used to describe routers, point-to-point links and connections to multi-access networks for traffic engineering purposes.

base identity: OSPF_OPAQUE_LSA_TYPE

GRACE_LSA

description:
Grace LSAs are announced by a system undergoing graceful-restart. A system that is attempting an OSPF graceful restart announces Grace-LSAs with a specified grace period, indicating the intention to have completed an restart within the specified period.

base identity: OSPF_OPAQUE_LSA_TYPE

ROUTER_INFORMATION

description:
The Router Information LSA is used by an OSPFv2 system to announce optional capabilities of the local system, over and above those that are included within the OSPF hello message field. The flooding scope of the LSA can be link-, area-, or AS-wide (i.e., the LSA type can be 9, 10 or 11).

base identity: OSPF_OPAQUE_LSA_TYPE

OSPFV2_EXTENDED_PREFIX

description:
The Extended Prefix LSA is used in OSPFv2 to carry a set of attributes that are to be associated with a prefix that is advertised in OSPF. The attributes are carried as one or more TLV tuples. The flooding scope of the LSA can be link-, area-, or AS-wide as specified by the advertising system. The flooding scope of the LSA may exceed the scope of the corresponding prefix.

base identity: OSPF_OPAQUE_LSA_TYPE

description:
The Extended Link LSA is used in OSPFv2 to carry a set of attributes that are to be associated with a link that is advertised in OSPF. The link attributes are carried as one or more TLV tuples. The flooding scope of the link LSA is area-local - i.e., it is carried in a Type 10 opaque LSA.

base identity: OSPF_OPAQUE_LSA_TYPE

base: OSPF_TE_LSA_TLV_TYPE

description:
This identity is the base used for the type field of TLVs that are included within the Traffic Engineering Opaque LSA.

TE_ROUTER_ADDRESS

description:
A stable IP address of the advertising router that is always reachable if the node has connectivity.

base identity: OSPF_TE_LSA_TLV_TYPE

description:
A single link within a traffic engineering topology. A set of sub-TLVs are carried within this attribute to indicate traffic engineering characteristics of the link.

base identity: OSPF_TE_LSA_TLV_TYPE

TE_ROUTER_IPV6_ADDRESS

description:
A stable IPv6 address of the advertising router that is always reachable if the node has connectivity. This TLV is used only with OSPFv3

base identity: OSPF_TE_LSA_TLV_TYPE

description:
Attributes associated with the local link by the system.

base identity: OSPF_TE_LSA_TLV_TYPE

TE_NODE_ATTRIBUTE

description:
Attributes associted with the local system

base identity: OSPF_TE_LSA_TLV_TYPE

TE_OPTICAL_NODE_PROPERTY

description:
Attributes associated with the local optical node. A set of sub-TLVs are carried within this TLV which are used within the GMPLS control plane when using OSPF

base identity: OSPF_TE_LSA_TLV_TYPE

description:
This identity is the based used for the type field for sub-TLVs of the Link TLV of the OSPF Traffic Engineering Opaque LSA

description:
The OSPF-TE Link Type sub-TLV appears exactly once per OSPF-TE Link and describes the type of the link

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE Link ID sub-TLV appears exactly once per OSPF-TE link and identifies the remote end of the link.

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE Local IP specifies a list of the interface addresses of the local system corresponding to the traffic engineering link.

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE Remote IP specifies a list of IP addresses of the remote neighbors associated with the traffic engineering link.

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE Metric specifies the link metric for traffic engineering purposes

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE Maximum Bandwidth specifies the maximum bandwidth of the link that it is associated with.

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE Maximum Reservable Bandwidth specifies the maximum bandwidth that may be reserved on the link in bytes per second

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE unreserved bandwidth indicates the amount of bandwidth at each priority level that is currently not reserved

base identity: OSPF_TE_LINK_TLV_TYPE

description:
The OSPF-TE administrative group indicates the administrative group that the is assigned to the interface

base identity: OSPF_TE_LINK_TLV_TYPE

base: TE_NODE_ATTRIBUTE_TLV_TYPE

description:
This identity forms the base for sub-TLVs of the Node Attribute TLV of the Traffic Engineering LSA

NODE_IPV4_LOCAL_ADDRESS

description:
The Node Attribute Sub-TLV contains a list of the IPv4 addresses of the local system

base identity: TE_NODE_ATTRIBUTE_TLV_TYPE

NODE_IPV6_LOCAL_ADDRESS

description:
The Node Attribute Sub-TLV contains a list of the IPv6 addresses of the local system

base identity: TE_NODE_ATTRIBUTE_TLV_TYPE

base: GRACE_LSA_TLV_TYPES

description:
This identity is used as the base for TLVs within the Grace LSA

GRACE_PERIOD

description:
This sub-TLV describes the period for which adjacencies should be maintained with the restarting system

base identity: GRACE_LSA_TLV_TYPES

GRACE_RESTART_REASON

description:
This sub-TLV describes the reason for the OSPF restart of the system that is restarting

base identity: GRACE_LSA_TLV_TYPES

GRACE_IP_INTERFACE_ADDRESS

description:
This sub-TLV specifies the restarting system's IP address on the interface via which it is advertising the Grace LSA

base identity: GRACE_LSA_TLV_TYPES

base: RI_LSA_TLV_TYPES

description:
This identity is used as the base for the TLVs within the Router Information LSA

RI_INFORMATIONAL_CAPABILITIES

description:
Informational capabilities of the advertising system

base identity: RI_LSA_TLV_TYPES

RI_FUNCTIONAL_CAPABILITIES

description:
Functional capabilities of the advertising system

base identity: RI_LSA_TLV_TYPES

RI_NODE_ADMIN_TAG

description:
Operator-defined administrative tags associated with the advertising system

base identity: RI_LSA_TLV_TYPES

RI_SR_SID_LABEL_RANGE

description:
SID or Label ranges for use with segment routing when forwarding to the advertising system

base identity: RI_LSA_TLV_TYPES

RI_SR_ALGORITHM

description:
The algorithms that are supported for segment routing by the advertising system

base identity: RI_LSA_TLV_TYPES

base: SR_ALGORITHM

description:
This identity is used as a base for the algorithms that can be supported for segment routing and are advertised by a system in the RI LSA

SPF

description:
The standard shortest path algorithm based on link metric, as used by the OSPF protocol

base identity: SR_ALGORITHM

STRICT_SPF

description:
The standard shortest path algorithm based on link metric, with the requirement that all nodes along the path honor the SPF decision. That is to say that the SPF decision cannot be altered by local policy at the node

base identity: SR_ALGORITHM

base: OSPF_RI_SR_SID_LABEL_TLV_TYPES

description:
This identity is used as a base for the sub-TLVs of the Segment Routing SID/Label Range TLV

SR_SID_LABEL_TLV

description:
A range of SID/Label values used by the local system

base identity: OSPF_RI_SR_SID_LABEL_TLV_TYPES

description:
OSPFv2 Router Link Types as per the IANA registry defined in RFC2740

description:
The link is a point-to-point connection to another router

base identity: OSPFV2_ROUTER_LINK_TYPE

description:
The link is a connection to a transit network

base identity: OSPFV2_ROUTER_LINK_TYPE

description:
The link is a connection to a stub network

base identity: OSPFV2_ROUTER_LINK_TYPE

description:
The link is a virtual connection to another router

base identity: OSPFV2_ROUTER_LINK_TYPE

base: OSPFV2_EXTENDED_PREFIX_SUBTLV_TYPE

description:
Sub-TLVs of the OSPFv2 Extended Prefix LSA as defined by RFC7684

EXTENDED_PREFIX_RANGE

description:
The attributes being described relate to a range of prefixes

base identity: OSPFV2_EXTENDED_PREFIX_SUBTLV_TYPE

PREFIX_SID

description:
The TLV describes a Segment Routing Prefix Segment Identifier associated with a prefix

base identity: OSPFV2_EXTENDED_PREFIX_SUBTLV_TYPE

SID_LABEL_BINDING

description:
The TLV describes a binding of a SID to a path to the prefix, which may have associated path characteristics

base identity: OSPFV2_EXTENDED_PREFIX_SUBTLV_TYPE

base: OSPFV2_EXTENDED_PREFIX_SID_LABEL_BINDING_SUBTLV_TYPE

description:
Sub-TLV types carried in the SID/Label Binding Sub-TLV of the Extended Prefix Sub-TLV

SID_MPLS_LABEL_BINDING

description:
This sub-TLV indicates a binding between an SR SID and an MPLS label and must be present in the sub-TLV

base identity: OSPFV2_EXTENDED_PREFIX_SID_LABEL_BINDING_SUBTLV_TYPE

ERO_METRIC

description:
This sub-TLV indicates the cost of the ERO path being advertised in the SID/Label TLV

base identity: OSPFV2_EXTENDED_PREFIX_SID_LABEL_BINDING_SUBTLV_TYPE

ERO_PATH

description:
This sub-TLV indicates the path associated with an ERO being advertised in the SID/Label TLV

base identity: OSPFV2_EXTENDED_PREFIX_SID_LABEL_BINDING_SUBTLV_TYPE

base: OSPFV2_EXTPREFIX_BINDING_ERO_PATH_SEGMENT_TYPE

description:
The types of segment included within an ERO Path described within the SID/Label binding sub-TLV

IPV4_SEGMENT

description:
The segment is specified as an IPv4 address

base identity: OSPFV2_EXTPREFIX_BINDING_ERO_PATH_SEGMENT_TYPE

UNNUMBERED_INTERFACE_SEGMENT

description:
The segment is specified as an unnumbered interface of a remote system

base identity: OSPFV2_EXTPREFIX_BINDING_ERO_PATH_SEGMENT_TYPE

description:
Sub-TLVs of the Extended Link TLV for OSPFv2

ADJACENCY_SID

description:
The extended link sub-TLV indicates an Adjacency SID

base identity: OSPFV2_EXTENDED_LINK_SUBTLV_TYPE

base: MAX_METRIC_TRIGGER

description:
Triggers which cause the maximum metric to be set for entities advertised in OSPF

MAX_METRIC_ON_SYSTEM_BOOT

description:
Set the maximum metric when the system boots.

base identity: MAX_METRIC_TRIGGER

base: MAX_METRIC_INCLUDE

description:
Entities that may optionally be included when advertising the maximum metric.

MAX_METRIC_INCLUDE_STUB

description:
Include stub networks when advertising the maximum metric.

base identity: MAX_METRIC_INCLUDE

MAX_METRIC_INCLUDE_TYPE2_EXTERNAL

description:
Include OSPF Type 2 external routes when advertising the maximum metric.

base identity: MAX_METRIC_INCLUDE

Data elements

openconfig-routing-policy

openconfig-version: 3.4.2

Description

This module describes a YANG model for routing policy configuration. It is a limited subset of all of the policy configuration parameters available in the variety of vendor implementations, but supports widely used constructs for managing how routes are imported, exported, and modified across different routing protocols. This module is intended to be used in conjunction with routing protocol configuration models (e.g., BGP) defined in other modules.

Route policy expression:

Policies are expressed as a set of top-level policy definitions, each of which consists of a sequence of policy statements. Policy statements consist of simple condition-action tuples. Conditions may include mutiple match or comparison operations, and similarly actions may be multitude of changes to route attributes or a final disposition of accepting or rejecting the route.

Route policy evaluation:

Policy definitions are referenced in routing protocol configurations using import and export configuration statements. The arguments are members of an ordered list of named policy definitions which comprise a policy chain, and optionally, an explicit default policy action (i.e., reject or accept).

Evaluation of each policy definition proceeds by evaluating its corresponding individual policy statements in order. When a condition statement in a policy statement is satisfied, the corresponding action statement is executed. If the action statement has a final disposition configured as policy result, either accept-route or reject-route, evaluation of the current policy definition stops, and no further policy statements are evaluated. In case there is a policy chain, no further policy definitions in the chain are evaluated.

If the action statement has the NEXT_STATEMENT policy result, all the defined actions are executed and policy evaluation proceeds to the next statement. The NEXT_STATEMENT is the default policy result action.

If the condition is not satisfied, then evaluation proceeds to the next policy statement. If none of the policy statement conditions are satisfied, then evaluation of the current policy definition stops, and the next policy definition in the chain is evaluated. When the end of the policy chain is reached, the default route disposition action is performed (i.e., reject-route unless an an alternate default action is specified for the chain).

Policy 'subroutines' (or nested policies) are supported by allowing policy statement conditions to reference another policy definition which applies conditions and actions from the referenced policy before returning to the calling policy statement and resuming evaluation. If the called policy results in an accept-route (either explicit or by default), then the subroutine returns an effective true value to the calling policy. Similarly, a reject-route action returns false. If the subroutine returns true, the calling policy continues to evaluate the remaining conditions (using a modified route if the subroutine performed any changes to the route).

If a routing protocol is defined and the related apply-policy/default-(import|export)-policy leaf is not set, the default value for the default-(import|export)-policy leaf must be applied. See RFC6020 7.6.1 which applies to this model.

Imports

openconfig-inet-types
openconfig-interfaces
openconfig-policy-types
openconfig-extensions

Defined types

default-policy-type

description:
Type used to specify route disposition in a policy chain

type: enumeration

  • ACCEPT_ROUTE
    Default policy to accept the route
  • REJECT_ROUTE
    Default policy to reject the route

policy-result-type

description:
Type used to specify route disposition in a policy chain

type: enumeration

  • ACCEPT_ROUTE
    Policy accepts the route and evaluation of the current policy definition stops.
  • REJECT_ROUTE
    Policy rejects the route and evaluation of the current policy definition stops.
  • NEXT_STATEMENT
    Any modifications of the route are preserved and the evaluation of the policy will continue to the next statement.

default: NEXT_STATEMENT

Data elements

/
routing-policy

description:
Top-level container for all routing policy configuration

nodetype: container (rw)

/routing-policy/
defined-sets

description:
Predefined sets of attributes used in policy match statements

nodetype: container (rw)

/routing-policy/defined-sets/
prefix-sets

description:
Enclosing container

nodetype: container (rw)

/routing-policy/defined-sets/prefix-sets/
prefix-set

description:
List of the defined prefix sets

nodetype: list (rw)

list keys: [name]

/routing-policy/defined-sets/prefix-sets/prefix-set/
name

description:
Reference to prefix name list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/routing-policy/defined-sets/prefix-sets/prefix-set/
config

description:
Configuration data for prefix sets

nodetype: container (rw)

/routing-policy/defined-sets/prefix-sets/prefix-set/config/
name

description:
name / label of the prefix set -- this is used to reference the set in match conditions

nodetype: leaf (rw)

type: string

/routing-policy/defined-sets/prefix-sets/prefix-set/config/
mode

description:
Indicates the mode of the prefix set, in terms of which address families (IPv4, IPv6, or both) are present. The mode provides a hint, but the device must validate that all prefixes are of the indicated type, and is expected to reject the configuration if there is a discrepancy. The MIXED mode may not be supported on devices that require prefix sets to be of only one address family.

nodetype: leaf (rw)

type: enumeration

  • IPV4
    Prefix set contains IPv4 prefixes only
  • IPV6
    Prefix set contains IPv6 prefixes only
  • MIXED
    Prefix set contains mixed IPv4 and IPv6 prefixes

/routing-policy/defined-sets/prefix-sets/prefix-set/
state

description:
Operational state data

nodetype: container (ro)

/routing-policy/defined-sets/prefix-sets/prefix-set/state/
name

description:
name / label of the prefix set -- this is used to reference the set in match conditions

nodetype: leaf (ro)

type: string

/routing-policy/defined-sets/prefix-sets/prefix-set/state/
mode

description:
Indicates the mode of the prefix set, in terms of which address families (IPv4, IPv6, or both) are present. The mode provides a hint, but the device must validate that all prefixes are of the indicated type, and is expected to reject the configuration if there is a discrepancy. The MIXED mode may not be supported on devices that require prefix sets to be of only one address family.

nodetype: leaf (ro)

type: enumeration

  • IPV4
    Prefix set contains IPv4 prefixes only
  • IPV6
    Prefix set contains IPv6 prefixes only
  • MIXED
    Prefix set contains mixed IPv4 and IPv6 prefixes

/routing-policy/defined-sets/prefix-sets/prefix-set/
prefixes

description:
Enclosing container for the list of prefixes in a policy prefix list

nodetype: container (rw)

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/
prefix

description:
List of prefixes in the prefix set

nodetype: list (rw)

list keys: [ip-prefix] [masklength-range]

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/
ip-prefix

description:
Reference to the ip-prefix list key.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ip-prefix

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/
masklength-range

description:
Reference to the masklength-range list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/masklength-range

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/
config

description:
Configuration data for prefix definition

nodetype: container (rw)

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/
ip-prefix

description:
The prefix member in CIDR notation -- while the prefix may be either IPv4 or IPv6, most implementations require all members of the prefix set to be the same address family. Mixing address types in the same prefix set is likely to cause an error.

nodetype: leaf (rw)

type: oc-inet:ip-prefix

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/config/
masklength-range

description:
Defines a range for the masklength, or 'exact' if the prefix has an exact length. Example: 10.3.192.0/21 through 10.3.192.0/24 would be expressed as prefix: 10.3.192.0/21, masklength-range: 21..24. Example: 10.3.192.0/21 would be expressed as prefix: 10.3.192.0/21, masklength-range: exact

nodetype: leaf (rw)

type: string

  • pattern:
    (([0-9]+\.\.[0-9]+)|exact)

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/
state

description:
Operational state data for prefix definition

nodetype: container (ro)

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/
ip-prefix

description:
The prefix member in CIDR notation -- while the prefix may be either IPv4 or IPv6, most implementations require all members of the prefix set to be the same address family. Mixing address types in the same prefix set is likely to cause an error.

nodetype: leaf (ro)

type: oc-inet:ip-prefix

/routing-policy/defined-sets/prefix-sets/prefix-set/prefixes/prefix/state/
masklength-range

description:
Defines a range for the masklength, or 'exact' if the prefix has an exact length. Example: 10.3.192.0/21 through 10.3.192.0/24 would be expressed as prefix: 10.3.192.0/21, masklength-range: 21..24. Example: 10.3.192.0/21 would be expressed as prefix: 10.3.192.0/21, masklength-range: exact

nodetype: leaf (ro)

type: string

  • pattern:
    (([0-9]+\.\.[0-9]+)|exact)

/routing-policy/defined-sets/
neighbor-sets

description:
Enclosing container for the list of neighbor set definitions

nodetype: container (rw)

/routing-policy/defined-sets/neighbor-sets/
neighbor-set

description:
List of defined neighbor sets for use in policies.

nodetype: list (rw)

list keys: [name]

/routing-policy/defined-sets/neighbor-sets/neighbor-set/
name

description:
Reference to the neighbor set name list key.

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/routing-policy/defined-sets/neighbor-sets/neighbor-set/
config

description:
Configuration data for neighbor sets.

nodetype: container (rw)

/routing-policy/defined-sets/neighbor-sets/neighbor-set/config/
name

description:
name / label of the neighbor set -- this is used to reference the set in match conditions

nodetype: leaf (rw)

type: string

/routing-policy/defined-sets/neighbor-sets/neighbor-set/config/
address

description:
List of IP addresses in the neighbor set

nodetype: leaf-list (rw)

type: oc-inet:ip-address

/routing-policy/defined-sets/neighbor-sets/neighbor-set/
state

description:
Operational state data for neighbor sets.

nodetype: container (ro)

/routing-policy/defined-sets/neighbor-sets/neighbor-set/state/
name

description:
name / label of the neighbor set -- this is used to reference the set in match conditions

nodetype: leaf (ro)

type: string

/routing-policy/defined-sets/neighbor-sets/neighbor-set/state/
address

description:
List of IP addresses in the neighbor set

nodetype: leaf-list (ro)

type: oc-inet:ip-address

/routing-policy/defined-sets/
tag-sets

description:
Enclosing container for the list of tag sets.

nodetype: container (rw)

/routing-policy/defined-sets/tag-sets/
tag-set

description:
List of tag set definitions.

nodetype: list (rw)

list keys: [name]

/routing-policy/defined-sets/tag-sets/tag-set/
name

description:
Reference to the tag set name list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/routing-policy/defined-sets/tag-sets/tag-set/
config

description:
Configuration data for tag sets

nodetype: container (rw)

/routing-policy/defined-sets/tag-sets/tag-set/config/
name

description:
name / label of the tag set -- this is used to reference the set in match conditions

nodetype: leaf (rw)

type: string

/routing-policy/defined-sets/tag-sets/tag-set/config/
tag-value

description:
Value of the tag set member

nodetype: leaf-list (rw)

type: oc-pol-types:tag-type

/routing-policy/defined-sets/tag-sets/tag-set/
state

description:
Operational state data for tag sets

nodetype: container (ro)

/routing-policy/defined-sets/tag-sets/tag-set/state/
name

description:
name / label of the tag set -- this is used to reference the set in match conditions

nodetype: leaf (ro)

type: string

/routing-policy/defined-sets/tag-sets/tag-set/state/
tag-value

description:
Value of the tag set member

nodetype: leaf-list (ro)

type: oc-pol-types:tag-type

/routing-policy/defined-sets/
bgp-defined-sets

description:
BGP-related set definitions for policy match conditions

nodetype: container (rw)

/routing-policy/defined-sets/bgp-defined-sets/
community-sets

description:
Enclosing container for list of defined BGP community sets

nodetype: container (rw)

/routing-policy/defined-sets/bgp-defined-sets/community-sets/
community-set

description:
List of defined BGP community sets

nodetype: list (rw)

list keys: [community-set-name]

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/
community-set-name

description:
Reference to list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/community-set-name

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/
config

description:
Configuration data for BGP community sets

nodetype: container (rw)

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/
community-set-name

description:
name / label of the community set -- this is used to reference the set in match conditions

nodetype: leaf (rw)

type: string

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/
community-member

description:
Members of the community set. For an ADD operation these are the communities that will be added. The regexp type is not valid in this operation. For REMOVE or REPLACE operations then matching communities will be removed unless match-set-options is INVERT which will reverse this to mean that anything that does not match will be removed. For MATCH operations the posix-eregexp type should be evaluated against each community associated with a prefix one community at a time. Communities must be represented as strings in formats conforming to oc-bgp-types:bgp-std-community-type. For example: `1000:1000` for a standard community

nodetype: leaf-list (rw)

type: union

    type: oc-bgp-types:bgp-std-community-type

    type: oc-bgp-types:bgp-community-regexp-type

    type: oc-bgp-types:bgp-well-known-community-type

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-type

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/
state

description:
Operational state data for BGP community sets

nodetype: container (ro)

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/
community-set-name

description:
name / label of the community set -- this is used to reference the set in match conditions

nodetype: leaf (ro)

type: string

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/
community-member

description:
Members of the community set. For an ADD operation these are the communities that will be added. The regexp type is not valid in this operation. For REMOVE or REPLACE operations then matching communities will be removed unless match-set-options is INVERT which will reverse this to mean that anything that does not match will be removed. For MATCH operations the posix-eregexp type should be evaluated against each community associated with a prefix one community at a time. Communities must be represented as strings in formats conforming to oc-bgp-types:bgp-std-community-type. For example: `1000:1000` for a standard community

nodetype: leaf-list (ro)

type: union

    type: oc-bgp-types:bgp-std-community-type

    type: oc-bgp-types:bgp-community-regexp-type

    type: oc-bgp-types:bgp-well-known-community-type

/routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-type

/routing-policy/defined-sets/bgp-defined-sets/
ext-community-sets

description:
Enclosing container for list of extended BGP community sets

nodetype: container (rw)

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/
ext-community-set

description:
List of defined extended BGP community sets

nodetype: list (rw)

list keys: [ext-community-set-name]

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/
ext-community-set-name

description:
Reference to list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/ext-community-set-name

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/
config

description:
Configuration data for extended BGP community sets

nodetype: container (rw)

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/config/
ext-community-set-name

description:
name / label of the extended community set -- this is used to reference the set in match conditions

nodetype: leaf (rw)

type: string

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/config/
ext-community-member

description:
Members of the extended community set. For an ADD operation these are the communities that will be added; the regexp type is not valid in this operation. For REMOVE or REPLACE operations then matching communities will be removed unless match-set-options is INVERT which will reverse this to mean that anything that does not match will be removed. For MATCH operations the posix-eregexp type should be evaluated against each community associated with a prefix one community at a time. Communities must be represented as strings in formats conforming to oc-bgp-types:bgp-ext-community-type. For example: `route-origin:1000:1000` for the origin type extended community, and so on.

nodetype: leaf-list (rw)

type: union

    type: oc-bgp-types:bgp-ext-community-type

    type: oc-types:posix-eregexp

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-type

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/
state

description:
Operational state data for extended BGP community sets

nodetype: container (ro)

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/state/
ext-community-set-name

description:
name / label of the extended community set -- this is used to reference the set in match conditions

nodetype: leaf (ro)

type: string

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/state/
ext-community-member

description:
Members of the extended community set. For an ADD operation these are the communities that will be added; the regexp type is not valid in this operation. For REMOVE or REPLACE operations then matching communities will be removed unless match-set-options is INVERT which will reverse this to mean that anything that does not match will be removed. For MATCH operations the posix-eregexp type should be evaluated against each community associated with a prefix one community at a time. Communities must be represented as strings in formats conforming to oc-bgp-types:bgp-ext-community-type. For example: `route-origin:1000:1000` for the origin type extended community, and so on.

nodetype: leaf-list (ro)

type: union

    type: oc-bgp-types:bgp-ext-community-type

    type: oc-types:posix-eregexp

/routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-type

/routing-policy/defined-sets/bgp-defined-sets/
as-path-sets

description:
Enclosing container for list of define AS path sets

nodetype: container (rw)

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/
as-path-set

description:
List of defined AS path sets

nodetype: list (rw)

list keys: [as-path-set-name]

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/
as-path-set-name

description:
Reference to list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/as-path-set-name

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/
config

description:
Configuration data for AS path sets

nodetype: container (rw)

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/config/
as-path-set-name

description:
name of the AS path set -- this is used to reference the set in match conditions

nodetype: leaf (rw)

type: string

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/config/
as-path-set-member

description:
AS path expression -- list of ASes in the set

nodetype: leaf-list (rw)

type: string

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/
state

description:
Operational state data for AS path sets

nodetype: container (ro)

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/state/
as-path-set-name

description:
name of the AS path set -- this is used to reference the set in match conditions

nodetype: leaf (ro)

type: string

/routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/state/
as-path-set-member

description:
AS path expression -- list of ASes in the set

nodetype: leaf-list (ro)

type: string

/routing-policy/
policy-definitions

description:
Enclosing container for the list of top-level policy definitions

nodetype: container (rw)

/routing-policy/policy-definitions/
policy-definition

description:
List of top-level policy definitions, keyed by unique name. These policy definitions are expected to be referenced (by name) in policy chains specified in import or export configuration statements.

nodetype: list (rw)

list keys: [name]

/routing-policy/policy-definitions/policy-definition/
name

description:
Reference to the list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/routing-policy/policy-definitions/policy-definition/
config

description:
Configuration data for policy defintions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/config/
name

description:
Name of the top-level policy definition -- this name is used in references to the current policy

nodetype: leaf (rw)

type: string

/routing-policy/policy-definitions/policy-definition/
state

description:
Operational state data for policy definitions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/state/
name

description:
Name of the top-level policy definition -- this name is used in references to the current policy

nodetype: leaf (ro)

type: string

/routing-policy/policy-definitions/policy-definition/
statements

description:
Enclosing container for policy statements

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/
statement

description:
Policy statements group conditions and actions within a policy definition. They are evaluated in the order specified (see the description of policy evaluation at the top of this module.

nodetype: list (rw)

list keys: [name]

/routing-policy/policy-definitions/policy-definition/statements/statement/
name

description:
Reference to list key

nodetype: leaf (list key) (rw)

type: leafref

  • path reference: ../config/name

/routing-policy/policy-definitions/policy-definition/statements/statement/
config

description:
Configuration data for policy statements

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/config/
name

description:
name of the policy statement

nodetype: leaf (rw)

type: string

/routing-policy/policy-definitions/policy-definition/statements/statement/
state

description:
Operational state data for policy statements

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/state/
name

description:
name of the policy statement

nodetype: leaf (ro)

type: string

/routing-policy/policy-definitions/policy-definition/statements/statement/
conditions

description:
Condition statements for the current policy statement

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
config

description:
Configuration data for policy conditions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/config/
call-policy

description:
Applies the statements from the specified policy definition and then returns control the current policy statement. Note that the called policy may itself call other policies (subject to implementation limitations). This is intended to provide a policy 'subroutine' capability. The called policy should contain an explicit or a default route disposition that returns an effective true (accept-route) or false (reject-route), otherwise the behavior may be ambiguous and implementation dependent

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../policy-definitions/policy-definition/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/config/
install-protocol-eq

description:
Condition to check the protocol / method used to install the route into the local routing table

nodetype: leaf (rw)

type: identityref

  • base: oc-pol-types:INSTALL_PROTOCOL_TYPE

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
state

description:
Operational state data for policy conditions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/state/
call-policy

description:
Applies the statements from the specified policy definition and then returns control the current policy statement. Note that the called policy may itself call other policies (subject to implementation limitations). This is intended to provide a policy 'subroutine' capability. The called policy should contain an explicit or a default route disposition that returns an effective true (accept-route) or false (reject-route), otherwise the behavior may be ambiguous and implementation dependent

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../policy-definitions/policy-definition/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/state/
install-protocol-eq

description:
Condition to check the protocol / method used to install the route into the local routing table

nodetype: leaf (ro)

type: identityref

  • base: oc-pol-types:INSTALL_PROTOCOL_TYPE

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
match-interface

description:
Top-level container for interface match conditions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-interface/
config

description:
Configuration data for interface match conditions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-interface/config/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/interface/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-interface/config/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (rw)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-interface/
state

description:
Operational state data for interface match conditions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-interface/state/
interface

description:
Reference to a base interface. If a reference to a subinterface is required, this leaf must be specified to indicate the base interface.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/interface/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-interface/state/
subinterface

description:
Reference to a subinterface -- this requires the base interface to be specified using the interface leaf in this container. If only a reference to a base interface is requuired, this leaf should not be set.

nodetype: leaf (ro)

type: leafref

  • path reference: /interfaces/name=current()/../interface]/subinterfaces/subinterface/index

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
match-prefix-set

description:
Match a referenced prefix-set according to the logic defined in the match-set-options leaf

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/
config

description:
Configuration data for a prefix-set condition

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/
prefix-set

description:
References a defined prefix set

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../../defined-sets/prefix-sets/prefix-set/config/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation. This leaf only supports matching on ANY member of the set or inverting the match. Matching on ALL is not supported

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-restricted-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/
state

description:
Operational state data for a prefix-set condition

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/
prefix-set

description:
References a defined prefix set

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../defined-sets/prefix-sets/prefix-set/config/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-prefix-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation. This leaf only supports matching on ANY member of the set or inverting the match. Matching on ALL is not supported

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-restricted-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
match-neighbor-set

description:
Match a referenced neighbor set according to the logic defined in the match-set-options-leaf

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-neighbor-set/
config

description:
Configuration data

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-neighbor-set/config/
neighbor-set

description:
References a defined neighbor set

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../../defined-sets/neighbor-sets/neighbor-set/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-neighbor-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation. This leaf only supports matching on ANY member of the set or inverting the match. Matching on ALL is not supported

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-restricted-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-neighbor-set/
state

description:
Operational state data

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-neighbor-set/state/
neighbor-set

description:
References a defined neighbor set

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../defined-sets/neighbor-sets/neighbor-set/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-neighbor-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation. This leaf only supports matching on ANY member of the set or inverting the match. Matching on ALL is not supported

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-restricted-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
match-tag-set

description:
Match a referenced tag set according to the logic defined in the match-options-set leaf

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/
config

description:
Configuration data for tag-set conditions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/
tag-set

description:
References a defined tag set

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../../defined-sets/tag-sets/tag-set/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation. This leaf only supports matching on ANY member of the set or inverting the match. Matching on ALL is not supported

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-restricted-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/
state

description:
Operational state data tag-set conditions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/
tag-set

description:
References a defined tag set

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../defined-sets/tag-sets/tag-set/name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-tag-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation. This leaf only supports matching on ANY member of the set or inverting the match. Matching on ALL is not supported

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-restricted-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
match-protocol-instance

description:
Top-level container for protocol instance match condition in policy statements. The protocol instance is referenced by an identifier and name

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-protocol-instance/
config

description:
Configuration data for policy matching on protocol instance

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-protocol-instance/config/
protocol-identifier

description:
The identifier (protocol type) of the protocol instance to match on in the local network instance.

nodetype: leaf (rw)

type: identityref

  • base: oc-pol-types:INSTALL_PROTOCOL_TYPE

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-protocol-instance/config/
protocol-name

description:
The name of the protocol instance to match on in the local network instance. The string must match one of /network-instances/ network-instance/protocols/ protocol/name in the local network instance.

nodetype: leaf (rw)

type: string

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-protocol-instance/
state

description:
Operational state data for policy matching on protocol instance

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-protocol-instance/state/
protocol-identifier

description:
The identifier (protocol type) of the protocol instance to match on in the local network instance.

nodetype: leaf (ro)

type: identityref

  • base: oc-pol-types:INSTALL_PROTOCOL_TYPE

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/match-protocol-instance/state/
protocol-name

description:
The name of the protocol instance to match on in the local network instance. The string must match one of /network-instances/ network-instance/protocols/ protocol/name in the local network instance.

nodetype: leaf (ro)

type: string

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
bgp-conditions

description:
Top-level container

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
config

description:
Configuration data for BGP-specific policy conditions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
med-eq

description:
Condition to check if the received MED value is equal to the specified value

nodetype: leaf (rw)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
origin-eq

description:
Condition to check if the route origin is equal to the specified value

nodetype: leaf (rw)

type: oc-bgp-types:bgp-origin-attr-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
next-hop-in

description:
List of next hop addresses to check for in the route update

nodetype: leaf-list (rw)

type: oc-inet:ip-address

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
afi-safi-in

description:
List of address families which the NLRI may be within

nodetype: leaf-list (rw)

type: identityref

  • base: oc-bgp-types:AFI_SAFI_TYPE

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
local-pref-eq

description:
Condition to check if the local pref attribute is equal to the specified value

nodetype: leaf (rw)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
route-type

description:
Condition to check the route type in the route update

nodetype: leaf (rw)

type: enumeration

  • INTERNAL
    route type is internal
  • EXTERNAL
    route type is external

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
community-set

description:
References a defined community set

nodetype: leaf (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/config/
ext-community-set

description:
References a defined extended community set

nodetype: leaf (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
state

description:
Operational state data for BGP-specific policy conditions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
med-eq

description:
Condition to check if the received MED value is equal to the specified value

nodetype: leaf (ro)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
origin-eq

description:
Condition to check if the route origin is equal to the specified value

nodetype: leaf (ro)

type: oc-bgp-types:bgp-origin-attr-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
next-hop-in

description:
List of next hop addresses to check for in the route update

nodetype: leaf-list (ro)

type: oc-inet:ip-address

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
afi-safi-in

description:
List of address families which the NLRI may be within

nodetype: leaf-list (ro)

type: identityref

  • base: oc-bgp-types:AFI_SAFI_TYPE

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
local-pref-eq

description:
Condition to check if the local pref attribute is equal to the specified value

nodetype: leaf (ro)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
route-type

description:
Condition to check the route type in the route update

nodetype: leaf (ro)

type: enumeration

  • INTERNAL
    route type is internal
  • EXTERNAL
    route type is external

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
community-set

description:
References a defined community set

nodetype: leaf (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/state/
ext-community-set

description:
References a defined extended community set

nodetype: leaf (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
community-count

description:
Value and comparison operations for conditions based on the number of regular communities in the route update.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/
config

description:
Configuration data for regular community count condition

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/config/
operator

description:
type of comparison to be performed

nodetype: leaf (rw)

type: identityref

  • base: ATTRIBUTE_COMPARISON

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/config/
value

description:
value to compare with the community count

nodetype: leaf (rw)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/
state

description:
Operational state data for regular community count condition

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/state/
operator

description:
type of comparison to be performed

nodetype: leaf (ro)

type: identityref

  • base: ATTRIBUTE_COMPARISON

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/community-count/state/
value

description:
value to compare with the community count

nodetype: leaf (ro)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
ext-community-count

description:
Value and comparison operations for conditions based on the number of extended communities in the route update.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/ext-community-count/
config

description:
Configuration data for extended community count condition

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/ext-community-count/config/
operator

description:
type of comparison to be performed

nodetype: leaf (rw)

type: identityref

  • base: ATTRIBUTE_COMPARISON

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/ext-community-count/config/
value

description:
value to compare with the community count

nodetype: leaf (rw)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/ext-community-count/
state

description:
Operational state data for extended community count condition

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/ext-community-count/state/
operator

description:
type of comparison to be performed

nodetype: leaf (ro)

type: identityref

  • base: ATTRIBUTE_COMPARISON

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/ext-community-count/state/
value

description:
value to compare with the community count

nodetype: leaf (ro)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
as-path-length

description:
Value and comparison operations for conditions based on the length of the AS path in the route update

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/as-path-length/
config

description:
Configuration data for AS path length condition

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/as-path-length/config/
operator

description:
type of comparison to be performed

nodetype: leaf (rw)

type: identityref

  • base: ATTRIBUTE_COMPARISON

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/as-path-length/config/
value

description:
value to compare with the community count

nodetype: leaf (rw)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/as-path-length/
state

description:
Operational state data for AS path length condition

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/as-path-length/state/
operator

description:
type of comparison to be performed

nodetype: leaf (ro)

type: identityref

  • base: ATTRIBUTE_COMPARISON

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/as-path-length/state/
value

description:
value to compare with the community count

nodetype: leaf (ro)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
match-as-path-set

description:
Match a referenced as-path set according to the logic defined in the match-set-options leaf

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-as-path-set/
config

description:
Configuration data for match conditions on AS path set

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-as-path-set/config/
as-path-set

description:
References a defined AS path set

nodetype: leaf (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/as-path-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-as-path-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-as-path-set/
state

description:
Operational state data for match conditions on AS path set

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-as-path-set/state/
as-path-set

description:
References a defined AS path set

nodetype: leaf (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/as-path-sets/as-path-set/as-path-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-as-path-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
match-community-set

description:
Match a referenced community set according to the logic defined in the match-set-options leaf

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-community-set/
config

description:
Configuration data for match conditions on community set

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-community-set/config/
community-set

description:
References a defined community set

nodetype: leaf (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-community-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-community-set/
state

description:
Operational state data for match conditions on community set

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-community-set/state/
community-set

description:
References a defined community set

nodetype: leaf (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-community-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/
match-ext-community-set

description:
Match a referenced extended community set according to the logic defined in the match-set-options leaf

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-ext-community-set/
config

description:
Configuration data for match conditions on extended community set

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-ext-community-set/config/
ext-community-set

description:
References a defined extended community set

nodetype: leaf (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-ext-community-set/config/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (rw)

type: oc-pol-types:match-set-options-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-ext-community-set/
state

description:
Operational state data for match conditions on extended community set

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-ext-community-set/state/
ext-community-set

description:
References a defined extended community set

nodetype: leaf (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/bgp-conditions/match-ext-community-set/state/
match-set-options

description:
Optional parameter that governs the behaviour of the match operation

nodetype: leaf (ro)

type: oc-pol-types:match-set-options-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
isis-conditions

description:
Match conditions relating to the IS-IS protocol

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/isis-conditions/
config

description:
Configuration parameters relating to IS-IS match conditions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/isis-conditions/config/
level-eq

description:
Match the level that the IS-IS prefix is within. This can be used in the case that import or export policies refer to an IS-IS instance that has multiple levels configured within it

nodetype: leaf (rw)

type: isis-types:level-number

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/isis-conditions/config/
match-metric-type

description:
Matches the type of the route to redistribute to INTERNAL or EXTERNAL

nodetype: leaf (rw)

type: isis-types:metric-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/isis-conditions/
state

description:
Operational state parameters relating to IS-IS match conditions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/isis-conditions/state/
level-eq

description:
Match the level that the IS-IS prefix is within. This can be used in the case that import or export policies refer to an IS-IS instance that has multiple levels configured within it

nodetype: leaf (ro)

type: isis-types:level-number

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/isis-conditions/state/
match-metric-type

description:
Matches the type of the route to redistribute to INTERNAL or EXTERNAL

nodetype: leaf (ro)

type: isis-types:metric-type

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/
ospf-conditions

description:
Match conditions specific to OSPF

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/ospf-conditions/
config

description:
Configuration parameters relating to OSPF match conditions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/ospf-conditions/config/
area-eq

description:
Match prefixes which are within a particular OSPF area

nodetype: leaf (rw)

type: oc-ospf-types:ospf-area-identifier

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/ospf-conditions/
state

description:
Operational state parameters relating to OSPF match conditions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/conditions/ospf-conditions/state/
area-eq

description:
Match prefixes which are within a particular OSPF area

nodetype: leaf (ro)

type: oc-ospf-types:ospf-area-identifier

/routing-policy/policy-definitions/policy-definition/statements/statement/
actions

description:
Top-level container for policy action statements

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/
config

description:
Configuration data for policy actions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/config/
policy-result

description:
Select the final disposition for the route, either accept or reject.

nodetype: leaf (rw)

type: policy-result-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/
state

description:
Operational state data for policy actions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/state/
policy-result

description:
Select the final disposition for the route, either accept or reject.

nodetype: leaf (ro)

type: policy-result-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/
set-tag

description:
Policy actions associated with setting tags for a particular route. A tag is an abstract entity which can be mapped to underlying protocol attributes where applicable.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/
config

description:
Configuration of tag application

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/config/
mode

description:
This leaf controls the source of the tags that are set as a result of the action. In the case that the INLINE value is specified, the list of tags specified within the action is applied to matching prefixes. In the case that the REFERENCE value is specified, a pre-defined set of tags is utilised.

nodetype: leaf (rw)

type: enumeration

  • INLINE
    Use an in-line specified list of tags
  • REFERENCE
    Use a reference to a defined tag-set.

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/
state

description:
Operational state related to tag application.

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/state/
mode

description:
This leaf controls the source of the tags that are set as a result of the action. In the case that the INLINE value is specified, the list of tags specified within the action is applied to matching prefixes. In the case that the REFERENCE value is specified, a pre-defined set of tags is utilised.

nodetype: leaf (ro)

type: enumeration

  • INLINE
    Use an in-line specified list of tags
  • REFERENCE
    Use a reference to a defined tag-set.

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/
inline

description:
The tags specified in this container are set on a route using the values directly. It is applicable when the mode of application is explicitly specified as INLINE.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/inline/
config

description:
Configuration values related to in-line tag specification.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/inline/config/
tag

description:
Set one or more tags for prefixes that match the specified condition(s) using the specified tag values. When a tag is set it MUST be possible to match the value set in subsequent policies on the local device. Where the protocol that is carrying the prefix has a tag field (OSPF, and IS-IS in particular) the tag MUST be set in the corresponding protocol advertisements of the prefix.

nodetype: leaf-list (rw)

type: oc-pol-types:tag-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/inline/
state

description:
Operational state related to in-line tag specification.

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/inline/state/
tag

description:
Set one or more tags for prefixes that match the specified condition(s) using the specified tag values. When a tag is set it MUST be possible to match the value set in subsequent policies on the local device. Where the protocol that is carrying the prefix has a tag field (OSPF, and IS-IS in particular) the tag MUST be set in the corresponding protocol advertisements of the prefix.

nodetype: leaf-list (ro)

type: oc-pol-types:tag-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/
reference

description:
This container is applicable when the mode of application is explicitly specified to as REFERENCE. The tags set on a route are those that are specified within the tag-set

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/reference/
config

description:
Configuration values related to specifying a tag-set to be applied to a route.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/reference/config/
tag-set

description:
Use the referenced tag-set to set tags on the prefixes that match the specified conditions. When a tag is set it MUST be possible to match the value set in subsequent policies on the local device. where the protocol that is carrying the prefix has a tag field (OSPF, and IS-IS for in particular) the tag MUST be set in the corresponding protocol advertisements of the prefix.

nodetype: leaf (rw)

type: leafref

  • path reference: ../../../../../../../../../defined-sets/tag-sets/tag-set/config/name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/reference/
state

description:
Operational state related to specifying a tag-set to be applied to a route.

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/set-tag/reference/state/
tag-set

description:
Use the referenced tag-set to set tags on the prefixes that match the specified conditions. When a tag is set it MUST be possible to match the value set in subsequent policies on the local device. where the protocol that is carrying the prefix has a tag field (OSPF, and IS-IS for in particular) the tag MUST be set in the corresponding protocol advertisements of the prefix.

nodetype: leaf (ro)

type: leafref

  • path reference: ../../../../../../../../../defined-sets/tag-sets/tag-set/config/name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/
bgp-actions

description:
Top-level container for BGP-specific actions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/
config

description:
Configuration data for BGP-specific actions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/
set-route-origin

description:
set the origin attribute to the specified value

nodetype: leaf (rw)

type: oc-bgp-types:bgp-origin-attr-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/
set-local-pref

description:
set the local pref attribute on the route update

nodetype: leaf (rw)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/
set-next-hop

description:
set the next-hop attribute in the route update

nodetype: leaf (rw)

type: bgp-next-hop-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/
set-med

description:
Set the MED metric attribute in the route update. When set, a valid `set-med-action` must be specified.

nodetype: leaf (rw)

type: bgp-set-med-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/config/
set-med-action

description:
When set-med is specified, this leaf is mandatory to set the appropriate action on the MED metric value.

nodetype: leaf (rw)

type: bgp-set-med-action

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/
state

description:
Operational state data for BGP-specific actions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/
set-route-origin

description:
set the origin attribute to the specified value

nodetype: leaf (ro)

type: oc-bgp-types:bgp-origin-attr-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/
set-local-pref

description:
set the local pref attribute on the route update

nodetype: leaf (ro)

type: uint32

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/
set-next-hop

description:
set the next-hop attribute in the route update

nodetype: leaf (ro)

type: bgp-next-hop-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/
set-med

description:
Set the MED metric attribute in the route update. When set, a valid `set-med-action` must be specified.

nodetype: leaf (ro)

type: bgp-set-med-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/state/
set-med-action

description:
When set-med is specified, this leaf is mandatory to set the appropriate action on the MED metric value.

nodetype: leaf (ro)

type: bgp-set-med-action

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/
set-as-path-prepend

description:
Action to prepend the specified AS number to the AS-path a specified number of times

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/
config

description:
Configuration data for the AS path prepend action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/
repeat-n

description:
Number of times to prepend the value specified in the asn leaf to the AS path. If no value is specified by the asn leaf, the local AS number of the system is used. The value should be between 1 and the maximum supported by the implementation.

nodetype: leaf (rw)

type: uint8

  • range: 1..max

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/config/
asn

description:
The AS number to prepend to the AS path. If this leaf is not specified and repeat-n is set, then the local AS number will be used for prepending.

nodetype: leaf (rw)

type: oc-inet:as-number

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/
state

description:
Operational state data for the AS path prepend action

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/
repeat-n

description:
Number of times to prepend the value specified in the asn leaf to the AS path. If no value is specified by the asn leaf, the local AS number of the system is used. The value should be between 1 and the maximum supported by the implementation.

nodetype: leaf (ro)

type: uint8

  • range: 1..max

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-as-path-prepend/state/
asn

description:
The AS number to prepend to the AS path. If this leaf is not specified and repeat-n is set, then the local AS number will be used for prepending.

nodetype: leaf (ro)

type: oc-inet:as-number

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/
set-community

description:
Action to set the community attributes of the route, along with options to modify how the community is modified. Communities may be set using an inline list OR reference to an existing defined set (not both).

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/
config

description:
Configuration data for the set-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/config/
method

description:
Indicates the method used to specify the extended communities for the set-ext-community action

nodetype: leaf (rw)

type: enumeration

  • INLINE
    The extended communities are specified inline as a list
  • REFERENCE
    The extended communities are specified by referencing a defined ext-community set

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/config/
options

description:
Options for modifying the community attribute with the specified values. These options apply to both methods of setting the community attribute.

nodetype: leaf (rw)

type: bgp-set-community-option-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/
state

description:
Operational state data for the set-community action

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/state/
method

description:
Indicates the method used to specify the extended communities for the set-ext-community action

nodetype: leaf (ro)

type: enumeration

  • INLINE
    The extended communities are specified inline as a list
  • REFERENCE
    The extended communities are specified by referencing a defined ext-community set

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/state/
options

description:
Options for modifying the community attribute with the specified values. These options apply to both methods of setting the community attribute.

nodetype: leaf (ro)

type: bgp-set-community-option-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/
inline

description:
Set the community values for the action inline with a list.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/inline/
config

description:
Configuration data or inline specification of set-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/inline/config/
communities

description:
Set the community values for the update inline with a list.

nodetype: leaf-list (rw)

type: union

    type: oc-bgp-types:bgp-std-community-type

    type: oc-bgp-types:bgp-well-known-community-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/inline/
state

description:
Operational state data or inline specification of set-community action

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/inline/state/
communities

description:
Set the community values for the update inline with a list.

nodetype: leaf-list (ro)

type: union

    type: oc-bgp-types:bgp-std-community-type

    type: oc-bgp-types:bgp-well-known-community-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/
reference

description:
Provide a reference to a defined community set for the set-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/
config

description:
Configuration data for referening a community-set in the set-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/config/
community-set-refs

description:
References a list of defined community sets by name

nodetype: leaf-list (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/config/
community-set-ref

description:
References a defined community set by name

nodetype: leaf (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/
state

description:
Operational state data for referening a community-set in the set-community action

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/state/
community-set-refs

description:
References a list of defined community sets by name

nodetype: leaf-list (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-community/reference/state/
community-set-ref

description:
References a defined community set by name

nodetype: leaf (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/community-sets/community-set/community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/
set-ext-community

description:
Action to set the extended community attributes of the route, along with options to modify how the community is modified. Extended communities may be set using an inline list OR a reference to an existing defined set (but not both).

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/
config

description:
Configuration data for the set-ext-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/config/
method

description:
Indicates the method used to specify the extended communities for the set-ext-community action

nodetype: leaf (rw)

type: enumeration

  • INLINE
    The extended communities are specified inline as a list
  • REFERENCE
    The extended communities are specified by referencing a defined ext-community set

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/config/
options

description:
Options for modifying the community attribute with the specified values. These options apply to both methods of setting the community attribute.

nodetype: leaf (rw)

type: bgp-set-community-option-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/
state

description:
Operational state data for the set-ext-community action

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/state/
method

description:
Indicates the method used to specify the extended communities for the set-ext-community action

nodetype: leaf (ro)

type: enumeration

  • INLINE
    The extended communities are specified inline as a list
  • REFERENCE
    The extended communities are specified by referencing a defined ext-community set

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/state/
options

description:
Options for modifying the community attribute with the specified values. These options apply to both methods of setting the community attribute.

nodetype: leaf (ro)

type: bgp-set-community-option-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/
inline

description:
Set the extended community values for the action inline with a list.

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/inline/
config

description:
Configuration data or inline specification of set-ext-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/inline/config/
communities

description:
Set the extended community values for the update inline with a list.

nodetype: leaf-list (rw)

type: union

    type: oc-bgp-types:bgp-ext-community-type

    type: oc-bgp-types:bgp-well-known-community-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/inline/
state

description:
Operational state data or inline specification of set-ext-community action

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/inline/state/
communities

description:
Set the extended community values for the update inline with a list.

nodetype: leaf-list (ro)

type: union

    type: oc-bgp-types:bgp-ext-community-type

    type: oc-bgp-types:bgp-well-known-community-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/
reference

description:
Provide a reference to an extended community set for the set-ext-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/reference/
config

description:
Configuration data for referening an extended community-set in the set-ext-community action

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/reference/config/
ext-community-set-refs

description:
References a list of defined extended community sets by name

nodetype: leaf-list (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/reference/config/
ext-community-set-ref

description:
References a defined extended community set by name

nodetype: leaf (rw)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/reference/
state

description:
Operational state data for referening an extended community-set in the set-ext-community action

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/reference/state/
ext-community-set-refs

description:
References a list of defined extended community sets by name

nodetype: leaf-list (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/bgp-actions/set-ext-community/reference/state/
ext-community-set-ref

description:
References a defined extended community set by name

nodetype: leaf (ro)

type: leafref

  • path reference: /routing-policy/defined-sets/bgp-defined-sets/ext-community-sets/ext-community-set/ext-community-set-name

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/
isis-actions

description:
Actions that can be performed by IS-IS within a policy

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/
config

description:
Configuration parameters relating to IS-IS actions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/config/
set-level

description:
Set the level that a prefix is to be imported into.

nodetype: leaf (rw)

type: isis-types:level-number

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/config/
set-metric-type

description:
This leaf sets the type of metric that is to be specified when the set-metric leaf is specified

nodetype: leaf (rw)

type: isis-types:metric-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/config/
set-metric-style-type

description:
Set the style of the metric

nodetype: leaf (rw)

type: isis-types:metric-style

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/config/
set-metric

description:
Set the metric of the IS-IS prefix

nodetype: leaf (rw)

type: isis-types:wide-metric

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/
state

description:
Operational state associated with IS-IS actions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/state/
set-level

description:
Set the level that a prefix is to be imported into.

nodetype: leaf (ro)

type: isis-types:level-number

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/state/
set-metric-type

description:
This leaf sets the type of metric that is to be specified when the set-metric leaf is specified

nodetype: leaf (ro)

type: isis-types:metric-type

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/state/
set-metric-style-type

description:
Set the style of the metric

nodetype: leaf (ro)

type: isis-types:metric-style

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/isis-actions/state/
set-metric

description:
Set the metric of the IS-IS prefix

nodetype: leaf (ro)

type: isis-types:wide-metric

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/
ospf-actions

description:
Actions specific to OSPF

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/
config

description:
Configuration parameters for OSPF actions

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/config/
set-area

description:
Set the area for the matched route. This action is typically used when importing prefixes into OSPF, such that a route can be imported into a specific area within the instance.

nodetype: leaf (rw)

type: oc-ospf-types:ospf-area-identifier

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/
state

description:
Operational state parameters for OSPF actions

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/state/
set-area

description:
Set the area for the matched route. This action is typically used when importing prefixes into OSPF, such that a route can be imported into a specific area within the instance.

nodetype: leaf (ro)

type: oc-ospf-types:ospf-area-identifier

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/
set-metric

description:
Configuration and state parameters relating to manipulating the OSPF metric

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/set-metric/
config

description:
Configuration parameters relating to setting the OSPF metric

nodetype: container (rw)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/set-metric/config/
metric-type

description:
Specify the type of metric which is to be set by the policy

nodetype: leaf (rw)

type: enumeration

  • EXTERNAL_TYPE_1
    Set the external type 1 metric
  • EXTERNAL_TYPE_2
    Set the external type 2 metric

default: EXTERNAL_TYPE_2

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/set-metric/config/
metric

description:
Set the metric of the routes matching the policy to the value specified by this leaf.

nodetype: leaf (rw)

type: oc-ospf-types:ospf-metric

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/set-metric/
state

description:
Operational state parameters relating to setting the OSPF metric

nodetype: container (ro)

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/set-metric/state/
metric-type

description:
Specify the type of metric which is to be set by the policy

nodetype: leaf (ro)

type: enumeration

  • EXTERNAL_TYPE_1
    Set the external type 1 metric
  • EXTERNAL_TYPE_2
    Set the external type 2 metric

default: EXTERNAL_TYPE_2

/routing-policy/policy-definitions/policy-definition/statements/statement/actions/ospf-actions/set-metric/state/
metric

description:
Set the metric of the routes matching the policy to the value specified by this leaf.

nodetype: leaf (ro)

type: oc-ospf-types:ospf-metric

openconfig-network-instance-policy

openconfig-version: 0.1.3

Description

This module defines routing policy statements (conditions and actions) for the network instance model. These statements are generally added to the routing policy model.

Imports

openconfig-extensions
openconfig-routing-policy
openconfig-policy-types

Data elements

openconfig-bgp-policy

openconfig-version: 8.0.0

Description

This module contains data definitions for BGP routing policy. It augments the base routing-policy module with BGP-specific options for conditions and actions.

Imports

openconfig-inet-types
openconfig-routing-policy
openconfig-policy-types
openconfig-bgp-types
openconfig-extensions
openconfig-types

Defined types

bgp-set-community-option-type

description:
Type definition for options when setting the community attribute in a policy action

type: enumeration

  • ADD
    add the specified communities to the existing community attribute
  • REMOVE
    remove the specified communities from the existing community attribute
  • REPLACE
    replace the existing community attribute with the specified communities. If an empty set is specified, this removes the community attribute from the route.

bgp-next-hop-type

description:
type definition for specifying next-hop in policy actions

type: union

    type: oc-inet:ip-address

    type: enumeration

    • SELF
      special designation for local router's own address, i.e., next-hop-self
    • PEER_ADDRESS
      The ip address of the peer should be used. This enum is efficient to use when setting the next hop in a policy applied to a peer group.

bgp-set-med-type

description:
Type definition for specifying how the BGP MED can be set in BGP policy actions. The MED can be specified as a direct integer value or setting it to the IGP cost. To be used in conjunction with `bgp-set-med-action` in order to specify the appropriate action to take on this value.

type: union

    type: uint32

    type: enumeration

    • IGP
      Set the MED value to the IGP cost toward the next hop for the route

bgp-set-med-action

description:
Specifies which action to take on the value specified by the bgp-set-med-type.

type: enumeration

  • SET
    Action to set the MED to a specific value.
  • ADD
    Action to increment the previous MED value.
  • SUBTRACT
    Action to decrement the previous MED value.

Data elements

openconfig-isis-policy

openconfig-version: 0.8.0

Description

This module contains data definitions for ISIS routing policy. It augments the base routing-policy module with BGP-specific options for conditions and actions.

Imports

openconfig-routing-policy
openconfig-extensions
openconfig-isis-types

Data elements

openconfig-ospf-policy

openconfig-version: 0.1.3

Description

This module defines extensions to the OpenConfig policy model to add extensions for OSPF. This module is intended to be generic for both OSPFv2 and OSPFv3.

Imports

openconfig-routing-policy
openconfig-extensions
openconfig-ospf-types

Data elements