From 4ef110fd2c501b718344c72d495ad7e16d2bd465 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 30 Dec 2023 23:25:20 +0100 Subject: T5474: establish common file name pattern for XML conf mode commands We will use _ as CLI level divider. The XML definition filename and also the Python helper should match the CLI node. Example: set interfaces ethernet -> interfaces_ethernet.xml.in set interfaces bond -> interfaces_bond.xml.in set service dhcp-server -> service_dhcp-server-xml.in --- interface-definitions/interfaces_bridge.xml.in | 226 +++++++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 interface-definitions/interfaces_bridge.xml.in (limited to 'interface-definitions/interfaces_bridge.xml.in') diff --git a/interface-definitions/interfaces_bridge.xml.in b/interface-definitions/interfaces_bridge.xml.in new file mode 100644 index 000000000..d4d277cfc --- /dev/null +++ b/interface-definitions/interfaces_bridge.xml.in @@ -0,0 +1,226 @@ + + + + + + + Bridge Interface + 310 + + br[0-9]+ + + Bridge interface must be named brN + + brN + Bridge interface name + + + + #include + + + MAC address aging interval + + u32:0 + Disable MAC address learning (always flood) + + + u32:10-1000000 + MAC address aging time in seconds + + + + + + 300 + + #include + #include + #include + #include + #include + #include + #include + + + Forwarding delay + + u32:0-200 + Spanning Tree Protocol forwarding delay in seconds + + + + + Forwarding delay must be between 0 and 200 seconds + + 14 + + + + Hello packet advertisement interval + + u32:1-10 + Spanning Tree Protocol hello advertisement interval in seconds + + + + + Bridge Hello interval must be between 1 and 10 seconds + + 2 + + + + Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) settings + + + + + Enable IGMP/MLD querier + + + + + + Enable IGMP/MLD snooping + + + + + + #include + #include + #include + #include + + + Enable VLAN aware bridge + + + + + + Interval at which neighbor bridges are removed + + u32:1-40 + Bridge maximum aging time in seconds + + + + + Bridge max aging value must be between 1 and 40 seconds + + 20 + + + + Bridge member interfaces + + + + + Member interface name + + + + + #include + + + + + + Specify VLAN id which should natively be present on the link + + u32:1-4094 + Virtual Local Area Network (VLAN) ID + + + + + VLAN ID must be between 1 and 4094 + + + + + Specify VLAN id which is allowed in this trunk interface + + <id> + VLAN id allowed to pass this interface + + + <idN>-<idM> + VLAN id range allowed on this interface (use '-' as delimiter) + + + + + not a valid VLAN ID value or range + + + + + + Bridge port cost + + u32:1-65535 + Path cost value for Spanning Tree Protocol + + + + + Path cost value must be between 1 and 65535 + + 100 + + + + Bridge port priority + + u32:0-63 + Bridge port priority + + + + + Port priority value must be between 0 and 63 + + 32 + + + + Port is isolated (also known as Private-VLAN) + + + + + + + + + + Priority for this bridge + + u32:0-65535 + Bridge priority + + + + + Bridge priority must be between 0 and 65535 (multiples of 4096) + + 32768 + + + + Enable spanning tree protocol + + + + #include + #include + + + + + -- cgit v1.2.3