pan-os-python icon indicating copy to clipboard operation
pan-os-python copied to clipboard

added vartype='member' to BgpPolicyRule:action_community_argument

Open steve-krause opened this issue 5 years ago • 1 comments

added vartype='member' to the BgpPolicyRule class parameter 'action_community_argument' in network.py

Description

I changed the vartype to "member" in order to correctly parse a template with the BgpPolicyRule action_community set to append and an argument of 65100:1

Motivation and Context

I was unable to make any changes to the BGP configuration of the virtual-router because our template had an community_action set to append with an argument of 65100:1. Whenever I tried to make a change to certain sections of config under the virtual-router I would receive an error.

How Has This Been Tested?

I am now able to successfully parse and change the virtual-router section of the templates in question without errors

Screenshots (if appropriate)

Types of changes

changes the way the BgpPolicyRule community_action_argument is deployed on the device

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • [X] I have updated the documentation accordingly.
  • [X] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes if appropriate.
  • [ ] All new and existing tests passed.

steve-krause avatar Jun 17 '20 00:06 steve-krause

I am not sure why this pull request hasn't been looked at and approved. We have made the change and used it successfully a number of times in our environment. Please let me know if I need to take action to move this forward. Thank you.

steve-krause avatar Mar 06 '21 23:03 steve-krause