Skip to content

Commit

Permalink
fix: Add new community argument for bgp_policy_rule (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
adambaumeister authored Oct 30, 2024
1 parent 91d873d commit 255ebed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/eda/plugins/event_source/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
port: 5000
type: decryption
"""

# Copyright 2023 Palo Alto Networks, Inc
Expand Down
6 changes: 6 additions & 0 deletions plugins/modules/panos_bgp_policy_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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"),
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 255ebed

Please sign in to comment.