Hello, i just upgrade from 1.0.0 to 1.0.3 and on JunOS 19.4R3-S2.2 it seems like the XML cant be parsed anymore.
Jul 02 19:42:15 hyperglas hyperglass[20576]: [INFO] 20210702 19:42:15 | scrapli.driver.base.base_driver:949 | _post_open_closing_log → connection to 'somerouterip' on port '22' closed successfully
Jul 02 19:42:15 hyperglas hyperglass[20576]: [DEBUG] 20210702 19:42:15 | hyperglass.execution.drivers._common:34 | parsed_response → Pre-parsed responses:
Jul 02 19:42:15 hyperglas hyperglass[20576]: ('<rpc-reply xmlns:junos="http://xml.juniper.net/junos/19.4R0/junos">\n <route-information xmlns="http://xml.juniper.net/junos/19.4R0/junos-routing">\n <route-table>\n <table-name>inet.0</table-name>\n
Jul 02 19:42:15 hyperglas hyperglass[20576]: [DEBUG] 20210702 19:42:15 | hyperglass.parsing.juniper:65 | parse_juniper → Initially Parsed Response:
Jul 02 19:42:15 hyperglas hyperglass[20576]: OrderedDict([('rpc-reply', OrderedDict([('@xmlns:junos', 'http://xml.juniper.net/junos/19.4R0/junos'), ('route-information', OrderedDict([('@xmlns', 'http://xml.juniper.net/junos/19.4R0/junos-routing'), ('route-table', Orde
Jul 02 19:42:15 hyperglas hyperglass[20576]: [DEBUG] 20210702 19:42:15 | hyperglass.models.parsing.juniper:200 | serialize → Serialized Juniper response: vrf='default' count=8 routes=[ParsedRouteEntry(prefix='8.8.8.0/24', active=True, age=508377, weight=170, med=0, lo
Jul 02 19:42:15 hyperglas hyperglass[20576]: [DEBUG] 20210702 19:42:15 | hyperglass.parsing.juniper:65 | parse_juniper → Initially Parsed Response:
Jul 02 19:42:15 hyperglas hyperglass[20576]: OrderedDict([('rpc-reply', OrderedDict([('@xmlns:junos', 'http://xml.juniper.net/junos/19.4R0/junos'), ('xnm:error', OrderedDict([('@xmlns', 'http://xml.juniper.net/xnm/1.1/xnm'), ('@xmlns:xnm', 'http://xml.juniper.net/xnm/
Jul 02 19:42:15 hyperglas hyperglass[20576]: [CRITICAL] 20210702 19:42:15 | hyperglass.parsing.juniper:93 | parse_juniper → 'route-information' was not found in the response
Jul 02 19:42:15 hyperglas hyperglass[20576]: [CRITICAL] 20210702 19:42:15 | hyperglass.exceptions:40 | __init__ → [DANGER] Error parsing response data
Hello, i just upgrade from 1.0.0 to 1.0.3 and on JunOS 19.4R3-S2.2 it seems like the XML cant be parsed anymore.
expected:
Giving Table output like in 1.0.0
reproduce:
Install Hyperglass 1.0.3 on JunOS 19.4R3-S2.2 and try to check any bgp route
Logs
Possible Solution
Downgrade to 1.0.0
Environment
Server
/etc/hyperglass3.7.3Linux-4.19.0-17-amd64-x86_64-with-debian-10.1022Client
Firefox 89 - Windows 10 1809
Thanks!
Regards