diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-07-09 14:01:52 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-08-13 13:19:59 +0000 |
commit | c7b8e12beb7c90a5531c81303fa4837bd9f51782 (patch) | |
tree | 4e41817f879848875cd79909964760abd22dedcb | |
parent | e6bce67f2ab25541f4a20e3147ea32ff0464aa9d (diff) | |
download | vyos-1x-c7b8e12beb7c90a5531c81303fa4837bd9f51782.tar.gz vyos-1x-c7b8e12beb7c90a5531c81303fa4837bd9f51782.zip |
policy: T3673: Add set large-comm-list-delete for route-map
-rw-r--r-- | data/templates/frr/policy.frr.tmpl | 3 | ||||
-rw-r--r-- | interface-definitions/policy.xml.in | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/data/templates/frr/policy.frr.tmpl b/data/templates/frr/policy.frr.tmpl index b5649b44e..57ab0f363 100644 --- a/data/templates/frr/policy.frr.tmpl +++ b/data/templates/frr/policy.frr.tmpl @@ -271,6 +271,9 @@ route-map {{ route_map }} {{ rule_config.action }} {{ rule }} {% if rule_config.set.large_community is defined and rule_config.set.large_community is not none %} set large-community {{ rule_config.set.large_community }} {% endif %} +{% if rule_config.set.large_comm_list_delete is defined and rule_config.set.large_comm_list_delete is not none %} + set large-comm-list {{ rule_config.set.large_comm_list_delete }} delete +{% endif %} {% if rule_config.set.local_preference is defined and rule_config.set.local_preference is not none %} set local-preference {{ rule_config.set.local_preference }} {% endif %} diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 5a3c58fa8..02da76be4 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -1124,6 +1124,18 @@ </completionHelp> </properties> </leafNode> + <leafNode name="large-comm-list-delete"> + <properties> + <help>Delete BGP communities matching the large community-list</help> + <completionHelp> + <path>policy large-community-list</path> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>BGP large community-list</description> + </valueHelp> + </properties> + </leafNode> <leafNode name="local-preference"> <properties> <help>Border Gateway Protocol (BGP) local preference attribute</help> |