From 0d4d4dd840e06c18250d73f27de61261ff141944 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 3 Dec 2019 22:01:19 +0100 Subject: T1843: run interface-definitions though GCC preprocessor A lot of XML code is duplicated (VLAN, interface address) for instance. Such XML definitions should be moved to feature.xml.i files and then just pulled in via GCC preprocessor #include definition in e.g. bond or ethernet definitions. This will give us the ability to single-source repeating node definitions as: * Interface Address * Interface Description * Interface Disable * VLAN (both vif-s and vif-c) The .in suffix of the interface-definitions is a marker that those files are input files to the GCC preprocessor. They will be rendered into proper XML files in the build directory. Some node definitions have been reworder to remove escaped double quote occurances which would have been warned about by the GCC preprocessor. --- interface-definitions/interfaces-vxlan.xml | 151 ----------------------------- 1 file changed, 151 deletions(-) delete mode 100644 interface-definitions/interfaces-vxlan.xml (limited to 'interface-definitions/interfaces-vxlan.xml') diff --git a/interface-definitions/interfaces-vxlan.xml b/interface-definitions/interfaces-vxlan.xml deleted file mode 100644 index f93711741..000000000 --- a/interface-definitions/interfaces-vxlan.xml +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - Virtual extensible LAN interface (VXLAN) - 460 - - vxlan[0-9]+$ - - VXLAN interface must be named vxlanN - - vxlanN - VXLAN interface name - - - - - - IP address - - ipv4net - IPv4 address and prefix length - - - ipv6net - IPv6 address and prefix length - - - - - - - - - - Interface description - - ^.{1,256}$ - - Interface description too long (limit 256 characters) - - - - - Disable interface - - - - - - Multicast group address for VXLAN interface - - ipv4 - Multicast group address - - - - - - - - - - - ARP cache entry timeout in seconds - - 1-86400 - ARP cache entry timout in seconds (default 30) - - - - - ARP cache entry timeout must be between 1 and 86400 seconds - - - - - Enable proxy-arp on this interface - - - - - - - - Underlay device of VXLAN interface - - interface - Interface used for VXLAN underlay - - - - - - - - - Maximum Transmission Unit (MTU) - - 1450-9000 - Maximum Transmission Unit - - - - - MTU must be between 1450 and 9000 - - - - - Remote address of VXLAN tunnel - - ipv4 - Remote address of VXLAN tunnel - - - - - - - - - Destination port of VXLAN tunnel (default: 8472) - - 1-65535 - Numeric IP port - - - - - - - - - Virtual Network Identifier - - 0-16777214 - VXLAN virtual network identifier - - - - - - - - - - - -- cgit v1.2.3