summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-10 20:03:59 +0200
committerGitHub <noreply@github.com>2022-10-10 20:03:59 +0200
commitdfbec80fac0a524dfd8acb394f865b95a36a2436 (patch)
tree0db288a704757ff67c6c3cfd11b5bdaee33b4b2b /interface-definitions
parent9769f25fdf3bde3775ed5a0108543dc6e89745cf (diff)
parent47984a6de93b134820e21c04101c9e844c8fc00e (diff)
downloadvyos-1x-dfbec80fac0a524dfd8acb394f865b95a36a2436.tar.gz
vyos-1x-dfbec80fac0a524dfd8acb394f865b95a36a2436.zip
Merge pull request #1577 from sarthurdev/T4741
firewall: policy: T4741: T4742: Verify zone `from` is defined, autocomplete policy route tables
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/policy/route-common-rule-ipv6.xml.i4
-rw-r--r--interface-definitions/include/policy/route-common-rule.xml.i4
2 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/include/policy/route-common-rule-ipv6.xml.i b/interface-definitions/include/policy/route-common-rule-ipv6.xml.i
index cfeba1a6c..662206336 100644
--- a/interface-definitions/include/policy/route-common-rule-ipv6.xml.i
+++ b/interface-definitions/include/policy/route-common-rule-ipv6.xml.i
@@ -198,6 +198,10 @@
<validator name="numeric" argument="--range 1-200"/>
<regex>(main)</regex>
</constraint>
+ <completionHelp>
+ <list>main</list>
+ <path>protocols static table</path>
+ </completionHelp>
</properties>
</leafNode>
<leafNode name="tcp-mss">
diff --git a/interface-definitions/include/policy/route-common-rule.xml.i b/interface-definitions/include/policy/route-common-rule.xml.i
index 5a17dbc95..35fccca50 100644
--- a/interface-definitions/include/policy/route-common-rule.xml.i
+++ b/interface-definitions/include/policy/route-common-rule.xml.i
@@ -198,6 +198,10 @@
<validator name="numeric" argument="--range 1-200"/>
<regex>(main)</regex>
</constraint>
+ <completionHelp>
+ <list>main</list>
+ <path>protocols static table</path>
+ </completionHelp>
</properties>
</leafNode>
<leafNode name="tcp-mss">