genieparser icon indicating copy to clipboard operation
genieparser copied to clipboard

Parser for 'traceroute' not found

Open assadniang opened this issue 10 months ago • 0 comments

genie==23.8 pyats==23.8

    SDWAN-LAN-SW:
        type: router
        os: iosxe
        #platform: sdwan
        #alias: 'uut'
        credentials:
            default:
                username: cisco
                password: cisco
        connections:
            cli:
                protocol: telnet
                ip: 172.30.7.147
lan_switch.connect(log_stdout=True)
assert lan_switch.connected == True, f'Failed to reconnect to {lan_switch}'
LOGGER.info(f"Successfully connected to {lan_switch}\n")

traceroute = lan_switch.parse('traceroute 192.168.60.3')

genie.libs.parser.utils.common.ParserNotFound: Could not find parser for traceroute 192.168.60.3 under ('iosxe', 'router', None)

assadniang avatar Apr 25 '24 19:04 assadniang