diff options
Diffstat (limited to 'interface-definitions')
8 files changed, 8 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..3747a2a7e 100644 --- a/interface-definitions/interfaces-pppoe.xml.in +++ b/interface-definitions/interfaces-pppoe.xml.in @@ -128,19 +128,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> |