summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/vpp/netlink.xml.i45
-rw-r--r--interface-definitions/vpp.xml.in72
2 files changed, 74 insertions, 43 deletions
diff --git a/interface-definitions/include/vpp/netlink.xml.i b/interface-definitions/include/vpp/netlink.xml.i
new file mode 100644
index 000000000..903100d00
--- /dev/null
+++ b/interface-definitions/include/vpp/netlink.xml.i
@@ -0,0 +1,45 @@
+<!-- include start from vpp/netlink.xml.i -->
+<node name="netlink">
+ <properties>
+ <help>Netlink options</help>
+ </properties>
+ <children>
+ <leafNode name="rx-buffer-size">
+ <properties>
+ <help>Receive buffer size</help>
+ <valueHelp>
+ <format>u32:0-4294967295</format>
+ <description>Receive buffer size</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="batch-size">
+ <properties>
+ <help>Batch size</help>
+ <valueHelp>
+ <format>u32:0-4294967295</format>
+ <description>Batch size</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="batch-delay-ms">
+ <properties>
+ <help>Batch delay</help>
+ <valueHelp>
+ <format>u32:0-4294967295</format>
+ <description>Batch delay (in ms)</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+</children>
+</node>
+<!-- include end -->
diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in
index fd25bbd85..1f1cb44cc 100644
--- a/interface-definitions/vpp.xml.in
+++ b/interface-definitions/vpp.xml.in
@@ -638,6 +638,34 @@
</leafNode>
</children>
</node>
+ <node name="ipsec">
+ <properties>
+ <help>IPsec settings</help>
+ </properties>
+ <children>
+ <leafNode name="interface-type">
+ <properties>
+ <help>IPsec interface type</help>
+ <completionHelp>
+ <list>ipsec ipip</list>
+ </completionHelp>
+ <valueHelp>
+ <format>ipsec</format>
+ <description>IPsec interface type</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipip</format>
+ <description>IPIP tunnel interface type</description>
+ </valueHelp>
+ <constraint>
+ <regex>(ipsec|ipip)</regex>
+ </constraint>
+ </properties>
+ <defaultValue>ipsec</defaultValue>
+ </leafNode>
+ #include <include/vpp/netlink.xml.i>
+ </children>
+ </node>
<node name="l2learn">
<properties>
<help>Level 2 MAC address learning settings</help>
@@ -663,49 +691,7 @@
<help>Linux control plane setting</help>
</properties>
<children>
- <node name="netlink">
- <properties>
- <help>Netlink options</help>
- </properties>
- <children>
- <leafNode name="rx-buffer-size">
- <properties>
- <help>Receive buffer size</help>
- <valueHelp>
- <format>u32:0-4294967295</format>
- <description>Receive buffer size</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 0-4294967295"/>
- </constraint>
- </properties>
- </leafNode>
- <leafNode name="batch-size">
- <properties>
- <help>Batch size</help>
- <valueHelp>
- <format>u32:0-4294967295</format>
- <description>Batch size</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 0-4294967295"/>
- </constraint>
- </properties>
- </leafNode>
- <leafNode name="batch-delay-ms">
- <properties>
- <help>Batch delay</help>
- <valueHelp>
- <format>u32:0-4294967295</format>
- <description>Batch delay (in ms)</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 0-4294967295"/>
- </constraint>
- </properties>
- </leafNode>
- </children>
- </node>
+ #include <include/vpp/netlink.xml.i>
<leafNode name="ignore-kernel-routes">
<properties>
<help>Ignore kernel routes</help>