From 5563bcd9eaef5d5d8a020b92d43a86028e3c26c1 Mon Sep 17 00:00:00 2001 From: Roman Khramshin Date: Fri, 31 May 2024 16:04:42 +0700 Subject: T5307: QoS - traffic-class-map services (#3492) added new syntax to work with class match filters in QoS policy --- .../include/qos/class-match-group.xml.i | 15 ++++ .../include/qos/class-match-ipv4.xml.i | 31 ++++++++ .../include/qos/class-match-ipv6.xml.i | 31 ++++++++ .../include/qos/class-match-mark.xml.i | 14 ++++ .../include/qos/class-match-vif.xml.i | 15 ++++ .../include/qos/class-match.xml.i | 89 ++-------------------- 6 files changed, 111 insertions(+), 84 deletions(-) create mode 100644 interface-definitions/include/qos/class-match-group.xml.i create mode 100644 interface-definitions/include/qos/class-match-ipv4.xml.i create mode 100644 interface-definitions/include/qos/class-match-ipv6.xml.i create mode 100644 interface-definitions/include/qos/class-match-mark.xml.i create mode 100644 interface-definitions/include/qos/class-match-vif.xml.i (limited to 'interface-definitions/include/qos') diff --git a/interface-definitions/include/qos/class-match-group.xml.i b/interface-definitions/include/qos/class-match-group.xml.i new file mode 100644 index 000000000..40e3b7259 --- /dev/null +++ b/interface-definitions/include/qos/class-match-group.xml.i @@ -0,0 +1,15 @@ + + + + Filter group for QoS policy + + txt + Match group name + + + + + + + + diff --git a/interface-definitions/include/qos/class-match-ipv4.xml.i b/interface-definitions/include/qos/class-match-ipv4.xml.i new file mode 100644 index 000000000..dc44d32d5 --- /dev/null +++ b/interface-definitions/include/qos/class-match-ipv4.xml.i @@ -0,0 +1,31 @@ + + + + Match IP protocol header + + + + + Match on destination port or address + + + #include + #include + + + #include + #include + #include + + + Match on source port or address + + + #include + #include + + + #include + + + diff --git a/interface-definitions/include/qos/class-match-ipv6.xml.i b/interface-definitions/include/qos/class-match-ipv6.xml.i new file mode 100644 index 000000000..ed7aceff9 --- /dev/null +++ b/interface-definitions/include/qos/class-match-ipv6.xml.i @@ -0,0 +1,31 @@ + + + + Match IPv6 protocol header + + + + + Match on destination port or address + + + #include + #include + + + #include + #include + #include + + + Match on source port or address + + + #include + #include + + + #include + + + diff --git a/interface-definitions/include/qos/class-match-mark.xml.i b/interface-definitions/include/qos/class-match-mark.xml.i new file mode 100644 index 000000000..a7481c6aa --- /dev/null +++ b/interface-definitions/include/qos/class-match-mark.xml.i @@ -0,0 +1,14 @@ + + + + Match on mark applied by firewall + + u32 + FW mark to match + + + + + + + diff --git a/interface-definitions/include/qos/class-match-vif.xml.i b/interface-definitions/include/qos/class-match-vif.xml.i new file mode 100644 index 000000000..ec58db606 --- /dev/null +++ b/interface-definitions/include/qos/class-match-vif.xml.i @@ -0,0 +1,15 @@ + + + + Virtual Local Area Network (VLAN) ID for this match + + u32:0-4095 + Virtual Local Area Network (VLAN) tag + + + + + VLAN ID must be between 0 and 4095 + + + diff --git a/interface-definitions/include/qos/class-match.xml.i b/interface-definitions/include/qos/class-match.xml.i index 4ba12f8f7..77d1933a3 100644 --- a/interface-definitions/include/qos/class-match.xml.i +++ b/interface-definitions/include/qos/class-match.xml.i @@ -5,7 +5,7 @@ [^-].* - Match queue name cannot start with hyphen (-) + Match queue name cannot start with hyphen #include @@ -89,89 +89,10 @@ #include - - - Match IP protocol header - - - - - Match on destination port or address - - - #include - #include - - - #include - #include - #include - - - Match on source port or address - - - #include - #include - - - #include - - - - - Match IPv6 protocol header - - - - - Match on destination port or address - - - #include - #include - - - #include - #include - #include - - - Match on source port or address - - - #include - #include - - - #include - - - - - Match on mark applied by firewall - - u32 - FW mark to match - - - - - - - - - Virtual Local Area Network (VLAN) ID for this match - - u32:0-4095 - Virtual Local Area Network (VLAN) tag - - - - - VLAN ID must be between 0 and 4095 - - + #include + #include + #include + #include -- cgit v1.2.3