summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-31 19:26:56 +0100
committerGitHub <noreply@github.com>2022-01-31 19:26:56 +0100
commitb3066e73ff48da560ae5ba56de4c8f2e9e94d3c2 (patch)
treef4508c7d3d5efd93a39f970d8460366d3bc26f26 /interface-definitions
parent36e54482a242e785c7a052035549bb45a117ea9a (diff)
parentc6c562eca6ff469f603697f7f1d9319b2a5504a3 (diff)
downloadvyos-1x-b3066e73ff48da560ae5ba56de4c8f2e9e94d3c2.tar.gz
vyos-1x-b3066e73ff48da560ae5ba56de4c8f2e9e94d3c2.zip
Merge pull request #1196 from hensur/current-ipv6-local-route-iif
policy: T4219: add local-route(6) inbound-interface support
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>