diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-30 15:00:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 15:00:48 +0200 |
commit | 4c93173548151cf374097131f7cd4226dcc3075b (patch) | |
tree | de05481c3d6184439a0e343e3f50594ecd8396f7 /interface-definitions/policy.xml.in | |
parent | 96a88c1990a974c5291553e8b9cd3220795366fb (diff) | |
parent | fda276bd0bb60f0ac4289103956e07c66c8e0f1e (diff) | |
download | vyos-1x-4c93173548151cf374097131f7cd4226dcc3075b.tar.gz vyos-1x-4c93173548151cf374097131f7cd4226dcc3075b.zip |
Merge pull request #1342 from nicolas-fort/T4450
Policy: T4450: Expand options for ip|ipv6 address match.
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r-- | interface-definitions/policy.xml.in | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index d4aa4e024..aaed6286f 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -637,6 +637,18 @@ </completionHelp> </properties> </leafNode> + <leafNode name="prefix-len"> + <properties> + <help>IP prefix-length to match</help> + <valueHelp> + <format>u32:0-32</format> + <description>Prefix length</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-32"/> + </constraint> + </properties> + </leafNode> </children> </node> <!-- T3304 but it overwrite node nexthop @@ -692,7 +704,7 @@ </leafNode> <leafNode name="prefix-len"> <properties> - <help>IP prefix-lenght to match</help> + <help>IP prefix-length to match</help> <valueHelp> <format>u32:0-32</format> <description>Prefix length</description> @@ -729,7 +741,7 @@ </node> <node name="route-source"> <properties> - <help>test</help> + <help>Match advertising source address of route</help> </properties> <children> <leafNode name="access-list"> @@ -795,6 +807,18 @@ </completionHelp> </properties> </leafNode> + <leafNode name="prefix-len"> + <properties> + <help>IPv6 prefix-length to match</help> + <valueHelp> + <format>u32:0-128</format> + <description>Prefix length</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 0-128"/> + </constraint> + </properties> + </leafNode> </children> </node> <leafNode name="nexthop"> |