- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-21-2022 06:21 AM
Has anyone tried setting up a bgp import/export profile using the panos library?
I created the configuration tree as expected, added bgp to the virtual router and created the bgppeer and bgp peer group objects as well.
bgp_export_rule = panos.network.BgpPolicyExportRule(name="test-export-5",enable=True,used_by=["testbgpgroup"],action="deny")
bgp_export_rule.create()
getting the following error
PanXapiError: test-export-5 -> match -> route-table unexpected here test-export-5 -> match is invalid
much appreciated if anyone can point me in the right direction.
Thanks,
CK
01-24-2022 07:35 AM
This has been resolved.
I was using an older version of PANOS on the box, once I upgraded, issue was resolved.
01-24-2022 07:35 AM
This has been resolved.
I was using an older version of PANOS on the box, once I upgraded, issue was resolved.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!