CiscoTestAutomation / genieparser

sub-component of Genie that parse the device output into structured datastructure
Apache License 2.0
253 stars 388 forks source link

IOSXE Please establish 'show rep topology detail' and fix 'show rep topology {no} #880

Closed kfarnes82 closed 2 months ago

kfarnes82 commented 3 months ago

Hoping to get a show rep topology detail on a device so that I can retrieve all devices in a ring. Likely cannot use the show rep top seg to work since some device names are longer than the 13 characters allotted to hostnames in the rep top command.

Below is the error i get for 'show rep top seg {no}

Traceback (most recent call last): File "/home/kfarnes/python/repdevice.py", line 70, in rep_topology = device.parse(f'show rep topology segment {no}') File "src/genie/conf/base/device.py", line 535, in genie.conf.base.device.Device.parse File "src/genie/conf/base/device.py", line 574, in genie.conf.base.device.Device._get_parser_output File "src/genie/conf/base/device.py", line 572, in genie.conf.base.device.Device._get_parser_output File "src/genie/metaparser/_metaparser.py", line 329, in genie.metaparser._metaparser.MetaParser.parse File "src/genie/metaparser/_metaparser.py", line 322, in genie.metaparser._metaparser.MetaParser.parse File "src/genie/metaparser/util/schemaengine.py", line 233, in genie.metaparser.util.schemaengine.Schema.validate genie.metaparser.util.exceptions.SchemaEmptyParserError: Parser Output is empty

SohanTirpude commented 3 months ago

Hello @kfarnes82,

Kindly provide the complete information on the error/issue you are seeing with show rep topology detail command. It looks like the support for this command is not available right now in the genieparser repo. So, can you please provide the device raw output with us so the support can be added for this command?

Regarding show rep top seg {no} command, kindly share the device raw output for this command so this can be debugged further.

Thank you.

kfarnes82 commented 3 months ago

