Fix missing IP_PROTO in slicing classifier flows
Also update traffic selector comparison logic to account for different
ordering of criteria (since we now send more than one criterion for each
selector)
Also 2, remove dead code related to adding/removing slices and traffic
classes.
Change-Id: I25ff416c8413e24f641da35f50c69cda78a77e77
diff --git a/TestON/tests/USECASE/SegmentRouting/QOSNonMobile/QOSNonMobile.params b/TestON/tests/USECASE/SegmentRouting/QOSNonMobile/QOSNonMobile.params
index 56e859a..51c916e 100644
--- a/TestON/tests/USECASE/SegmentRouting/QOSNonMobile/QOSNonMobile.params
+++ b/TestON/tests/USECASE/SegmentRouting/QOSNonMobile/QOSNonMobile.params
@@ -41,20 +41,28 @@
<slice_id>1</slice_id>
<traffic_class>BEST_EFFORT</traffic_class>
<traffic_selector>
- <criteria1>
+ <ipProto>
+ <type>IP_PROTO</type>
+ <protocol>17</protocol>
+ </ipProto>
+ <udpDst>
<type>UDP_DST</type>
<udpPort>100</udpPort>
- </criteria1>
+ </udpDst>
</traffic_selector>
</slice_1_be>
<slice_1_rt>
<slice_id>1</slice_id>
<traffic_class>REAL_TIME</traffic_class>
<traffic_selector>
- <criteria1>
+ <ipProto>
+ <type>IP_PROTO</type>
+ <protocol>17</protocol>
+ </ipProto>
+ <udpDst>
<type>UDP_DST</type>
<udpPort>200</udpPort>
- </criteria1>
+ </udpDst>
</traffic_selector>
</slice_1_rt>
</traffic_classification>