Inside the PA FW you can run the command "show routing route" to know routes in all Virtual Routes (static, ospf,bgp,...). So, I'm trying to extract all this rules from the FIrewall configuration and I'm getting this error: - * ERROR * * Died on user notice or warning!! Error: Use of undefined constant LIBXML_PARSEHUGE - assumed 'LIBXML_PARSEHUGE' on /[MY_OWN_PATH]/pan-configurator-master/lib/device-and-system-classes/class-PANConf.php:122
Any idea about the reason of the error?
Also, I can't find any examples related with routes. And can't figure out how to deal with routes. I guess something like that?
$panc = new PANConf(); $panc->load_from_file ( $origfile );
But I'm not sure how to obtain the Virtual Routers form here (VirtualRouterStore).