diff options
author | Henning Surmeier <me@hensur.de> | 2022-01-28 23:55:06 +0100 |
---|---|---|
committer | Henning Surmeier <me@hensur.de> | 2022-02-16 17:59:56 +0100 |
commit | 72d7152f794cfe48821797d62865024c1843096e (patch) | |
tree | 4e512f097152a277cacb03b219eb8bed71d67ba3 /interface-definitions | |
parent | ad26e92a5dccb4a7b6777d11781c323af2557db7 (diff) | |
download | vyos-1x-72d7152f794cfe48821797d62865024c1843096e.tar.gz vyos-1x-72d7152f794cfe48821797d62865024c1843096e.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.i | 10 | ||||
-rw-r--r-- | interface-definitions/policy-local-route.xml.in | 2 |
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 1c9d94ec5..7abf0dc0b 100644 --- a/interface-definitions/policy-local-route.xml.in +++ b/interface-definitions/policy-local-route.xml.in @@ -76,6 +76,7 @@ <multi/> </properties> </leafNode> + #include <include/interface/inbound-interface.xml.i> </children> </tagNode> </children> @@ -165,6 +166,7 @@ <multi/> </properties> </leafNode> + #include <include/interface/inbound-interface.xml.i> </children> </tagNode> </children> |