Skip to content

Commit

Permalink
Add new setting
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazoyer committed Nov 15, 2024
1 parent 6243f38 commit 7421b90
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,12 @@ def _AS_STRUCT(value: str) -> dict[Any, Any] | list[Any]:
"GIT_COMMIT_MESSAGE", "Committed using Peering Manager"
)

# Perform validation of the value when creating or updating a BGP community
if "VALIDATE_BGP_COMMUNITY_VALUE" in environ:
VALIDATE_BGP_COMMUNITY_VALUE = _environ_get_and_map(
"VALIDATE_BGP_COMMUNITY_VALUE", "True", _AS_BOOL
)

# When merging configuration contexts, Peering Manager needs to know what
# should happen to nested dictionaries/hashes and to list. These two options
# can be changed to reproduce the wanted behaviour. They are similar to
Expand Down

0 comments on commit 7421b90

Please sign in to comment.