MRDN161MW2002#show rep top detail REP Segment 50 BOIS168ZW2001, Te0/2 (Primary Edge No-Neighbor) Open Port, all vlans forwarding Bridge MAC: 1c6a.7a71.cb00 Port Number: 013 Port Priority: 010 Neighbor Number: 1 / [-60] BOIS168ZW2001, Te0/1 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 1c6a.7a71.cb00 Port Number: 012 Port Priority: 000 Neighbor Number: 2 / [-59] BOIU1616ZG001, Te0/0/27 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 00a6.caca.7bbf Port Number: 022 Port Priority: 000 Neighbor Number: 3 / [-58] BOIU1616ZG001, Te0/0/26 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 00a6.caca.7bbf Port Number: 021 Port Priority: 000 Neighbor Number: 4 / [-57] BOISI1228ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 643a.ea3e.473f Port Number: 00C Port Priority: 000 Neighbor Number: 5 / [-56] BOISI1228ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 643a.ea3e.473f Port Number: 00B Port Priority: 000 Neighbor Number: 6 / [-55] MRDN163VZG002, Te0/0/27 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 0896.adac.d93f Port Number: 022 Port Priority: 000 Neighbor Number: 7 / [-54] MRDN163VZG002, Te0/0/26 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 0896.adac.d93f Port Number: 021 Port Priority: 000 Neighbor Number: 8 / [-53] MRDNI1028ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: cc7f.764b.08bf Port Number: 00C Port Priority: 000 Neighbor Number: 9 / [-52] MRDNI1028ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: cc7f.764b.08bf Port Number: 00B Port Priority: 000 Neighbor Number: 10 / [-51] MRDN1628ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: ccb6.c899.d2bf Port Number: 00C Port Priority: 000 Neighbor Number: 11 / [-50] MRDN1628ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: ccb6.c899.d2bf Port Number: 00B Port Priority: 000 Neighbor Number: 12 / [-49] MRDNI1101ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 4464.3c45.05bf Port Number: 00C Port Priority: 000 Neighbor Number: 13 / [-48] MRDNI1101ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 4464.3c45.05bf Port Number: 00B Port Priority: 000 Neighbor Number: 14 / [-47] MRDN161MW2002, Te0/2 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 70e4.229b.6d00 Port Number: 013 Port Priority: 000 Neighbor Number: 15 / [-46] MRDN161MW2002, Te0/1 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 70e4.229b.6d00 Port Number: 012 Port Priority: 000 Neighbor Number: 16 / [-45] MRDNI1096ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: b08b.cf30.403f Port Number: 00B Port Priority: 000 Neighbor Number: 17 / [-44] MRDNI1096ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: b08b.cf30.403f Port Number: 00A Port Priority: 000 Neighbor Number: 18 / [-43] KUNAI1002NG001, Te0/0/7 (Intermediate) Open Port, all vlans forwarding Bridge MAC: f4db.e6fa.103f Port Number: 00D Port Priority: 000 Neighbor Number: 19 / [-42] KUNAI1002NG001, Te0/0/6 (Intermediate) Open Port, all vlans forwarding Bridge MAC: f4db.e6fa.103f Port Number: 00C Port Priority: 000 Neighbor Number: 20 / [-41] KUNAI1006ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 7061.7b9b.ba3f Port Number: 00C Port Priority: 000 Neighbor Number: 21 / [-40] KUNAI1006ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 7061.7b9b.ba3f Port Number: 00B Port Priority: 000 Neighbor Number: 22 / [-39] KUNAI1005ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: bc4a.56fa.f0bf Port Number: 00C Port Priority: 000 Neighbor Number: 23 / [-38] KUNAI1005ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: bc4a.56fa.f0bf Port Number: 00B Port Priority: 000 Neighbor Number: 24 / [-37] KUNAI1016ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 4c42.1ea1.33bf Port Number: 00C Port Priority: 000 Neighbor Number: 25 / [-36] KUNAI1016ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 4c42.1ea1.33bf Port Number: 00B Port Priority: 000 Neighbor Number: 26 / [-35] KUNAI1017ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 4cec.0fbe.c2bf Port Number: 00C Port Priority: 000 Neighbor Number: 27 / [-34] KUNAI1017ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 4cec.0fbe.c2bf Port Number: 00B Port Priority: 000 Neighbor Number: 28 / [-33] MRDN162ZZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: c4b2.39cd.023f Port Number: 00C Port Priority: 000 Neighbor Number: 29 / [-32] MRDN162ZZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: c4b2.39cd.023f Port Number: 00B Port Priority: 000 Neighbor Number: 30 / [-31] MRDNI1011ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 7488.bbdb.ac3f Port Number: 00B Port Priority: 000 Neighbor Number: 31 / [-30] MRDNI1011ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 7488.bbdb.ac3f Port Number: 00A Port Priority: 000 Neighbor Number: 32 / [-29] MRDN163ZZG001, Te0/0/27 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 3890.a502.373f Port Number: 022 Port Priority: 000 Neighbor Number: 33 / [-28] MRDN163ZZG001, Te0/0/26 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 3890.a502.373f Port Number: 021 Port Priority: 000 Neighbor Number: 34 / [-27] NMPBIDBAZG001, Te0/0/27 (Intermediate) Open Port, all vlans forwarding Bridge MAC: f80b.cb8f.7bbf Port Number: 022 Port Priority: 000 Neighbor Number: 35 / [-26] NMPBIDBAZG001, Te0/0/26 (Intermediate) Alternate Port, some vlans blocked Bridge MAC: f80b.cb8f.7bbf Port Number: 021 Port Priority: 040 Neighbor Number: 36 / [-25] NMPA162PZG001, Te0/0/27 (Intermediate) Open Port, all vlans forwarding Bridge MAC: a03d.6fe9.77bf Port Number: 022 Port Priority: 000 Neighbor Number: 37 / [-24] NMPA162PZG001, Te0/0/26 (Intermediate) Open Port, all vlans forwarding Bridge MAC: a03d.6fe9.77bf Port Number: 021 Port Priority: 000 Neighbor Number: 38 / [-23] NMPAI1020ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: cc7f.762e.0abf Port Number: 00C Port Priority: 000 Neighbor Number: 39 / [-22] NMPAI1020ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: cc7f.762e.0abf Port Number: 00B Port Priority: 000 Neighbor Number: 40 / [-21] NMPAI1068ZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 5856.9fd2.783f Port Number: 00C Port Priority: 000 Neighbor Number: 41 / [-20] NMPAI1068ZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 5856.9fd2.783f Port Number: 00B Port Priority: 000 Neighbor Number: 42 / [-19] NMPA160AW2001, Te0/2 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 24e9.b3e6.ab00 Port Number: 01A Port Priority: 000 Neighbor Number: 43 / [-18] NMPA160AW2001, Te0/1 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 24e9.b3e6.ab00 Port Number: 019 Port Priority: 000 Neighbor Number: 44 / [-17] NMPAIDHHZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 549f.c689.063f Port Number: 00C Port Priority: 000 Neighbor Number: 45 / [-16] NMPAIDHHZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 549f.c689.063f Port Number: 00B Port Priority: 000 Neighbor Number: 46 / [-15] NMPA1636W2001, Te0/2 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 24e9.b3e6.fc00 Port Number: 01A Port Priority: 000 Neighbor Number: 47 / [-14] NMPA1636W2001, Te0/1 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 24e9.b3e6.fc00 Port Number: 019 Port Priority: 000 Neighbor Number: 48 / [-13] MRDN163CW2001, Te0/2 (Intermediate) Open Port, all vlans forwarding Bridge MAC: a46c.2a8d.6f00 Port Number: 013 Port Priority: 000 Neighbor Number: 49 / [-12] MRDN163CW2001, Te0/1 (Intermediate) Open Port, all vlans forwarding Bridge MAC: a46c.2a8d.6f00 Port Number: 012 Port Priority: 000 Neighbor Number: 50 / [-11] MRDN163QZG001, Te0/0/27 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 2cd0.2dba.263f Port Number: 022 Port Priority: 000 Neighbor Number: 51 / [-10] MRDN163QZG001, Te0/0/26 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 2cd0.2dba.263f Port Number: 021 Port Priority: 000 Neighbor Number: 52 / [-9] MRDN163KW2001, Te0/2 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 74a2.e603.e400 Port Number: 013 Port Priority: 000 Neighbor Number: 53 / [-8] MRDN163KW2001, Te0/1 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 74a2.e603.e400 Port Number: 012 Port Priority: 000 Neighbor Number: 54 / [-7] GRCYIDAYZG001, Te0/0/5 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 84eb.ef59.743f Port Number: 00C Port Priority: 000 Neighbor Number: 55 / [-6] GRCYIDAYZG001, Te0/0/4 (Intermediate) Open Port, all vlans forwarding Bridge MAC: 84eb.ef59.743f Port Number: 00B Port Priority: 000 Neighbor Number: 56 / [-5] BOIU161PZG001, Te0/0/27 (Intermediate) Open Port, all vlans forwarding Bridge MAC: f80b.cb8c.edbf Port Number: 022 Port Priority: 000 Neighbor Number: 57 / [-4] BOIU161PZG001, Te0/0/26 (Intermediate) Open Port, all vlans forwarding Bridge MAC: f80b.cb8c.edbf Port Number: 021 Port Priority: 000 Neighbor Number: 58 / [-3] BOIS1646W2001, Te0/2 (Intermediate) Open Port, all vlans forwarding Bridge MAC: a89d.214f.4f00 Port Number: 013 Port Priority: 000 Neighbor Number: 59 / [-2] BOIS1646W2001, Te0/1 (Secondary Edge No-Neighbor) Open Port, all vlans forwarding Bridge MAC: a89d.214f.4f00 Port Number: 012 Port Priority: 010 Neighbor Number: 60 / [-1]

