This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-bgp-oc package operational data. This module contai...
Version: 2020-01-28
module Cisco-IOS-XR-ipv4-bgp-oc-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-bgp-oc-oper"; prefix ipv4-bgp-oc-oper; import ietf-inet-types { prefix inet; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-ipv4-bgp-oc-oper-sub1 { revision-date "2020-01-28"; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-bgp-oc package operational data. This module contains definitions for the following management objects: oc-bgp: OC-BGP operational data Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-01-28" { description "Removing unsupported InvalidReason"; } revision "2019-08-31" { description "Fixing revision error in module."; } revision "2019-04-05" { description "Fixing backward compatibility error in module"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "3.0.0"; semver:module-version "2.0.0"; semver:module-version "1.0.0"; container oc-bgp { config false; description "OC-BGP operational data"; container bgp-rib { description "BGP-RIB operational data"; container afi-safi-table { description "AFI-SAFIs information"; container ipv4-unicast { description "IPv4 Unicast"; container loc-rib { description "Local rib route table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container loc-rib container open-config-neighbors { description "Neighbor list"; list open-config-neighbor { key "neighbor-address"; description "Neighbor name"; container adj-rib-in-post { description "Adjacency rib in-bound post-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-in-post container adj-rib-out-post { description "Adjacency rib out-bound post-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-out-post container adj-rib-out-pre { description "Adjacency rib out-bound pre-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-out-pre container adj-rib-in-pre { description "Adjacency rib in-bound pre-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-in-pre leaf neighbor-address { type inet:ip-address-no-zone; description "Neighbor Address"; } } // list open-config-neighbor } // container open-config-neighbors } // container ipv4-unicast container ipv6-unicast { description "IPv6 Unicast"; container loc-rib { description "Local rib route table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container loc-rib container open-config-neighbors { description "Neighbor list"; list open-config-neighbor { key "neighbor-address"; description "Neighbor name"; container adj-rib-in-post { description "Adjacency rib in-bound post-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-in-post container adj-rib-out-post { description "Adjacency rib out-bound post-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-out-post container adj-rib-out-pre { description "Adjacency rib out-bound pre-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-out-pre container adj-rib-in-pre { description "Adjacency rib in-bound pre-policy table"; container routes { description "routes table"; list route { description "route entry"; leaf route { type inet:ip-prefix; description "Network in prefix/length format"; } leaf neighbor-address { type inet:ip-address-no-zone; description "IP address of the BGP Neighbor"; } leaf path-id { type uint32 { range "0..4294967295"; } description "Received Path ID"; } container prefix-name { description "Prefix"; container prefix { description "IPv4 or IPv6 network address prefix"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container prefix leaf prefix-length { type uint8; description "Length of the subnet prefix"; } } // container prefix-name container route-attr-list { description "RouteAttributesList"; container next-hop { description "NextHopAddress"; leaf afi { type Bgp-oc-afi; description "AFI"; } leaf ipv4-address { when "../afi = 'ipv4'" { description "../AFI = 'IPv4'"; } type inet:ipv4-address; description "IPv4 Addr"; } leaf ipv6-address { when "../afi = 'ipv6'" { description "../AFI = 'IPv6'"; } type Ipv6-address; description "IPv6 Addr"; } } // container next-hop container aggregrator-attributes { description "AggregatorList"; leaf as { type uint32; description "AS number"; } leaf as4 { type uint32; description "AS4 number"; } leaf address { type inet:ipv4-address; description "IPv4 address"; } } // container aggregrator-attributes leaf origin-type { type Bgp-oc-origin-attr; description "Origin Attribute Type"; } leaf as-path { type string; description "AS Path"; } leaf as4-path { type string; description "AS4 Path"; } leaf med { type uint32; description "Med"; } leaf local-pref { type uint32; description "LocalPref"; } leaf atomic-aggr { type boolean; description "AtomicAggr"; } list community { description "CommunityArray"; leaf objects { type string; description "BGP OC objects"; } } // list community } // container route-attr-list container ext-attributes-list { description "ExtAttributesList"; leaf originator-id { type inet:ipv4-address; description "BGP Originator ID"; } leaf aigp { type uint64; description "Accumulated Interior Gateway Protocol (AIGP) metric value"; } leaf path-id { type uint32; description "BGP Path Identifier"; } leaf-list cluster { type inet:ipv4-address; description "List of cluster IDs"; } list ext-community { description "Array of extended communities"; leaf objects { type string; description "BGP OC objects"; } } // list ext-community list unknown-attributes { description "List of BGP attributes that are unknown"; leaf attribute-type { type uint16; description "BGP attribute type that is unknown or not understood"; } leaf attribute-length { type uint16; description "BGP attribute length that is unknown or not understood"; } leaf attribute-value { type yang:hex-string; description "BGP attribute value that is unknown or not understood"; } } // list unknown-attributes } // container ext-attributes-list container last-modified-date { description "LastModifiedDate"; leaf time-value { type string; description "TimeValue"; } } // container last-modified-date container last-update-recieved { description "LastUpdateRecieved"; leaf time-value { type string; description "TimeValue"; } } // container last-update-recieved leaf valid-route { type boolean; description "ValidRoute"; } leaf best-path { type boolean; description "BestPath"; } } // list route } // container routes container num-routes { description "Number of routes in adjacency rib out-bound post-policy table"; leaf num-routes { type uint64; description "NumRoutes"; } } // container num-routes } // container adj-rib-in-pre leaf neighbor-address { type inet:ip-address-no-zone; description "Neighbor Address"; } } // list open-config-neighbor } // container open-config-neighbors } // container ipv6-unicast } // container afi-safi-table } // container bgp-rib } // container oc-bgp } // module Cisco-IOS-XR-ipv4-bgp-oc-oper
© 2024 YumaWorks, Inc. All rights reserved.