瀏覽代碼

Added more regression tests.

AdrianSimionov 10 年之前
父節點
當前提交
08ef5d09d5

二進制
tests/TLV_22_43_1_CMLoadBalancingPolicyID.cm


+ 27 - 0
tests/TLV_22_43_1_CMLoadBalancingPolicyID.conf

@@ -0,0 +1,27 @@
+Main 
+{
+	UsPacketClass
+	{
+		VendorSpecific
+		{
+			VendorIdentifier 0xffffff;
+			CMLoadBalancingPolicyID 1;
+		}
+		ClassifierRef 1;
+		ServiceFlowRef 1;
+	}
+	NetworkAccess 1;
+	UsServiceFlow
+	{
+		UsServiceFlowRef 1;
+		QosParamSetType 7;
+	}
+	DsServiceFlow
+	{
+		DsServiceFlowRef 2;
+		QosParamSetType 7;
+	}
+	/* CmMic 1ee30a5b0e4fc7145c100334f629f6a9; */
+	/* CmtsMic 6fb8b4bfc5418367a83990f7d7a9a094; */
+	/*EndOfDataMkr*/
+}

+ 24 - 0
tests/TLV_22_43_1_CMLoadBalancingPolicyID.txt

@@ -0,0 +1,24 @@
+Main 
+{
+UsPacketClass
+{
+VendorSpecific
+{
+VendorIdentifier 0xffffff;
+CMLoadBalancingPolicyID 1;
+}
+ClassifierRef 1;
+ServiceFlowRef 1;
+}
+NetworkAccess 1;
+UsServiceFlow
+{
+UsServiceFlowRef 1;
+QosParamSetType 7;
+}
+DsServiceFlow
+{
+DsServiceFlowRef 2;
+QosParamSetType 7;
+}
+}

二進制
tests/TLV_22_43_2_AND_3.cm


+ 29 - 0
tests/TLV_22_43_2_AND_3.conf

@@ -0,0 +1,29 @@
+Main 
+{
+	NetworkAccess 1;
+	UsServiceFlow
+	{
+		UsServiceFlowRef 1;
+		QosParamSetType 7;
+	}
+	DsServiceFlow
+	{
+		DsServiceFlowRef 2;
+		QosParamSetType 7;
+	}
+	UsPacketClass
+	{
+		VendorSpecific
+		{
+			VendorIdentifier 0xffffff;
+			CMLoadBalancingPriority 1;
+			CMLoadBalancingGroupID 1;
+		}
+		ClassifierRef 1;
+		ServiceFlowRef 1;
+	}
+	/* CmMic eeaee880f0476c1a52c87e7869eb339a; */
+	/* CmtsMic 44c36771e83efbe9f58d5a895fe5720f; */
+	/*EndOfDataMkr*/
+	/* Pad */
+}

+ 25 - 0
tests/TLV_22_43_2_AND_3.txt

@@ -0,0 +1,25 @@
+Main 
+{
+NetworkAccess 1;
+UsServiceFlow
+{
+UsServiceFlowRef 1;
+QosParamSetType 7;
+}
+DsServiceFlow
+{
+DsServiceFlowRef 2;
+QosParamSetType 7;
+}
+UsPacketClass
+{
+VendorSpecific
+{
+VendorIdentifier 0xffffff;
+CMLoadBalancingPriority 1;
+CMLoadBalancingGroupID 1;
+}
+ClassifierRef 1;
+ServiceFlowRef 1;
+}
+}

二進制
tests/TLV_22_43_5_2_1.cm


+ 33 - 0
tests/TLV_22_43_5_2_1.conf

@@ -0,0 +1,33 @@
+Main 
+{
+	NetworkAccess 1;
+	UsServiceFlow
+	{
+		UsServiceFlowRef 1;
+		QosParamSetType 7;
+	}
+	DsServiceFlow
+	{
+		DsServiceFlowRef 2;
+		QosParamSetType 7;
+	}
+	UsPacketClass
+	{
+		VendorSpecific
+		{
+			VendorIdentifier 0xffffff;
+			L2VPNEncoding
+			{
+				NSIEncapsulationSubtype
+				{
+					ServiceMultiplexingValueOther 0x00;
+				}
+			}
+		}
+		ClassifierRef 1;
+		ServiceFlowRef 1;
+	}
+	/* CmMic 686b4233924b7809001ce7402d1d1366; */
+	/* CmtsMic a4710ae4fd0a1f1336aeb225b630dbe1; */
+	/*EndOfDataMkr*/
+}

+ 30 - 0
tests/TLV_22_43_5_2_1.txt

@@ -0,0 +1,30 @@
+Main 
+{
+NetworkAccess 1;
+UsServiceFlow
+{
+UsServiceFlowRef 1;
+QosParamSetType 7;
+}
+DsServiceFlow
+{
+DsServiceFlowRef 2;
+QosParamSetType 7;
+}
+UsPacketClass
+{
+VendorSpecific
+{
+VendorIdentifier 0xffffff;
+L2VPNEncoding
+{
+NSIEncapsulationSubtype
+{
+ServiceMultiplexingValueOther 0x00;
+}
+}
+}
+ClassifierRef 1;
+ServiceFlowRef 1;
+}
+}