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

Cisco-IOS-XE-native.yang produces incomplete vlan information when using list and add list #1461

Open
rhasti opened this issue Aug 4, 2023 · 1 comment

Comments

@rhasti
Copy link

rhasti commented Aug 4, 2023

Environment Cisco IOS XE Software, Version 17.06.03
using restconf with 'application/yang-data+json' calling Cisco-IOS-XE-native:native/interface

Config Snippet

interface GigabitEthernet1/0/34
description ESXI - VM-LAN - esxi-trz-10 - lan2/vmnic1
switchport trunk allowed vlan 11,12,14,15,22,23,101,168,169,171-173,175
switchport trunk allowed vlan add 300-302,666,2010-2012
switchport mode trunk
mtu 9198
spanning-tree portfast
spanning-tree guard root
hold-queue 4000 out
end

is producing following output

{'name': 'GigabitEthernetGigabitEthernet1/0/34',
 'description': 'ESXI - VM-LAN - esxi-trz-10 - lan2/vmnic1',
 'switchport-config': {'switchport': {'Cisco-IOS-XE-switch:mode': {'trunk': {}},
   'Cisco-IOS-XE-switch:trunk': {'allowed': {'vlan': {'add': '300-302,666,2010-2012'}}}}},
 'hold-queue': [{'direction': 'out', 'queue-length': 4000}],
 'mtu': 9198,
 'Cisco-IOS-XE-spanning-tree:spanning-tree': {'guard': 'root', 'portfast': {}}}

which is missing vlans 11,12,14,15,22,23,101,168,169,171-173,175

@rhasti rhasti changed the title native:interfaces produces incomplete vlan information when using list and add list Cisco-IOS-XE-native.yang produces incomplete vlan information when using list and add list Aug 4, 2023
@einarnn
Copy link
Member

einarnn commented Nov 4, 2023

@rhasti, please raise this issue with Cisco TAC. Raising issues here does not typically reach vendors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants