You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After enabling use-link-local-only on subinterface config override-config-table starts to generate yang error:
libyang[0]: Leafref "/sonic-port:sonic-port/sonic-port:PORT/sonic-port:PORT_LIST/sonic-port:name" of value "Ethernet0.666" points to a non-existing leaf. (path: /sonic-interface:sonic-interface/INTERFACE/INTERFACE_LIST[name='Ethernet0.666']/name)
hey @wen587 , the command that is causing subinterface creation in INTERFACE section is config interface ipv6 enable use-link-local-only Ethernet0.666. We want to use bgp unnumbered with subinterface and it's working fine after enabling use-link-local-only, but we start to see this error.
# show runningconfiguration all | jq .INTERFACE
{
"Ethernet0.666": {
"ipv6_use_link_local_only": "enable"
}
}
YANG model failed to recognize this Ethernet0.666 in INTERFACE table.
It could be the yang support missing in this case when add this use-link-local-only in #14757
After enabling
use-link-local-only
on subinterfaceconfig override-config-table
starts to generate yang error:libyang[0]: Leafref "/sonic-port:sonic-port/sonic-port:PORT/sonic-port:PORT_LIST/sonic-port:name" of value "Ethernet0.666" points to a non-existing leaf. (path: /sonic-interface:sonic-interface/INTERFACE/INTERFACE_LIST[name='Ethernet0.666']/name)
How to reproduce:
Ethernet0.666
config interface ipv6 enable use-link-local-only Ethernet0.666
config override-config-table /etc/sonic/random_config.json
The text was updated successfully, but these errors were encountered: