diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-16 20:23:18 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-16 20:23:18 +0200 |
commit | 3a90c7a333ef90fea6cd520483d5849fc979f614 (patch) | |
tree | aa813a7a945acaa0dd863a6042edfd24e8ed8d38 /interface-definitions/policy.xml.in | |
parent | 6cfcf7a761adb3e51f9279611435a39a1424e9c9 (diff) | |
download | vyos-1x-3a90c7a333ef90fea6cd520483d5849fc979f614.tar.gz vyos-1x-3a90c7a333ef90fea6cd520483d5849fc979f614.zip |
policy: T3631: migrate "set extcommunity-rt/soo" to "set extcommunity rt|soo"
Thi adds a new configuration level "set extcommunity" which then holds rt and
soo als leaf-nodes below. This is the foundational work required to
properly implement T3624 ("BGP: add support for extended community bandwidth
definition")
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r-- | interface-definitions/policy.xml.in | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 195e074a3..1b37c93b0 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -1007,24 +1007,31 @@ </constraint> </properties> </leafNode> - <leafNode name="extcommunity-rt"> + <node name="extcommunity"> <properties> - <help>Set route target value</help> - <valueHelp> - <format>txt</format> - <description>ASN:nn_or_IP_address:nn VPN extended community</description> - </valueHelp> + <help>BGP extended community attribute</help> </properties> - </leafNode> - <leafNode name="extcommunity-soo"> - <properties> - <help>Set Site of Origin value</help> - <valueHelp> - <format>txt</format> - <description>ASN:nn_or_IP_address:nn VPN extended community</description> - </valueHelp> - </properties> - </leafNode> + <children> + <leafNode name="rt"> + <properties> + <help>Set route target value</help> + <valueHelp> + <format>txt</format> + <description>ASN:nn_or_IP_address:nn VPN extended community</description> + </valueHelp> + </properties> + </leafNode> + <leafNode name="soo"> + <properties> + <help>Set Site of Origin value</help> + <valueHelp> + <format>txt</format> + <description>ASN:nn_or_IP_address:nn VPN extended community</description> + </valueHelp> + </properties> + </leafNode> + </children> + </node> <leafNode name="ip-next-hop"> <properties> <help>Nexthop IP address</help> |