You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the Genieparser for the show vrf all detail command on an IOS XR device, we've encountered an issue where the parser fails to capture the list of interfaces assigned to a VRF. As a result, the interfaces field in the parsed JSON output is empty, even though interfaces are present in the actual command output.
Example
Raw data: As shown above, the Interfaces section includes FortyGigE0/0/0/2/0.444444
VRF VRF_NAME; RD 10.10.10.10:10; VPN ID not set
VRF mode: Regular
Description not set
Interfaces:
FortyGigE0/0/0/2/0.444444
Address family IPV4 Unicast
Import VPN route-target communities:
RT:2222:3333
Export VPN route-target communities:
RT:2222:3333
No import route policy
No export route policy
Address family IPV6 Unicast
No import VPN route-target communities
No export VPN route-target communities
No import route policy
No export route policy
The parser should correctly parse and include the list of interfaces assigned to the VRF in the output. In this case, the interfaces field should contain at least one interface, FortyGigE0/0/0/2/0.444444.
Reproduce problem:
fromgenie.libs.parser.iosxr.show_vrfimportShowVrfAllDetailfrompprintimportpprintinput_data="""VRF VRF_NAME; RD 10.10.10.10:10; VPN ID not setVRF mode: RegularDescription not setInterfaces: FortyGigE0/0/0/2/0.444444Address family IPV4 Unicast Import VPN route-target communities: RT:2222:3333 Export VPN route-target communities: RT:2222:3333 No import route policy No export route policyAddress family IPV6 Unicast No import VPN route-target communities No export VPN route-target communities No import route policy No export route policy"""result=ShowVrfAllDetail.cli(self=None, output=input_data)
pprint(result)
The text was updated successfully, but these errors were encountered:
Description
While using the Genieparser for the
show vrf all detail
command on an IOS XR device, we've encountered an issue where the parser fails to capture the list of interfaces assigned to a VRF. As a result, the interfaces field in the parsed JSON output is empty, even though interfaces are present in the actual command output.Example
interfaces = []
Expected Behavior:
The parser should correctly parse and include the list of interfaces assigned to the VRF in the output. In this case, the interfaces field should contain at least one interface, FortyGigE0/0/0/2/0.444444.
Reproduce problem:
The text was updated successfully, but these errors were encountered: