From 1053b331172277f7e3b2714fca84da7db4eb6221 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 6 Dec 2019 18:08:54 +0100 Subject: T1843: use include files for interface MTU size --- .../include/interface-mtu-1450-9000.xml.i | 13 ++++++++++ .../include/interface-mtu-68-9000.xml.i | 13 ++++++++++ interface-definitions/include/vif-s.xml.i | 28 ++-------------------- interface-definitions/include/vif.xml.i | 14 +---------- 4 files changed, 29 insertions(+), 39 deletions(-) create mode 100644 interface-definitions/include/interface-mtu-1450-9000.xml.i create mode 100644 interface-definitions/include/interface-mtu-68-9000.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/interface-mtu-1450-9000.xml.i b/interface-definitions/include/interface-mtu-1450-9000.xml.i new file mode 100644 index 000000000..87296a050 --- /dev/null +++ b/interface-definitions/include/interface-mtu-1450-9000.xml.i @@ -0,0 +1,13 @@ + + + Maximum Transmission Unit (MTU) + + 1450-9000 + Maximum Transmission Unit + + + + + MTU must be between 1450 and 9000 + + diff --git a/interface-definitions/include/interface-mtu-68-9000.xml.i b/interface-definitions/include/interface-mtu-68-9000.xml.i new file mode 100644 index 000000000..ad11afa80 --- /dev/null +++ b/interface-definitions/include/interface-mtu-68-9000.xml.i @@ -0,0 +1,13 @@ + + + Maximum Transmission Unit (MTU) + + 68-9000 + Maximum Transmission Unit + + + + + MTU must be between 68 and 9000 + + diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i index 3cb28d7e0..a109eed6b 100644 --- a/interface-definitions/include/vif-s.xml.i +++ b/interface-definitions/include/vif-s.xml.i @@ -38,19 +38,7 @@ #include - - - Maximum Transmission Unit (MTU) - - 68-9000 - Maximum Transmission Unit - - - - - MTU must be between 68 and 9000 - - + #include QinQ TAG-C Virtual Local Area Network (VLAN) ID @@ -71,19 +59,7 @@ #include #include - - - Maximum Transmission Unit (MTU) - - 68-9000 - Maximum Transmission Unit - - - - - MTU must be between 68 and 9000 - - + #include diff --git a/interface-definitions/include/vif.xml.i b/interface-definitions/include/vif.xml.i index 954803319..c74d7815e 100644 --- a/interface-definitions/include/vif.xml.i +++ b/interface-definitions/include/vif.xml.i @@ -75,18 +75,6 @@ #include - - - Maximum Transmission Unit (MTU) - - 68-9000 - Maximum Transmission Unit - - - - - MTU must be between 68 and 9000 - - + #include -- cgit v1.2.3