genieparser icon indicating copy to clipboard operation
genieparser copied to clipboard

[IOS-XE] show lisp instance-id {instance_id} ipv4 map-cache {prefix}

Open dmychepk opened this issue 1 year ago • 4 comments

2024-08-29 18:08:54,159: %UNICON-INFO: +++ svs-fc-dis-r-1-1 with via 'ssh': executing command 'show lisp instance-id 1 ipv4 map-cache 0.0.0.0/0' +++ show lisp instance-id 1 ipv4 map-cache 0.0.0.0/0 LISP IPv4 Mapping Cache for LISP 0 EID-table default (IID 1), 1 entries

0.0.0.0/0, uptime: 00:58:48, expires: never, via static Sources: static State: forward-native, last modified: 00:58:48, map-source: local Exempt, Packets out: 503(201990 bytes), counters are not accurate (~ 00:00:12 ago) Configured as EID address space Encapsulating to proxy ETR

SchemaMissingKeyError: Missing keys: [['lisp_id', 0, 'instance_id', 1, 'locators']]

dmychepk avatar Aug 29 '24 18:08 dmychepk

Hello @dmychepk,

Thank you for letting us know about this issue. Kindly give me some time to debug this further.

Thank you.

SohanTirpude avatar Aug 30 '24 12:08 SohanTirpude

Hello @dmychepk,

I found the solution for this issue and now after applying the solution the parsed output looks like this:

{
    "lisp_id": {
        0: {
            "instance_id": {
                1: {
                    "eid_table": "default",
                    "entries": 1,
                    "eid_prefix": "0.0.0.0/0",
                    "eid": "0.0.0.0",
                    "mask": 0,
                    "uptime": "00:58:48",
                    "expires": "never",
                    "via": "static",
                    "sources": "static",
                    "state": "forward-native",
                    "last_modified": "00:58:48",
                    "map_source": "local",
                    "activity": "Exempt",
                    "packets_out": 503,
                    "packets_out_bytes": 201990,
                    "counters_not_accurate": True
                }
            }
        }
    }
}

Can you please check and confirm if everything is correct or not?

Thank you.

SohanTirpude avatar Aug 30 '24 12:08 SohanTirpude

looks good

dmychepk avatar Aug 30 '24 13:08 dmychepk

Hello @dmychepk,

Thank you for the confirmation. The PR has been raised for this issue. Once it is merged I will update you back here.

Thank you.

SohanTirpude avatar Aug 30 '24 13:08 SohanTirpude

Hello @dmychepk,

The PR got merged and the fix will be available in the upcoming pyats 24.9 version. Kindly try and let me know if you still see this issue with pyats 24.9 version.

Meanwhile, I am closing this ticket. If you are facing any other issues, kindly open a new ticket.

Thank you.

SohanTirpude avatar Sep 06 '24 11:09 SohanTirpude