Created
June 2, 2020 23:28
-
-
Save thomas-mangin/17a450a3e26a4cc41902475c0a1dfe5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir openconfig | |
cd openconfig | |
pip3 install pyang | |
git clone https://github.com/openconfig/public | |
git clone https://github.com/openconfig/oc-pyang | |
cd public/release/models | |
$ pyang --plugindir ../../../oc-pyang/openconfig_pyang/plugins/ -p bgp -p rib/ -p routing -p policy -p types/ -p interfaces/ -p segment-routing/ -p mpls/ bgp/openconfig-bgp.yang --dsdl-no-documentation -f jtox | jsonpp | |
{ | |
"modules": { | |
"ietf-interfaces": [ | |
"if", | |
"urn:ietf:params:xml:ns:yang:ietf-interfaces" | |
], | |
"ietf-yang-types": [ | |
"yang", | |
"urn:ietf:params:xml:ns:yang:ietf-yang-types" | |
], | |
"openconfig-bgp": [ | |
"oc-bgp", | |
"http://openconfig.net/yang/bgp" | |
], | |
"openconfig-bgp-types": [ | |
"oc-bgp-types", | |
"http://openconfig.net/yang/bgp-types" | |
], | |
"openconfig-extensions": [ | |
"oc-ext", | |
"http://openconfig.net/yang/openconfig-ext" | |
], | |
"openconfig-inet-types": [ | |
"oc-inet", | |
"http://openconfig.net/yang/types/inet" | |
], | |
"openconfig-interfaces": [ | |
"oc-if", | |
"http://openconfig.net/yang/interfaces" | |
], | |
"openconfig-mpls-types": [ | |
"oc-mplst", | |
"http://openconfig.net/yang/mpls-types" | |
], | |
"openconfig-policy-types": [ | |
"oc-pol-types", | |
"http://openconfig.net/yang/policy-types" | |
], | |
"openconfig-rib-bgp": [ | |
"oc-rib-bgp", | |
"http://openconfig.net/yang/rib/bgp" | |
], | |
"openconfig-rib-bgp-types": [ | |
"oc-bgprib-types", | |
"http://openconfig.net/yang/rib/bgp-types" | |
], | |
"openconfig-routing-policy": [ | |
"oc-rpol", | |
"http://openconfig.net/yang/routing-policy" | |
], | |
"openconfig-segment-routing-types": [ | |
"oc-srt", | |
"http://openconfig.net/yang/segment-routing-types" | |
], | |
"openconfig-types": [ | |
"oc-types", | |
"http://openconfig.net/yang/openconfig-types" | |
], | |
"openconfig-yang-types": [ | |
"oc-yang", | |
"http://openconfig.net/yang/types/yang" | |
] | |
}, | |
"tree": { | |
"openconfig-bgp:bgp": [ | |
"container", | |
{ | |
"global": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"as": [ | |
"leaf", | |
"uint32" | |
], | |
"router-id": [ | |
"leaf", | |
"string" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"as": [ | |
"leaf", | |
"uint32" | |
], | |
"router-id": [ | |
"leaf", | |
"string" | |
], | |
"total-paths": [ | |
"leaf", | |
"uint32" | |
], | |
"total-prefixes": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"default-route-distance": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"external-route-distance": [ | |
"leaf", | |
"uint8" | |
], | |
"internal-route-distance": [ | |
"leaf", | |
"uint8" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"external-route-distance": [ | |
"leaf", | |
"uint8" | |
], | |
"internal-route-distance": [ | |
"leaf", | |
"uint8" | |
] | |
} | |
] | |
} | |
], | |
"confederation": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"identifier": [ | |
"leaf", | |
"uint32" | |
], | |
"member-as": [ | |
"leaf-list", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"identifier": [ | |
"leaf", | |
"uint32" | |
], | |
"member-as": [ | |
"leaf-list", | |
"uint32" | |
] | |
} | |
] | |
} | |
], | |
"graceful-restart": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"restart-time": [ | |
"leaf", | |
"uint16" | |
], | |
"stale-routes-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"helper-only": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"restart-time": [ | |
"leaf", | |
"uint16" | |
], | |
"stale-routes-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"helper-only": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"use-multiple-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"ebgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
], | |
"ibgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"route-selection-options": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"always-compare-med": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-as-path-length": [ | |
"leaf", | |
"boolean" | |
], | |
"external-compare-router-id": [ | |
"leaf", | |
"boolean" | |
], | |
"advertise-inactive-routes": [ | |
"leaf", | |
"boolean" | |
], | |
"enable-aigp": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-next-hop-igp-metric": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"always-compare-med": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-as-path-length": [ | |
"leaf", | |
"boolean" | |
], | |
"external-compare-router-id": [ | |
"leaf", | |
"boolean" | |
], | |
"advertise-inactive-routes": [ | |
"leaf", | |
"boolean" | |
], | |
"enable-aigp": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-next-hop-igp-metric": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"afi-safis": [ | |
"container", | |
{ | |
"afi-safi": [ | |
"list", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"config": [ | |
"container", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"total-paths": [ | |
"leaf", | |
"uint32" | |
], | |
"total-prefixes": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"graceful-restart": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"route-selection-options": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"always-compare-med": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-as-path-length": [ | |
"leaf", | |
"boolean" | |
], | |
"external-compare-router-id": [ | |
"leaf", | |
"boolean" | |
], | |
"advertise-inactive-routes": [ | |
"leaf", | |
"boolean" | |
], | |
"enable-aigp": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-next-hop-igp-metric": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"always-compare-med": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-as-path-length": [ | |
"leaf", | |
"boolean" | |
], | |
"external-compare-router-id": [ | |
"leaf", | |
"boolean" | |
], | |
"advertise-inactive-routes": [ | |
"leaf", | |
"boolean" | |
], | |
"enable-aigp": [ | |
"leaf", | |
"boolean" | |
], | |
"ignore-next-hop-igp-metric": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"use-multiple-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"ebgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
], | |
"ibgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"add-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"receive": [ | |
"leaf", | |
"boolean" | |
], | |
"send": [ | |
"leaf", | |
"boolean" | |
], | |
"send-max": [ | |
"leaf", | |
"uint8" | |
], | |
"eligible-prefix-policy": [ | |
"leaf", | |
"string" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"receive": [ | |
"leaf", | |
"boolean" | |
], | |
"send": [ | |
"leaf", | |
"boolean" | |
], | |
"send-max": [ | |
"leaf", | |
"uint8" | |
], | |
"eligible-prefix-policy": [ | |
"leaf", | |
"string" | |
] | |
} | |
] | |
} | |
], | |
"ipv4-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"config": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ipv6-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"config": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ipv4-labeled-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"ipv6-labeled-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv4-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv6-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv4-multicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv6-multicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l2vpn-vpls": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l2vpn-evpn": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"srte-policy-ipv4": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"srte-policy-ipv6": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"afi-safi-name" | |
] | |
] | |
] | |
} | |
], | |
"dynamic-neighbor-prefixes": [ | |
"container", | |
{ | |
"dynamic-neighbor-prefix": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"config": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"peer-group": [ | |
"leaf", | |
"string" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"peer-group": [ | |
"leaf", | |
"string" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"neighbors": [ | |
"container", | |
{ | |
"neighbor": [ | |
"list", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"config": [ | |
"container", | |
{ | |
"peer-group": [ | |
"leaf", | |
"string" | |
], | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"peer-as": [ | |
"leaf", | |
"uint32" | |
], | |
"local-as": [ | |
"leaf", | |
"uint32" | |
], | |
"peer-type": [ | |
"leaf", | |
"enumeration" | |
], | |
"auth-password": [ | |
"leaf", | |
"string" | |
], | |
"remove-private-as": [ | |
"leaf", | |
"identityref" | |
], | |
"route-flap-damping": [ | |
"leaf", | |
"boolean" | |
], | |
"send-community": [ | |
"leaf", | |
"enumeration" | |
], | |
"description": [ | |
"leaf", | |
"string" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"peer-group": [ | |
"leaf", | |
"string" | |
], | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"peer-as": [ | |
"leaf", | |
"uint32" | |
], | |
"local-as": [ | |
"leaf", | |
"uint32" | |
], | |
"peer-type": [ | |
"leaf", | |
"enumeration" | |
], | |
"auth-password": [ | |
"leaf", | |
"string" | |
], | |
"remove-private-as": [ | |
"leaf", | |
"identityref" | |
], | |
"route-flap-damping": [ | |
"leaf", | |
"boolean" | |
], | |
"send-community": [ | |
"leaf", | |
"enumeration" | |
], | |
"description": [ | |
"leaf", | |
"string" | |
], | |
"session-state": [ | |
"leaf", | |
"enumeration" | |
], | |
"last-established": [ | |
"leaf", | |
"uint64" | |
], | |
"established-transitions": [ | |
"leaf", | |
"uint64" | |
], | |
"supported-capabilities": [ | |
"leaf-list", | |
"identityref" | |
], | |
"messages": [ | |
"container", | |
{ | |
"sent": [ | |
"container", | |
{ | |
"UPDATE": [ | |
"leaf", | |
"uint64" | |
], | |
"NOTIFICATION": [ | |
"leaf", | |
"uint64" | |
], | |
"last-notification-time": [ | |
"leaf", | |
"uint64" | |
], | |
"last-notification-error-code": [ | |
"leaf", | |
"identityref" | |
], | |
"last-notification-error-subcode": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"received": [ | |
"container", | |
{ | |
"UPDATE": [ | |
"leaf", | |
"uint64" | |
], | |
"NOTIFICATION": [ | |
"leaf", | |
"uint64" | |
], | |
"last-notification-time": [ | |
"leaf", | |
"uint64" | |
], | |
"last-notification-error-code": [ | |
"leaf", | |
"identityref" | |
], | |
"last-notification-error-subcode": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
] | |
} | |
], | |
"queues": [ | |
"container", | |
{ | |
"input": [ | |
"leaf", | |
"uint32" | |
], | |
"output": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"dynamically-configured": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"timers": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"connect-retry": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"hold-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"keepalive-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"minimum-advertisement-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"connect-retry": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"hold-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"keepalive-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"minimum-advertisement-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"negotiated-hold-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"transport": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"tcp-mss": [ | |
"leaf", | |
"uint16" | |
], | |
"mtu-discovery": [ | |
"leaf", | |
"boolean" | |
], | |
"passive-mode": [ | |
"leaf", | |
"boolean" | |
], | |
"local-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"string" | |
] | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"tcp-mss": [ | |
"leaf", | |
"uint16" | |
], | |
"mtu-discovery": [ | |
"leaf", | |
"boolean" | |
], | |
"passive-mode": [ | |
"leaf", | |
"boolean" | |
], | |
"local-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"string" | |
] | |
] | |
], | |
"local-port": [ | |
"leaf", | |
"uint16" | |
], | |
"remote-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"remote-port": [ | |
"leaf", | |
"uint16" | |
] | |
} | |
] | |
} | |
], | |
"error-handling": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"treat-as-withdraw": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"treat-as-withdraw": [ | |
"leaf", | |
"boolean" | |
], | |
"erroneous-update-messages": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
], | |
"graceful-restart": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"restart-time": [ | |
"leaf", | |
"uint16" | |
], | |
"stale-routes-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"helper-only": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"restart-time": [ | |
"leaf", | |
"uint16" | |
], | |
"stale-routes-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"helper-only": [ | |
"leaf", | |
"boolean" | |
], | |
"peer-restart-time": [ | |
"leaf", | |
"uint16" | |
], | |
"peer-restarting": [ | |
"leaf", | |
"boolean" | |
], | |
"local-restarting": [ | |
"leaf", | |
"boolean" | |
], | |
"mode": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
] | |
} | |
], | |
"logging-options": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"log-neighbor-state-changes": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"log-neighbor-state-changes": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ebgp-multihop": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"multihop-ttl": [ | |
"leaf", | |
"uint8" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"multihop-ttl": [ | |
"leaf", | |
"uint8" | |
] | |
} | |
] | |
} | |
], | |
"route-reflector": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"route-reflector-cluster-id": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"uint32", | |
"string" | |
] | |
] | |
], | |
"route-reflector-client": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"route-reflector-cluster-id": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"uint32", | |
"string" | |
] | |
] | |
], | |
"route-reflector-client": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"as-path-options": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-own-as": [ | |
"leaf", | |
"uint8" | |
], | |
"replace-peer-as": [ | |
"leaf", | |
"boolean" | |
], | |
"disable-peer-as-filter": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-own-as": [ | |
"leaf", | |
"uint8" | |
], | |
"replace-peer-as": [ | |
"leaf", | |
"boolean" | |
], | |
"disable-peer-as-filter": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"use-multiple-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"ebgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"apply-policy": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
] | |
} | |
], | |
"afi-safis": [ | |
"container", | |
{ | |
"afi-safi": [ | |
"list", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"config": [ | |
"container", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"active": [ | |
"leaf", | |
"boolean" | |
], | |
"prefixes": [ | |
"container", | |
{ | |
"received": [ | |
"leaf", | |
"uint32" | |
], | |
"received-pre-policy": [ | |
"leaf", | |
"uint32" | |
], | |
"sent": [ | |
"leaf", | |
"uint32" | |
], | |
"installed": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
], | |
"graceful-restart": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"received": [ | |
"leaf", | |
"boolean" | |
], | |
"advertised": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"add-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"receive": [ | |
"leaf", | |
"boolean" | |
], | |
"send": [ | |
"leaf", | |
"boolean" | |
], | |
"send-max": [ | |
"leaf", | |
"uint8" | |
], | |
"eligible-prefix-policy": [ | |
"leaf", | |
"string" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"receive": [ | |
"leaf", | |
"boolean" | |
], | |
"send": [ | |
"leaf", | |
"boolean" | |
], | |
"send-max": [ | |
"leaf", | |
"uint8" | |
], | |
"eligible-prefix-policy": [ | |
"leaf", | |
"string" | |
] | |
} | |
] | |
} | |
], | |
"apply-policy": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
] | |
} | |
], | |
"ipv4-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"config": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ipv6-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"config": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ipv4-labeled-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"ipv6-labeled-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv4-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv6-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv4-multicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv6-multicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l2vpn-vpls": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l2vpn-evpn": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"srte-policy-ipv4": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"srte-policy-ipv6": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"use-multiple-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"ebgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"afi-safi-name" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"neighbor-address" | |
] | |
] | |
] | |
} | |
], | |
"peer-groups": [ | |
"container", | |
{ | |
"peer-group": [ | |
"list", | |
{ | |
"peer-group-name": [ | |
"leaf", | |
"string" | |
], | |
"config": [ | |
"container", | |
{ | |
"peer-group-name": [ | |
"leaf", | |
"string" | |
], | |
"peer-as": [ | |
"leaf", | |
"uint32" | |
], | |
"local-as": [ | |
"leaf", | |
"uint32" | |
], | |
"peer-type": [ | |
"leaf", | |
"enumeration" | |
], | |
"auth-password": [ | |
"leaf", | |
"string" | |
], | |
"remove-private-as": [ | |
"leaf", | |
"identityref" | |
], | |
"route-flap-damping": [ | |
"leaf", | |
"boolean" | |
], | |
"send-community": [ | |
"leaf", | |
"enumeration" | |
], | |
"description": [ | |
"leaf", | |
"string" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"peer-group-name": [ | |
"leaf", | |
"string" | |
], | |
"peer-as": [ | |
"leaf", | |
"uint32" | |
], | |
"local-as": [ | |
"leaf", | |
"uint32" | |
], | |
"peer-type": [ | |
"leaf", | |
"enumeration" | |
], | |
"auth-password": [ | |
"leaf", | |
"string" | |
], | |
"remove-private-as": [ | |
"leaf", | |
"identityref" | |
], | |
"route-flap-damping": [ | |
"leaf", | |
"boolean" | |
], | |
"send-community": [ | |
"leaf", | |
"enumeration" | |
], | |
"description": [ | |
"leaf", | |
"string" | |
], | |
"total-paths": [ | |
"leaf", | |
"uint32" | |
], | |
"total-prefixes": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"timers": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"connect-retry": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"hold-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"keepalive-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"minimum-advertisement-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"connect-retry": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"hold-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"keepalive-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"minimum-advertisement-interval": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"transport": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"tcp-mss": [ | |
"leaf", | |
"uint16" | |
], | |
"mtu-discovery": [ | |
"leaf", | |
"boolean" | |
], | |
"passive-mode": [ | |
"leaf", | |
"boolean" | |
], | |
"local-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"string" | |
] | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"tcp-mss": [ | |
"leaf", | |
"uint16" | |
], | |
"mtu-discovery": [ | |
"leaf", | |
"boolean" | |
], | |
"passive-mode": [ | |
"leaf", | |
"boolean" | |
], | |
"local-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"string" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"error-handling": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"treat-as-withdraw": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"treat-as-withdraw": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"graceful-restart": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"restart-time": [ | |
"leaf", | |
"uint16" | |
], | |
"stale-routes-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"helper-only": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"restart-time": [ | |
"leaf", | |
"uint16" | |
], | |
"stale-routes-time": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
], | |
"helper-only": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"logging-options": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"log-neighbor-state-changes": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"log-neighbor-state-changes": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ebgp-multihop": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"multihop-ttl": [ | |
"leaf", | |
"uint8" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
], | |
"multihop-ttl": [ | |
"leaf", | |
"uint8" | |
] | |
} | |
] | |
} | |
], | |
"route-reflector": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"route-reflector-cluster-id": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"uint32", | |
"string" | |
] | |
] | |
], | |
"route-reflector-client": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"route-reflector-cluster-id": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"uint32", | |
"string" | |
] | |
] | |
], | |
"route-reflector-client": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"as-path-options": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-own-as": [ | |
"leaf", | |
"uint8" | |
], | |
"replace-peer-as": [ | |
"leaf", | |
"boolean" | |
], | |
"disable-peer-as-filter": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-own-as": [ | |
"leaf", | |
"uint8" | |
], | |
"replace-peer-as": [ | |
"leaf", | |
"boolean" | |
], | |
"disable-peer-as-filter": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"use-multiple-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"ebgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
], | |
"ibgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"apply-policy": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
] | |
} | |
], | |
"afi-safis": [ | |
"container", | |
{ | |
"afi-safi": [ | |
"list", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"config": [ | |
"container", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"graceful-restart": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"add-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"receive": [ | |
"leaf", | |
"boolean" | |
], | |
"send": [ | |
"leaf", | |
"boolean" | |
], | |
"send-max": [ | |
"leaf", | |
"uint8" | |
], | |
"eligible-prefix-policy": [ | |
"leaf", | |
"string" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"receive": [ | |
"leaf", | |
"boolean" | |
], | |
"send": [ | |
"leaf", | |
"boolean" | |
], | |
"send-max": [ | |
"leaf", | |
"uint8" | |
], | |
"eligible-prefix-policy": [ | |
"leaf", | |
"string" | |
] | |
} | |
] | |
} | |
], | |
"use-multiple-paths": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"enabled": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"ebgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"allow-multiple-as": [ | |
"leaf", | |
"boolean" | |
], | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
], | |
"ibgp": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"maximum-paths": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"apply-policy": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"import-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-import-policy": [ | |
"leaf", | |
"enumeration" | |
], | |
"export-policy": [ | |
"leaf-list", | |
"string" | |
], | |
"default-export-policy": [ | |
"leaf", | |
"enumeration" | |
] | |
} | |
] | |
} | |
], | |
"ipv4-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"config": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ipv6-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
], | |
"config": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"send-default-route": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
] | |
} | |
], | |
"ipv4-labeled-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"ipv6-labeled-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv4-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv6-unicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv4-multicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l3vpn-ipv6-multicast": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l2vpn-vpls": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"l2vpn-evpn": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"srte-policy-ipv4": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"srte-policy-ipv6": [ | |
"container", | |
{ | |
"prefix-limit": [ | |
"container", | |
{ | |
"config": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
], | |
"state": [ | |
"container", | |
{ | |
"max-prefixes": [ | |
"leaf", | |
"uint32" | |
], | |
"prevent-teardown": [ | |
"leaf", | |
"boolean" | |
], | |
"warning-threshold-pct": [ | |
"leaf", | |
"uint8" | |
], | |
"restart-timer": [ | |
"leaf", | |
[ | |
"decimal64", | |
2 | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"afi-safi-name" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"peer-group-name" | |
] | |
] | |
] | |
} | |
], | |
"rib": [ | |
"container", | |
{ | |
"attr-sets": [ | |
"container", | |
{ | |
"attr-set": [ | |
"list", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"state": [ | |
"container", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"origin": [ | |
"leaf", | |
"enumeration" | |
], | |
"atomic-aggregate": [ | |
"leaf", | |
"boolean" | |
], | |
"next-hop": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"med": [ | |
"leaf", | |
"uint32" | |
], | |
"local-pref": [ | |
"leaf", | |
"uint32" | |
], | |
"originator-id": [ | |
"leaf", | |
"string" | |
], | |
"cluster-list": [ | |
"leaf-list", | |
"string" | |
], | |
"aigp": [ | |
"leaf", | |
"uint64" | |
] | |
} | |
], | |
"aggregator": [ | |
"container", | |
{ | |
"state": [ | |
"container", | |
{ | |
"as": [ | |
"leaf", | |
"uint32" | |
], | |
"as4": [ | |
"leaf", | |
"uint32" | |
], | |
"address": [ | |
"leaf", | |
"string" | |
] | |
} | |
] | |
} | |
], | |
"as-path": [ | |
"container", | |
{ | |
"as-segment": [ | |
"list", | |
{ | |
"state": [ | |
"container", | |
{ | |
"type": [ | |
"leaf", | |
"enumeration" | |
], | |
"member": [ | |
"leaf-list", | |
"uint32" | |
] | |
} | |
] | |
}, | |
[] | |
] | |
} | |
], | |
"as4-path": [ | |
"container", | |
{ | |
"as4-segment": [ | |
"list", | |
{ | |
"state": [ | |
"container", | |
{ | |
"type": [ | |
"leaf", | |
"enumeration" | |
], | |
"member": [ | |
"leaf-list", | |
"uint32" | |
] | |
} | |
] | |
}, | |
[] | |
] | |
} | |
], | |
"tunnel-encapsulation": [ | |
"container", | |
{ | |
"tunnels": [ | |
"container", | |
{ | |
"tunnel": [ | |
"list", | |
{ | |
"type": [ | |
"leaf", | |
"identityref" | |
], | |
"state": [ | |
"container", | |
{ | |
"type": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"subtlvs": [ | |
"container", | |
{ | |
"subtlv": [ | |
"list", | |
{ | |
"type": [ | |
"leaf", | |
"identityref" | |
], | |
"state": [ | |
"container", | |
{ | |
"type": [ | |
"leaf", | |
"identityref" | |
], | |
"colors": [ | |
"leaf-list", | |
"uint32" | |
], | |
"preference": [ | |
"leaf", | |
"uint32" | |
], | |
"binding-sid": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"uint32", | |
"enumeration" | |
] | |
], | |
"string" | |
] | |
] | |
] | |
} | |
], | |
"remote-endpoints": [ | |
"container", | |
{ | |
"remote-endpoint": [ | |
"list", | |
{ | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"state": [ | |
"container", | |
{ | |
"as": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
] | |
] | |
] | |
} | |
], | |
"segment-lists": [ | |
"container", | |
{ | |
"segment-list": [ | |
"list", | |
{ | |
"instance-id": [ | |
"leaf", | |
"uint64" | |
], | |
"state": [ | |
"container", | |
{ | |
"instance-id": [ | |
"leaf", | |
"uint64" | |
], | |
"weight": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
], | |
"segments": [ | |
"container", | |
{ | |
"segment": [ | |
"list", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"state": [ | |
"container", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"type": [ | |
"leaf", | |
"enumeration" | |
], | |
"sid": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"uint32", | |
"enumeration" | |
] | |
], | |
"string" | |
] | |
] | |
], | |
"mpls-tc": [ | |
"leaf", | |
"uint8" | |
], | |
"mpls-bos": [ | |
"leaf", | |
"boolean" | |
], | |
"mpls-ttl": [ | |
"leaf", | |
"uint8" | |
], | |
"remote-ipv4-address": [ | |
"leaf", | |
"string" | |
], | |
"local-ipv4-address": [ | |
"leaf", | |
"string" | |
], | |
"remote-ipv6-address": [ | |
"leaf", | |
"string" | |
], | |
"local-ipv6-address": [ | |
"leaf", | |
"string" | |
], | |
"local-interface-id": [ | |
"leaf", | |
"uint32" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"index" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"instance-id" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"type" | |
] | |
] | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"index" | |
] | |
] | |
] | |
} | |
], | |
"communities": [ | |
"container", | |
{ | |
"community": [ | |
"list", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"state": [ | |
"container", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"community": [ | |
"leaf-list", | |
[ | |
"union", | |
[ | |
"identityref", | |
[ | |
"union", | |
[ | |
"uint32", | |
"string" | |
] | |
] | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"index" | |
] | |
] | |
] | |
} | |
], | |
"ext-communities": [ | |
"container", | |
{ | |
"ext-community": [ | |
"list", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"state": [ | |
"container", | |
{ | |
"index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community": [ | |
"leaf-list", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string", | |
"string", | |
"string", | |
"string", | |
"string", | |
"string", | |
"string", | |
"string", | |
"string" | |
] | |
], | |
"binary" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"index" | |
] | |
] | |
] | |
} | |
], | |
"afi-safis": [ | |
"container", | |
{ | |
"afi-safi": [ | |
"list", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
], | |
"state": [ | |
"container", | |
{ | |
"afi-safi-name": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"ipv4-unicast": [ | |
"container", | |
{ | |
"loc-rib": [ | |
"container", | |
{ | |
"state": [ | |
"container", | |
{} | |
], | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"origin": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"identityref" | |
] | |
] | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"origin": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"identityref" | |
] | |
] | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"origin" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"neighbors": [ | |
"container", | |
{ | |
"neighbor": [ | |
"list", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"state": [ | |
"container", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
] | |
} | |
], | |
"adj-rib-in-pre": [ | |
"container", | |
{ | |
"state": [ | |
"container", | |
{} | |
], | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-in-post": [ | |
"container", | |
{ | |
"state": [ | |
"container", | |
{} | |
], | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
], | |
"best-path": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-pre": [ | |
"container", | |
{ | |
"state": [ | |
"container", | |
{} | |
], | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-post": [ | |
"container", | |
{ | |
"state": [ | |
"container", | |
{} | |
], | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"neighbor-address" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"ipv6-unicast": [ | |
"container", | |
{ | |
"loc-rib": [ | |
"container", | |
{ | |
"state": [ | |
"container", | |
{} | |
], | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"origin": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"identityref" | |
] | |
] | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"origin": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
], | |
"identityref" | |
] | |
] | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"origin" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"neighbors": [ | |
"container", | |
{ | |
"neighbor": [ | |
"list", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"state": [ | |
"container", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
] | |
} | |
], | |
"adj-rib-in-pre": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-in-post": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
], | |
"best-path": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-pre": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-post": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"prefix": [ | |
"leaf", | |
"string" | |
], | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"prefix" | |
], | |
[ | |
"openconfig-bgp", | |
"path-id" | |
] | |
] | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"neighbor-address" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"ipv4-srte-policy": [ | |
"container", | |
{ | |
"loc-rib": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"neighbors": [ | |
"container", | |
{ | |
"neighbor": [ | |
"list", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"state": [ | |
"container", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
] | |
} | |
], | |
"adj-rib-in-pre": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-in-post": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
], | |
"best-path": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-pre": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-post": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"neighbor-address" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"ipv6-srte-policy": [ | |
"container", | |
{ | |
"loc-rib": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"neighbors": [ | |
"container", | |
{ | |
"neighbor": [ | |
"list", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"state": [ | |
"container", | |
{ | |
"neighbor-address": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
] | |
} | |
], | |
"adj-rib-in-pre": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-in-post": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
], | |
"best-path": [ | |
"leaf", | |
"boolean" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-pre": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
], | |
"adj-rib-out-post": [ | |
"container", | |
{ | |
"routes": [ | |
"container", | |
{ | |
"route": [ | |
"list", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"state": [ | |
"container", | |
{ | |
"path-id": [ | |
"leaf", | |
"uint32" | |
], | |
"endpoint": [ | |
"leaf", | |
[ | |
"union", | |
[ | |
"string", | |
"string" | |
] | |
] | |
], | |
"color": [ | |
"leaf", | |
"uint32" | |
], | |
"attr-index": [ | |
"leaf", | |
"uint64" | |
], | |
"community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"ext-community-index": [ | |
"leaf", | |
"uint64" | |
], | |
"last-modified": [ | |
"leaf", | |
"uint64" | |
], | |
"valid-route": [ | |
"leaf", | |
"boolean" | |
], | |
"invalid-reason": [ | |
"leaf", | |
"identityref" | |
] | |
} | |
], | |
"unknown-attributes": [ | |
"container", | |
{ | |
"unknown-attribute": [ | |
"list", | |
{ | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"state": [ | |
"container", | |
{ | |
"optional": [ | |
"leaf", | |
"boolean" | |
], | |
"transitive": [ | |
"leaf", | |
"boolean" | |
], | |
"partial": [ | |
"leaf", | |
"boolean" | |
], | |
"extended": [ | |
"leaf", | |
"boolean" | |
], | |
"attr-type": [ | |
"leaf", | |
"uint8" | |
], | |
"attr-len": [ | |
"leaf", | |
"uint16" | |
], | |
"attr-value": [ | |
"leaf", | |
"binary" | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"attr-type" | |
] | |
] | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"path-id" | |
], | |
[ | |
"openconfig-bgp", | |
"endpoint" | |
], | |
[ | |
"openconfig-bgp", | |
"color" | |
] | |
] | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"neighbor-address" | |
] | |
] | |
] | |
} | |
] | |
} | |
] | |
}, | |
[ | |
[ | |
"openconfig-bgp", | |
"afi-safi-name" | |
] | |
] | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"annotations": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment