sonic-utilities
sonic-utilities copied to clipboard
Multi ASIC YANG models missing
Description
Multi ASIC scenario is missing multiple tables YANG model change.
Steps to reproduce the issue
During the multi ASIC GCU testing, we have identified multiple tables are missing YANG model or they need some modification to support multi ASIC GCU.
Describe the results you received
Here are some missing part but not limited them only.
- All Keys are not parsed in BUFFER_QUEUE dict_keys(['str3-7800-lc3-1|asic0|Ethernet0|0-2' … exceptionList:['Value not found for port qindex in str3-7800-lc3-1|asic0|Ethernet0|0-2'
- sonic_yang(6):Note: Below table(s) have no YANG models: CONSOLE_SWITCH, DEVICE_NEIGHBOR_METADATA, RESTAPI, SYSTEM_PORT
- sonic_yang(3):All Keys are not parsed in DEVICE_METADATA dict_keys(['asic_id'])
- path: /sonic-portchannel:sonic-portchannel/PORTCHANNEL/PORTCHANNEL_LIST[name='PortChannel108']/admin_status Failed to apply patch due to: 'NoneType' object has no attribute 'find_path'
- libyang[0]: Leafref "/sonic-port:sonic-port/sonic-port:PORT/sonic-port:PORT_LIST/sonic-port:name" of value "Ethernet152" points to a non-existing leaf. (path: /sonic-buffer-queue:sonic-buffer-queue/BUFFER_QUEUE/BUFFER_QUEUE_LIST[linecard='str3-7800-lc5-1'][namespace='Asic0'][port='Ethernet152'][qindex='0-2']/port)
- sonic_yang(3):All Keys are not parsed in PORT dict_keys(['Ethernet-IB0' … sonic_yang(3):exceptionList:["'corePortId'"
Describe the results you expected
Additional information you deem important (e.g. issue happens only occasionally)
Output of show version
admin@str3-7800-lc3-1:~$ show ver
SONiC Software Version: SONiC.20220532.54
SONiC OS Version: 11
Distribution: Debian 11.8
Kernel: 5.10.0-23-2-amd64
Build commit: b9e6caad98
Build date: Tue Jan 9 00:42:31 UTC 2024
Built by: cloudtest@95bebd0dc000000
Platform: x86_64-arista_7800r3a_36dm2_lc
HwSKU: Arista-7800R3A-36DM2-D36
ASIC: broadcom
ASIC Count: 2
Serial Number: SGD22203294
Model Number: 7800R3A-36DM2-LC
Hardware Revision: 2a.05
Uptime: 16:51:15 up 4 days, 16:23, 3 users, load average: 0.81, 1.16, 1.54
Date: Mon 18 Mar 2024 16:51:15
Docker images:
REPOSITORY TAG IMAGE ID SIZE
docker-syncd-brcm-dnx-rpc latest f21a96d3d0be 1.07GB
docker-syncd-brcm-dnx latest f21a96d3d0be 1.07GB
docker-mux 20220532.54 b2b3319bbc9e 365MB
docker-mux latest b2b3319bbc9e 365MB
docker-macsec latest dc06639ae3c1 334MB
docker-sonic-restapi 20220532.54 c777bb148fa2 334MB
docker-sonic-restapi latest c777bb148fa2 334MB
docker-orchagent 20220532.54 ba5bbaa2d437 350MB
docker-orchagent latest ba5bbaa2d437 350MB
docker-fpm-frr 20220532.54 1c7cb535076c 355MB
docker-fpm-frr latest 1c7cb535076c 355MB
docker-teamd 20220532.54 abe38d8de4d5 332MB
docker-teamd latest abe38d8de4d5 332MB
docker-syncd-brcm-dnx 20220532.54 32e5e7a3f59d 663MB
docker-gbsyncd-broncos 20220532.54 9e2520d9a17f 363MB
docker-gbsyncd-broncos latest 9e2520d9a17f 363MB
docker-gbsyncd-credo 20220532.54 4a39516de3a5 335MB
docker-gbsyncd-credo latest 4a39516de3a5 335MB
docker-dhcp-relay latest 10985a28d954 326MB
docker-snmp 20220532.54 1376f562420e 366MB
docker-snmp latest 1376f562420e 366MB
docker-sonic-telemetry 20220532.54 b01971d52903 397MB
docker-sonic-telemetry latest b01971d52903 397MB
docker-router-advertiser 20220532.54 7d4d9fdb8ff0 316MB
docker-router-advertiser latest 7d4d9fdb8ff0 316MB
docker-platform-monitor 20220532.54 53f0d91512ee 441MB
docker-platform-monitor latest 53f0d91512ee 441MB
docker-lldp 20220532.54 9cf8a51ccd89 359MB
docker-lldp latest 9cf8a51ccd89 359MB
docker-database 20220532.54 760ec8d5f3dc 316MB
docker-database latest 760ec8d5f3dc 316MB
docker-acms 20220532.54 8ea58e46845d 363MB
docker-acms latest 8ea58e46845d 363MB
k8s.gcr.io/pause 3.5 ed210e3e4a5b 683kB