summaryrefslogtreecommitdiff
path: root/interface-definitions/policy.xml.in
diff options
context:
space:
mode:
authorfett0 <50275740+fett0@users.noreply.github.com>2022-05-31 01:46:07 -0300
committerGitHub <noreply@github.com>2022-05-31 06:46:07 +0200
commit0e32faf6db96262b0a6376b54be033b4b72477f2 (patch)
treefd1be7c11c2cd31330e46b65b8a20bb14a9cb6e3 /interface-definitions/policy.xml.in
parente771eab37de6841b4c3b9d98e8f974dacde34075 (diff)
downloadvyos-1x-0e32faf6db96262b0a6376b54be033b4b72477f2.tar.gz
vyos-1x-0e32faf6db96262b0a6376b54be033b4b72477f2.zip
IPv6: T3976: add prefix-list and access-list option from ipv6 route-map
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r--interface-definitions/policy.xml.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index aaed6286f..3b61877c5 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -821,6 +821,7 @@
</leafNode>
</children>
</node>
+ <!-- T3976 but it overwrite node nexthop
<leafNode name="nexthop">
<properties>
<help>IPv6 next-hop of route to match</help>
@@ -834,6 +835,47 @@
</properties>
</leafNode>
</children>
+ </node> -->
+ <node name="nexthop">
+ <properties>
+ <help>IPv6 next-hop of route to match</help>
+ </properties>
+ <children>
+ <leafNode name="address">
+ <properties>
+ <help>IPv6 address of next-hop</help>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>Nexthop IPv6 address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="access-list">
+ <properties>
+ <help>IPv6 access-list to match</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>IPV6 access list name</description>
+ </valueHelp>
+ <completionHelp>
+ <path>policy access-list6</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="prefix-list">
+ <properties>
+ <help>IPv6 prefix-list to match</help>
+ <completionHelp>
+ <path>policy prefix-list6</path>
+ </completionHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
+ </children>
</node>
<node name="large-community">
<properties>