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)
How to reproduce:
- Add subinterface
Ethernet0.666
config interface ipv6 enable use-link-local-only Ethernet0.666
config override-config-table /etc/sonic/random_config.json
- See the error the was mentioned above.
SONiC Software Version: SONiC.202405.0-dirty-20240916.120509
SONiC OS Version: 12
Distribution: Debian 12.7
Kernel: 6.1.0-11-2-amd64
Build commit: ee93bc7bd
Build date: Mon Sep 16 09:11:13 UTC 2024
Built by: netop@netop