YANG modules from standards organizations such as the IETF, The IEEE, The Metro Ethernet Forum, open source such as Open Daylight or vendor specific modules
1.51k
stars
1.2k
forks
source link
Cisco-IOS-XR-um-router-bgp-cfg presence containers such as advertise-as-vpn don't work #1506
RP/0/RP0/CPU0:iosxr-golang-1(config-vrf)#do sh run vrf adsfg
Fri Nov 17 20:39:55.888 UTC
vrf adsfg
description adsf
address-family ipv4 unicast
import route-policy my-route-policy
import from vrf advertise-as-vpn
!
The normal, non UM interface, Cisco-IOS-XR-ipv4-bgp-cfg.yang exposes the same setting, advertise-as-vpn as a leaf instead of a presence container, and works as expected:
Hi, Tested on 771.
The
advertise-as-vpn
presence containers cannot be fetched with gNMI/NETCONF using the UMCisco-IOS-XR-um-router-bgp-cfg.yang
.Getting the VRF directly:
returns
even though the configuration is:
The normal, non UM interface,
Cisco-IOS-XR-ipv4-bgp-cfg.yang
exposes the same setting,advertise-as-vpn
as aleaf
instead of apresence container
, and works as expected:returns: