summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorHenning Surmeier <me@hensur.de>2022-01-28 23:55:06 +0100
committerHenning Surmeier <me@hensur.de>2022-01-30 18:05:58 +0100
commitc6c562eca6ff469f603697f7f1d9319b2a5504a3 (patch)
tree6aafaa12658515f0a36969d09d319b348dcc1768 /interface-definitions
parent0a0d4abc02da89f68d453495ec002d2afecfca7b (diff)
downloadvyos-1x-c6c562eca6ff469f603697f7f1d9319b2a5504a3.tar.gz
vyos-1x-c6c562eca6ff469f603697f7f1d9319b2a5504a3.zip
policy: T4219: add local-route(6) incoming-interface
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/interface/inbound-interface.xml.i10
-rw-r--r--interface-definitions/policy-local-route.xml.in2
2 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/inbound-interface.xml.i b/interface-definitions/include/interface/inbound-interface.xml.i
new file mode 100644
index 000000000..5a8d47280
--- /dev/null
+++ b/interface-definitions/include/interface/inbound-interface.xml.i
@@ -0,0 +1,10 @@
+<!-- include start from interface/inbound-interface.xml.i -->
+<leafNode name="inbound-interface">
+ <properties>
+ <help>Inbound Interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+</leafNode>
+<!-- include end -->
diff --git a/interface-definitions/policy-local-route.xml.in b/interface-definitions/policy-local-route.xml.in
index 11b1e04d9..573a7963f 100644
--- a/interface-definitions/policy-local-route.xml.in
+++ b/interface-definitions/policy-local-route.xml.in
@@ -88,6 +88,7 @@
<multi/>
</properties>
</leafNode>
+ #include <include/interface/inbound-interface.xml.i>
</children>
</tagNode>
</children>
@@ -177,6 +178,7 @@
<multi/>
</properties>
</leafNode>
+ #include <include/interface/inbound-interface.xml.i>
</children>
</tagNode>
</children>