From 48d44c5471e991f07aa97e726e251efd91e03b72 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 3 Dec 2019 22:40:11 +0100 Subject: T1843: recursively include IP address definitions in VIF/VIF-S definitions --- interface-definitions/include/vif-s.xml.i | 60 +---------------------- interface-definitions/include/vif.xml.i | 30 +----------- interface-definitions/interfaces-bonding.xml.in | 6 +-- interface-definitions/interfaces-bridge.xml.in | 2 +- interface-definitions/interfaces-dummy.xml.in | 2 +- interface-definitions/interfaces-ethernet.xml.in | 6 +-- interface-definitions/interfaces-geneve.xml.in | 2 +- interface-definitions/interfaces-loopback.xml.in | 2 +- interface-definitions/interfaces-vxlan.xml.in | 2 +- interface-definitions/interfaces-wireguard.xml.in | 2 +- interface-definitions/interfaces-wireless.xml.in | 4 +- 11 files changed, 17 insertions(+), 101 deletions(-) diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i index 9726e9156..8828aca13 100644 --- a/interface-definitions/include/vif-s.xml.i +++ b/interface-definitions/include/vif-s.xml.i @@ -7,35 +7,7 @@ VLAN ID must be between 0 and 4094 - - - IP address - - dhcp dhcpv6 - - - ipv4net - IPv4 address and prefix length - - - ipv6net - IPv6 address and prefix length - - - dhcp - Dynamic Host Configuration Protocol - - - dhcpv6 - Dynamic Host Configuration Protocol for IPv6 - - - - (dhcp|dhcpv6) - - - - + #include Interface description @@ -153,35 +125,7 @@ VLAN ID must be between 0 and 4094 - - - IP address - - dhcp dhcpv6 - - - ipv4net - IPv4 address and prefix length - - - ipv6net - IPv6 address and prefix length - - - dhcp - Dynamic Host Configuration Protocol - - - dhcpv6 - Dynamic Host Configuration Protocol for IPv6 - - - - (dhcp|dhcpv6) - - - - + #include Interface description diff --git a/interface-definitions/include/vif.xml.i b/interface-definitions/include/vif.xml.i index c6268dbe5..489107ece 100644 --- a/interface-definitions/include/vif.xml.i +++ b/interface-definitions/include/vif.xml.i @@ -11,35 +11,7 @@ VLAN ID must be between 0 and 4094 - - - IP address - - dhcp dhcpv6 - - - ipv4net - IPv4 address and prefix length - - - ipv6net - IPv6 address and prefix length - - - dhcp - Dynamic Host Configuration Protocol - - - dhcpv6 - Dynamic Host Configuration Protocol for IPv6 - - - - (dhcp|dhcpv6) - - - - + #include Interface description diff --git a/interface-definitions/interfaces-bonding.xml.in b/interface-definitions/interfaces-bonding.xml.in index 2f32c7263..f24577100 100644 --- a/interface-definitions/interfaces-bonding.xml.in +++ b/interface-definitions/interfaces-bonding.xml.in @@ -16,7 +16,7 @@ - #include "include/address-ipv4-ipv6-dhcp.xml.i" + #include ARP link monitoring parameters @@ -254,8 +254,8 @@ - #include "include/vif-s.xml.i" - #include "include/vif.xml.i" + #include + #include diff --git a/interface-definitions/interfaces-bridge.xml.in b/interface-definitions/interfaces-bridge.xml.in index 4dbfa7d91..e255e3879 100644 --- a/interface-definitions/interfaces-bridge.xml.in +++ b/interface-definitions/interfaces-bridge.xml.in @@ -16,7 +16,7 @@ - #include "include/address-ipv4-ipv6-dhcp.xml.i" + #include MAC address aging interval diff --git a/interface-definitions/interfaces-dummy.xml.in b/interface-definitions/interfaces-dummy.xml.in index a253bfe81..dfbbb8b36 100644 --- a/interface-definitions/interfaces-dummy.xml.in +++ b/interface-definitions/interfaces-dummy.xml.in @@ -16,7 +16,7 @@ - #include "include/address-ipv4-ipv6.xml.i" + #include Interface description diff --git a/interface-definitions/interfaces-ethernet.xml.in b/interface-definitions/interfaces-ethernet.xml.in index fee17840c..6bf72defa 100644 --- a/interface-definitions/interfaces-ethernet.xml.in +++ b/interface-definitions/interfaces-ethernet.xml.in @@ -20,7 +20,7 @@ - #include "include/address-ipv4-ipv6-dhcp.xml.i" + #include Interface description @@ -368,8 +368,8 @@ Speed must be auto, 10, 100, 1000, 2500, 5000, 10000, 25000, 40000, 50000 or 100000 - #include "include/vif-s.xml.i" - #include "include/vif.xml.i" + #include + #include diff --git a/interface-definitions/interfaces-geneve.xml.in b/interface-definitions/interfaces-geneve.xml.in index 7b27c46f3..28e3d6aa6 100644 --- a/interface-definitions/interfaces-geneve.xml.in +++ b/interface-definitions/interfaces-geneve.xml.in @@ -16,7 +16,7 @@ - #include "include/address-ipv4-ipv6.xml.i" + #include Interface description diff --git a/interface-definitions/interfaces-loopback.xml.in b/interface-definitions/interfaces-loopback.xml.in index 074a5c7cb..0f1e4097a 100644 --- a/interface-definitions/interfaces-loopback.xml.in +++ b/interface-definitions/interfaces-loopback.xml.in @@ -16,7 +16,7 @@ - #include "include/address-ipv4-ipv6.xml.i" + #include Interface description diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in index 7cc6cd35a..070bfb87b 100644 --- a/interface-definitions/interfaces-vxlan.xml.in +++ b/interface-definitions/interfaces-vxlan.xml.in @@ -16,7 +16,7 @@ - #include "include/address-ipv4-ipv6.xml.i" + #include Interface description diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in index dd19d4ec0..b6bc3e6e8 100644 --- a/interface-definitions/interfaces-wireguard.xml.in +++ b/interface-definitions/interfaces-wireguard.xml.in @@ -17,7 +17,7 @@ - #include "include/address-ipv4-ipv6.xml.i" + #include description diff --git a/interface-definitions/interfaces-wireless.xml.in b/interface-definitions/interfaces-wireless.xml.in index 4d7e5735a..d876a76af 100644 --- a/interface-definitions/interfaces-wireless.xml.in +++ b/interface-definitions/interfaces-wireless.xml.in @@ -16,7 +16,7 @@ - #include "include/address-ipv4-ipv6-dhcp.xml.i" + #include HT and VHT capabilities for your card @@ -815,7 +815,7 @@ Type must be access-point, station or monitor - #include "include/vif.xml.i" + #include -- cgit v1.2.3