Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yang(sonic-interface): name of value "Ethernet0.666" points to a non-existing leaf #21631

Open
tomvil opened this issue Feb 5, 2025 · 0 comments
Assignees
Labels
Triaged this issue has been triaged YANG YANG model related changes

Comments

@tomvil
Copy link

tomvil commented Feb 5, 2025

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:

  1. Add subinterface Ethernet0.666
  2. config interface ipv6 enable use-link-local-only Ethernet0.666
  3. config override-config-table /etc/sonic/random_config.json
  4. 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
@bingwang-ms bingwang-ms added Triaged this issue has been triaged YANG YANG model related changes labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged this issue has been triaged YANG YANG model related changes
Projects
None yet
Development

No branches or pull requests

4 participants