Fix Unsupported keys in show l2vpn bridge-domaine #835
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
add one flag in the parse to check if enter the vsi line or not
Motivation and Context
input :
Bridge group: NETWORK, bridge-domain: NETWORK_680_1, id: 0, state: up, ShgId: 0, MSTi: 0
Aging: 300 s, MAC limit: 16000, Action: none, Notification: syslog, trap
Filter MAC addresses: 0
ACs: 1 (1 up), VFIs: 1, PWs: 5 (5 up), PBBs: 0 (0 up), VNIs: 0 (0 up)
List of ACs:
Hu0/1/0/1.1, state: up, Static MAC addresses: 0
List of Access PWs:
Neighbor 192.168.201.1 pw-id 1630, state: up, Static MAC addresses: 0
Neighbor 192.168.201.2 pw-id 1630, state: up, Static MAC addresses: 0
List of VFIs:
VFI IBR_NETWORK_680_1 (up)
Neighbor 192.168.201.1 pw-id 1513, state: up, Static MAC addresses: 0
Neighbor 192.168.201.1 pw-id 1514, state: up, Static MAC addresses: 0
Neighbor 192.168.201.1 pw-id 1680, state: up, Static MAC addresses: 0
List of Access VFIs:
error:
genie.metaparser.util.exceptions.SchemaUnsupportedKeyError: bridge_group.NETWORK.bridge_domain.NETWORK_680_1.vfi.neighbor: Unsupported keys: ['192.168.201.2', '192.168.201.1']
Impact (If any)
The all access pw will be included at the section pw
Screenshots:
Checklist: