Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

bgpimportprofile/bgpexportprofile panos python module

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

bgpimportprofile/bgpexportprofile panos python module

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

1 accepted solution

Accepted Solutions

This has been resolved.

I was using an older version of PANOS on the box, once I upgraded, issue was resolved.

View solution in original post

1 REPLY 1

This has been resolved.

I was using an older version of PANOS on the box, once I upgraded, issue was resolved.

  • 1 accepted solution
  • 2058 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!