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-02-23 22:13:40 +0100
commit7c50d232857adf9adca09a8db55420dcd04fc4e1 (patch)
tree36735d765fa3bca4821a251b0c42189f9bca8ce8 /interface-definitions
parent69ccb1899a47f86c367ca0a9c05356f039ba5bf6 (diff)
downloadvyos-1x-7c50d232857adf9adca09a8db55420dcd04fc4e1.tar.gz
vyos-1x-7c50d232857adf9adca09a8db55420dcd04fc4e1.zip
backport: 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>