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/vrrp.xml | 255 ----------------------------------------- 1 file changed, 255 deletions(-) delete mode 100644 interface-definitions/vrrp.xml (limited to 'interface-definitions/vrrp.xml') diff --git a/interface-definitions/vrrp.xml b/interface-definitions/vrrp.xml deleted file mode 100644 index 2884ef613..000000000 --- a/interface-definitions/vrrp.xml +++ /dev/null @@ -1,255 +0,0 @@ - - - - - High availability settings - - - - - 800 - Virtual Router Redundancy Protocol settings - - - - - VRRP group - - - - - Network interface - - - - - - - - Advertise interval - - 1-255 - Advertise interval in seconds (default: 1) - - - - - - - - - VRRP authentication - - - - - VRRP password - - text - Password string (up to 8 characters) - - - .{1,8} - - Password must not be longer than 8 characters - - - - - Authentication type - - plaintext-password ah - - - (plaintext-password|ah) - - Authentication type must be plaintext-password or ah - - - - - - - Group description - - - - - - Disable VRRP group - - - - - Health check script - - - - - Health check failure count required for transition to fault (default: 3) - - - - - - - - Health check execution interval in seconds (default: 60) - - - - - - - - Health check script file - - - - - - - - - - VRRP hello source address (IPv4 or IPv6) - - - - - - <IPv4|IPv6> - IPv4 or IPv6 hello source address - - - - - - Unicast VRRP peer address (IPv4 or IPv6) - - - - - - <IPv4|IPv6> - IPv4 or IPv6 unicast peer address - - - - - - - Disable master preemption - - - - - Preempt delay (in seconds) - - - - - - - - Router priority - - - - - 1-255 - Router priority (default: 100) - - - - - - - Use VRRP virtual MAC address as per RFC3768 - - - - - VRRP transition scripts - - - - - Script to run on VRRP state transition to master - - - - - - - - Script to run on VRRP state transition to backup - - - - - - - - Script to run on VRRP state transition to fault - - - - - - - - - - - Virtual address (IPv4 or IPv6, but they must not be mixed in one group) - - - - - Virtual address must be a valid IPv4 or IPv6 address with prefix length (e.g. 192.0.2.3/24 or 2001:db8:ff::10/64) - - <IPv4|IPv6> - IPv4 or IPv6 virtual address - - - - - - Virtual router identifier - - - - - 1-255 - Virtual router identifier - - - - - - - - VRRP sync group - - - - - - Sync group member - - text - VRRP group name - - - high-availability vrrp group - - - - - - - - - - -- cgit v1.2.3