summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/interface-mtu-1200-9000.xml.i1
-rw-r--r--interface-definitions/include/interface-mtu-1450-9000.xml.i1
-rw-r--r--interface-definitions/include/interface-mtu-64-8024.xml.i1
-rw-r--r--interface-definitions/include/interface-mtu-68-1500.xml.i1
-rw-r--r--interface-definitions/include/interface-mtu-68-9000.xml.i1
-rw-r--r--interface-definitions/interfaces-macsec.xml.in1
-rw-r--r--interface-definitions/interfaces-pppoe.xml.in15
-rw-r--r--interface-definitions/interfaces-wirelessmodem.xml.in1
8 files changed, 9 insertions, 13 deletions
diff --git a/interface-definitions/include/interface-mtu-1200-9000.xml.i b/interface-definitions/include/interface-mtu-1200-9000.xml.i
index 336845b77..de48db65e 100644
--- a/interface-definitions/include/interface-mtu-1200-9000.xml.i
+++ b/interface-definitions/include/interface-mtu-1200-9000.xml.i
@@ -10,4 +10,5 @@
</constraint>
<constraintErrorMessage>MTU must be between 1200 and 9000</constraintErrorMessage>
</properties>
+ <defaultValue>1500</defaultValue>
</leafNode>
diff --git a/interface-definitions/include/interface-mtu-1450-9000.xml.i b/interface-definitions/include/interface-mtu-1450-9000.xml.i
index 87296a050..d15987394 100644
--- a/interface-definitions/include/interface-mtu-1450-9000.xml.i
+++ b/interface-definitions/include/interface-mtu-1450-9000.xml.i
@@ -10,4 +10,5 @@
</constraint>
<constraintErrorMessage>MTU must be between 1450 and 9000</constraintErrorMessage>
</properties>
+ <defaultValue>1500</defaultValue>
</leafNode>
diff --git a/interface-definitions/include/interface-mtu-64-8024.xml.i b/interface-definitions/include/interface-mtu-64-8024.xml.i
index e917c816f..e60867e35 100644
--- a/interface-definitions/include/interface-mtu-64-8024.xml.i
+++ b/interface-definitions/include/interface-mtu-64-8024.xml.i
@@ -10,4 +10,5 @@
</constraint>
<constraintErrorMessage>MTU must be between 64 and 8024</constraintErrorMessage>
</properties>
+ <defaultValue>1500</defaultValue>
</leafNode>
diff --git a/interface-definitions/include/interface-mtu-68-1500.xml.i b/interface-definitions/include/interface-mtu-68-1500.xml.i
index 81223c332..d47efd2c9 100644
--- a/interface-definitions/include/interface-mtu-68-1500.xml.i
+++ b/interface-definitions/include/interface-mtu-68-1500.xml.i
@@ -10,4 +10,5 @@
</constraint>
<constraintErrorMessage>MTU must be between 68 and 1500</constraintErrorMessage>
</properties>
+ <defaultValue>1500</defaultValue>
</leafNode>
diff --git a/interface-definitions/include/interface-mtu-68-9000.xml.i b/interface-definitions/include/interface-mtu-68-9000.xml.i
index ad11afa80..8fae2043c 100644
--- a/interface-definitions/include/interface-mtu-68-9000.xml.i
+++ b/interface-definitions/include/interface-mtu-68-9000.xml.i
@@ -10,4 +10,5 @@
</constraint>
<constraintErrorMessage>MTU must be between 68 and 9000</constraintErrorMessage>
</properties>
+ <defaultValue>1500</defaultValue>
</leafNode>
diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in
index 36605ab59..dfef387d2 100644
--- a/interface-definitions/interfaces-macsec.xml.in
+++ b/interface-definitions/interfaces-macsec.xml.in
@@ -83,6 +83,7 @@
<validator name="numeric" argument="--range 0-255" />
</constraint>
</properties>
+ <defaultValue>255</defaultValue>
</leafNode>
</children>
</node>
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in
index 0092f9ce5..8a6c61312 100644
--- a/interface-definitions/interfaces-pppoe.xml.in
+++ b/interface-definitions/interfaces-pppoe.xml.in
@@ -71,6 +71,7 @@
<description>Replace existing default route</description>
</valueHelp>
</properties>
+ <defaultValue>auto</defaultValue>
</leafNode>
#include <include/dhcpv6-options.xml.i>
#include <include/interface-description.xml.i>
@@ -128,19 +129,7 @@
</constraint>
</properties>
</leafNode>
- <leafNode name="mtu">
- <properties>
- <help>Maximum Transmission Unit (MTU)</help>
- <valueHelp>
- <format>68-1500</format>
- <description>Maximum Transmission Unit (default 1492)</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 68-1500"/>
- </constraint>
- <constraintErrorMessage>MTU must be between 68 and 1500</constraintErrorMessage>
- </properties>
- </leafNode>
+ #include <include/interface-mtu-68-1500.xml.i>
<leafNode name="no-peer-dns">
<properties>
<help>Do not use DNS servers provided by the peer</help>
diff --git a/interface-definitions/interfaces-wirelessmodem.xml.in b/interface-definitions/interfaces-wirelessmodem.xml.in
index 8b68594da..d375b808d 100644
--- a/interface-definitions/interfaces-wirelessmodem.xml.in
+++ b/interface-definitions/interfaces-wirelessmodem.xml.in
@@ -38,6 +38,7 @@
</constraint>
<constraintErrorMessage>Must be between (1-255)</constraintErrorMessage>
</properties>
+ <defaultValue>10</defaultValue>
</leafNode>
</children>
</node>