From 42dc10733794d308cc76d44e96d017273833c2f5 Mon Sep 17 00:00:00 2001 From: Adam Baumeister <32481037+adambaumeister@users.noreply.github.com> Date: Thu, 15 Feb 2024 12:40:24 +1100 Subject: [PATCH] fix: Add new community argument for bgp_policy_rule --- plugins/modules/panos_bgp_policy_rule.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/modules/panos_bgp_policy_rule.py b/plugins/modules/panos_bgp_policy_rule.py index 471e0df67..37360c404 100644 --- a/plugins/modules/panos_bgp_policy_rule.py +++ b/plugins/modules/panos_bgp_policy_rule.py @@ -166,6 +166,10 @@ - remove-regex - append - overwrite + action_community_modifier + description: + - Modifier for the community action. Required if 'action_community_type' is set to 'append' or 'overwrite'. + type: str action_community_argument: description: - Argument to the action community value if needed. @@ -298,6 +302,7 @@ def setup_args(): type="str", choices=["none", "remove-all", "remove-regex", "append", "overwrite"], ), + action_community_modifier=dict(type="str"), action_community_argument=dict(type="str"), action_extended_community_type=dict(type="str"), action_extended_community_argument=dict(type="str"), @@ -359,6 +364,7 @@ def main(): "action_as_path_type": module.params["action_as_path_type"], "action_as_path_prepend_times": module.params["action_as_path_prepend_times"], "action_community_type": module.params["action_community_type"], + "action_community_modifier": module.params["action_community_modifier "], "action_community_argument": module.params["action_community_argument"], "action_extended_community_type": module.params[ "action_extended_community_type"