summaryrefslogtreecommitdiff
path: root/interface-definitions/include/nat-outbound-interface.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-16 22:20:43 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-16 22:52:30 +0200
commit7d01f7fec95f65705ec886f4de8bce21e0bfee07 (patch)
treec34361e7c4a6d0f04eae4567fd2a7abb14c4a51a /interface-definitions/include/nat-outbound-interface.xml.i
parent9e305400f281a1ce558aab692f44426da0d76bcc (diff)
downloadvyos-1x-7d01f7fec95f65705ec886f4de8bce21e0bfee07.tar.gz
vyos-1x-7d01f7fec95f65705ec886f4de8bce21e0bfee07.zip
nat: nptv6: T2198: add XML/Python skeleton
- define XML CLI interface - read CLI into Python dict
Diffstat (limited to 'interface-definitions/include/nat-outbound-interface.xml.i')
-rw-r--r--interface-definitions/include/nat-outbound-interface.xml.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/include/nat-outbound-interface.xml.i b/interface-definitions/include/nat-outbound-interface.xml.i
new file mode 100644
index 000000000..d562f7f03
--- /dev/null
+++ b/interface-definitions/include/nat-outbound-interface.xml.i
@@ -0,0 +1,8 @@
+<leafNode name="outbound-interface">
+ <properties>
+ <help>Outbound interface of NAT traffic</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py</script>
+ </completionHelp>
+ </properties>
+</leafNode>