SohanTirpude commented 3 months ago

Hello @kfarnes82,

Thank you for the output for show rep topology detail command and now after adding the support the parsed output is looking like this:

{
    "rep_segment_no": 50,
    "BOIS168ZW2001": {
        "interfaces": {
            "TenGigabitEthernet0/2": {
                "edge": "Primary Edge No-Neighbor",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "1c6a.7a71.cb00",
                "port_number": "013",
                "port_priority": "010",
                "neighbor_number": "1 / [-60]"
            },
            "TenGigabitEthernet0/1": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "1c6a.7a71.cb00",
                "port_number": "012",
                "port_priority": "000",
                "neighbor_number": "2 / [-59]"
            }
        }
    },
    "BOIU1616ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/27": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "00a6.caca.7bbf",
                "port_number": "022",
                "port_priority": "000",
                "neighbor_number": "3 / [-58]"
            },
            "TenGigabitEthernet0/0/26": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "00a6.caca.7bbf",
                "port_number": "021",
                "port_priority": "000",
                "neighbor_number": "4 / [-57]"
            }
        }
    },
    "BOISI1228ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "643a.ea3e.473f",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "5 / [-56]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "643a.ea3e.473f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "6 / [-55]"
            }
        }
    },
    "MRDN163VZG002": {
        "interfaces": {
            "TenGigabitEthernet0/0/27": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "0896.adac.d93f",
                "port_number": "022",
                "port_priority": "000",
                "neighbor_number": "7 / [-54]"
            },
            "TenGigabitEthernet0/0/26": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "0896.adac.d93f",
                "port_number": "021",
                "port_priority": "000",
                "neighbor_number": "8 / [-53]"
            }
        }
    },
    "MRDNI1028ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "cc7f.764b.08bf",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "9 / [-52]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "cc7f.764b.08bf",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "10 / [-51]"
            }
        }
    },
    "MRDN1628ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "ccb6.c899.d2bf",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "11 / [-50]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "ccb6.c899.d2bf",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "12 / [-49]"
            }
        }
    },
    "MRDNI1101ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "4464.3c45.05bf",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "13 / [-48]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "4464.3c45.05bf",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "14 / [-47]"
            }
        }
    },
    "MRDN161MW2002": {
        "interfaces": {
            "TenGigabitEthernet0/2": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "70e4.229b.6d00",
                "port_number": "013",
                "port_priority": "000",
                "neighbor_number": "15 / [-46]"
            },
            "TenGigabitEthernet0/1": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "70e4.229b.6d00",
                "port_number": "012",
                "port_priority": "000",
                "neighbor_number": "16 / [-45]"
            }
        }
    },
    "MRDNI1096ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "b08b.cf30.403f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "17 / [-44]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "b08b.cf30.403f",
                "port_number": "00A",
                "port_priority": "000",
                "neighbor_number": "18 / [-43]"
            }
        }
    },
    "KUNAI1002NG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/7": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "f4db.e6fa.103f",
                "port_number": "00D",
                "port_priority": "000",
                "neighbor_number": "19 / [-42]"
            },
            "TenGigabitEthernet0/0/6": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "f4db.e6fa.103f",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "20 / [-41]"
            }
        }
    },
    "KUNAI1006ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "7061.7b9b.ba3f",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "21 / [-40]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "7061.7b9b.ba3f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "22 / [-39]"
            }
        }
    },
    "KUNAI1005ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "bc4a.56fa.f0bf",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "23 / [-38]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "bc4a.56fa.f0bf",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "24 / [-37]"
            }
        }
    },
    "KUNAI1016ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "4c42.1ea1.33bf",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "25 / [-36]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "4c42.1ea1.33bf",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "26 / [-35]"
            }
        }
    },
    "KUNAI1017ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "4cec.0fbe.c2bf",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "27 / [-34]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "4cec.0fbe.c2bf",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "28 / [-33]"
            }
        }
    },
    "MRDN162ZZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "c4b2.39cd.023f",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "29 / [-32]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "c4b2.39cd.023f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "30 / [-31]"
            }
        }
    },
    "MRDNI1011ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "7488.bbdb.ac3f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "31 / [-30]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "7488.bbdb.ac3f",
                "port_number": "00A",
                "port_priority": "000",
                "neighbor_number": "32 / [-29]"
            }
        }
    },
    "MRDN163ZZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/27": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "3890.a502.373f",
                "port_number": "022",
                "port_priority": "000",
                "neighbor_number": "33 / [-28]"
            },
            "TenGigabitEthernet0/0/26": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "3890.a502.373f",
                "port_number": "021",
                "port_priority": "000",
                "neighbor_number": "34 / [-27]"
            }
        }
    },
    "NMPBIDBAZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/27": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "f80b.cb8f.7bbf",
                "port_number": "022",
                "port_priority": "000",
                "neighbor_number": "35 / [-26]"
            },
            "TenGigabitEthernet0/0/26": {
                "edge": "Intermediate",
                "role": "Alternate",
                "vlan_status": "some vlans blocked",
                "bridge_mac": "f80b.cb8f.7bbf",
                "port_number": "021",
                "port_priority": "040",
                "neighbor_number": "36 / [-25]"
            }
        }
    },
    "NMPA162PZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/27": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "a03d.6fe9.77bf",
                "port_number": "022",
                "port_priority": "000",
                "neighbor_number": "37 / [-24]"
            },
            "TenGigabitEthernet0/0/26": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "a03d.6fe9.77bf",
                "port_number": "021",
                "port_priority": "000",
                "neighbor_number": "38 / [-23]"
            }
        }
    },
    "NMPAI1020ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "cc7f.762e.0abf",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "39 / [-22]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "cc7f.762e.0abf",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "40 / [-21]"
            }
        }
    },
    "NMPAI1068ZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "5856.9fd2.783f",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "41 / [-20]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "5856.9fd2.783f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "42 / [-19]"
            }
        }
    },
    "NMPA160AW2001": {
        "interfaces": {
            "TenGigabitEthernet0/2": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "24e9.b3e6.ab00",
                "port_number": "01A",
                "port_priority": "000",
                "neighbor_number": "43 / [-18]"
            },
            "TenGigabitEthernet0/1": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "24e9.b3e6.ab00",
                "port_number": "019",
                "port_priority": "000",
                "neighbor_number": "44 / [-17]"
            }
        }
    },
    "NMPAIDHHZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "549f.c689.063f",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "45 / [-16]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "549f.c689.063f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "46 / [-15]"
            }
        }
    },
    "NMPA1636W2001": {
        "interfaces": {
            "TenGigabitEthernet0/2": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "24e9.b3e6.fc00",
                "port_number": "01A",
                "port_priority": "000",
                "neighbor_number": "47 / [-14]"
            },
            "TenGigabitEthernet0/1": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "24e9.b3e6.fc00",
                "port_number": "019",
                "port_priority": "000",
                "neighbor_number": "48 / [-13]"
            }
        }
    },
    "MRDN163CW2001": {
        "interfaces": {
            "TenGigabitEthernet0/2": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "a46c.2a8d.6f00",
                "port_number": "013",
                "port_priority": "000",
                "neighbor_number": "49 / [-12]"
            },
            "TenGigabitEthernet0/1": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "a46c.2a8d.6f00",
                "port_number": "012",
                "port_priority": "000",
                "neighbor_number": "50 / [-11]"
            }
        }
    },
    "MRDN163QZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/27": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "2cd0.2dba.263f",
                "port_number": "022",
                "port_priority": "000",
                "neighbor_number": "51 / [-10]"
            },
            "TenGigabitEthernet0/0/26": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "2cd0.2dba.263f",
                "port_number": "021",
                "port_priority": "000",
                "neighbor_number": "52 / [-9]"
            }
        }
    },
    "MRDN163KW2001": {
        "interfaces": {
            "TenGigabitEthernet0/2": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "74a2.e603.e400",
                "port_number": "013",
                "port_priority": "000",
                "neighbor_number": "53 / [-8]"
            },
            "TenGigabitEthernet0/1": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "74a2.e603.e400",
                "port_number": "012",
                "port_priority": "000",
                "neighbor_number": "54 / [-7]"
            }
        }
    },
    "GRCYIDAYZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/5": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "84eb.ef59.743f",
                "port_number": "00C",
                "port_priority": "000",
                "neighbor_number": "55 / [-6]"
            },
            "TenGigabitEthernet0/0/4": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "84eb.ef59.743f",
                "port_number": "00B",
                "port_priority": "000",
                "neighbor_number": "56 / [-5]"
            }
        }
    },
    "BOIU161PZG001": {
        "interfaces": {
            "TenGigabitEthernet0/0/27": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "f80b.cb8c.edbf",
                "port_number": "022",
                "port_priority": "000",
                "neighbor_number": "57 / [-4]"
            },
            "TenGigabitEthernet0/0/26": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "f80b.cb8c.edbf",
                "port_number": "021",
                "port_priority": "000",
                "neighbor_number": "58 / [-3]"
            }
        }
    },
    "BOIS1646W2001": {
        "interfaces": {
            "TenGigabitEthernet0/2": {
                "edge": "Intermediate",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "a89d.214f.4f00",
                "port_number": "013",
                "port_priority": "000",
                "neighbor_number": "59 / [-2]"
            },
            "TenGigabitEthernet0/1": {
                "edge": "Secondary Edge No-Neighbor",
                "role": "Open",
                "vlan_status": "all vlans forwarding",
                "bridge_mac": "a89d.214f.4f00",
                "port_number": "012",
                "port_priority": "010",
                "neighbor_number": "60 / [-1]"
            }
        }
    }
}

Kindly check and confirm if you are happy with this. If you have any suggestion then kindly let me know.

Regarding the show rep topology {no} command, you haven't provided the output yet. So, kindly provide the output so the fix can be provided soon.

Thank you.

SohanTirpude commented 3 months ago

Hello @kfarnes82,

I have not received any update on the issue seen with show rep topology {no} command. So, kindly provide soon.

Thank you.

SohanTirpude commented 2 months ago

Hello @kfarnes82,

The parser for show rep topology detail command has been added to the genieparser and it will be available in the pyats 24.9 version.

So far, I have not received any update on the issue seen with show rep topology {no} command. Hence, for now I am closing this ticket. Kindly re-open the ticket once you provide the required details for show rep topology {no} command.

Thank you.