diff --git a/panos/network.py b/panos/network.py index b184ecfd..3e6ae25a 100644 --- a/panos/network.py +++ b/panos/network.py @@ -3515,11 +3515,12 @@ class BgpPolicyRule(BgpPolicyFilter): * overwrite action_community_argument (str): Argument to the action community value if needed * None + * regex + action_community_modifier (str): Argument to the action community value when type is 'append' or 'overwrite' * local-as * no-advertise * no-export * nopeer - * regex * 32-bit value * AS:VAL action_extended_community_type (str): Extended community update options @@ -3625,9 +3626,21 @@ def _setup(self): default=None, condition={ "action": "allow", - "action_community_type": ["remove-regex", "append", "overwrite"], + "action_community_type": ["remove-regex"], + }, + path="action/{action}/update/community/{action_community_type}", + ) + ) + params.append( + VersionedParamPath( + "action_community_modifier", + default=None, + condition={ + "action": "allow", + "action_community_type": ["append", "overwrite"], }, path="action/{action}/update/community/{action_community_type}", + vartype="member", ) ) params.append( @@ -3705,11 +3718,12 @@ class BgpPolicyImportRule(BgpPolicyRule): * overwrite action_community_argument (str): Argument to the action community value if needed * None + * regex + action_community_modifier (str): Argument to the action community value when type is 'append' or 'overwrite' * local-as * no-advertise * no-export * nopeer - * regex * 32-bit value * AS:VAL action_extended_community_type (str): Extended community update options @@ -3800,11 +3814,12 @@ class BgpPolicyExportRule(BgpPolicyRule): * overwrite action_community_argument (str): Argument to the action community value if needed * None + * regex + action_community_modifier (str): Argument to the action community value when type is 'append' or 'overwrite' * local-as * no-advertise * no-export * nopeer - * regex * 32-bit value * AS:VAL action_extended_community_type (str): Extended community update options