Commit 3effcba2 authored by berge's avatar berge
Browse files

STF320: Added T3Doc @desc for each function (cor/mob/sec/tra) as part of Mantis@880

parent 46bce12e
Loading
Loading
Loading
Loading
+580 −551
Original line number Diff line number Diff line
@@ -428,6 +428,12 @@
	
	group mnOffHome_atHomeDefaults {
	
		/*
		 * @desc 	Change TA settings to simulate connection of MN to Foreign Network
		 * @param 	p_cfMsg Configuration message for Test Adapter
		 * @param	p_paramsTn Address Information of Testing Node
		 * @param	p_paramsNut Address Information of Node Under Test
		*/
		function f_connectMnToForeignNet(
			CfMessage p_cfMsg,
			template Ipv6NodeParams p_paramsTn,
@@ -443,6 +449,12 @@
			activate(a_mobile(p_paramsTn, p_paramsNut));
		}//end function f_connectMnToForeignNet

		/*
		 * @desc 	Change TA settings to simulate disconnection of MN from Foreign Network
		 * @param 	p_cfMsg Configuration message for Test Adapter
		 * @param	p_paramsTn Address Information of Testing Node
		 * @param	p_paramsNut Address Information of Node Under Test
		*/
		function f_disconnectFromForeignNet(
			CfMessage p_cfMsg,
			template Ipv6NodeParams p_paramsTn,
@@ -456,6 +468,12 @@
			f_selfOrClientSyncAndVerdict(c_syncMnAtHome, e_success);
		}//end function f_disconnectFromForeignNet

		/*
		 * @desc 	Change TA settings to simulate disconnection of MN from Home Network
		 * @param 	p_cfMsg Configuration message for Test Adapter
		 * @param	p_paramsTn Address Information of Testing Node
		 * @param	p_paramsNut Address Information of Node Under Test
		*/
		function f_disconnectMnFromHomeNet(
			CfMessage p_cfMsg,
			template Ipv6NodeParams p_paramsTn,
@@ -468,6 +486,12 @@
			f_selfOrClientSyncAndVerdict(c_syncMnOffHome, e_success);
		}//end function f_disconnectMnFromHomeNet

		/*
		 * @desc 	Change TA settings to simulate connection of MN to Home Network
		 * @param 	p_cfMsg Configuration message for Test Adapter
		 * @param	p_paramsTn Address Information of Testing Node
		 * @param	p_paramsNut Address Information of Node Under Test
		*/
		function f_connectMnToHomeNet(
			CfMessage p_cfMsg,
			template Ipv6NodeParams p_paramsTn,
@@ -485,6 +509,11 @@
	
	}//end mnOffHome_atHomeDefaults
	
	/* 
	 * @desc  	Default handling for IPv4/Arp
	 * @param	p_paramsTn Addresss Information of Testing Node
	 * @param	p_paramsNut Addresss Information of Node Under Test
	*/
	altstep a_tn_nut_4(	 Ipv6NodeParams p_paramsTn,
							 Ipv6NodeParams p_paramsNut
	)
+537 −486
Original line number Diff line number Diff line
@@ -190,79 +190,130 @@ module AtsIpv6_ModuleParameters {
	group macLayer {
		
		/*
		 * @desc PICS/PIXIT Reference: XXX
		 * @desc MAC Layer
		*/
		modulepar {MacLayer PX_MAC_LAYER := e_eth}

	} //end macLayer

		/*
		 * @desc Name of the first interface used by TS
		*/
		modulepar {String1to255 PX_NET_DEVICE_ID_1 := "eth1"}

		/*
		 * @desc Name of the second interface used by TS
		*/
		modulepar {String1to255 PX_NET_DEVICE_ID_2 := "eth2"}

		/*
		 * @desc Prefix Length in bits
		*/
		modulepar {UInt8 PX_PREFIX_LENGTH := 64}
		
	group Prefixes {
		/*
		 * @desc Global prefix A
		*/
		modulepar {charstring PX_NET_A_PREFIX := "2001:0660:5503:276A::"}

		/*
		 * @desc Global prefix B
		*/
		modulepar {charstring PX_NET_B_PREFIX := "2001:0660:5503:276B::"}

		/*
		 * @desc Global prefix C
		*/
		modulepar {charstring PX_NET_C_PREFIX := "2001:0660:5503:276C::"}

	}//end group Prefixes

	group HS_01 {	

		/*
		 * @desc Unicast MAC address of HS01 
		*/
		modulepar {Oct6to15 PX_MAC_UCA_HS01 := '00000000A5A5'O}

		/*
		 * @desc Alternative unicast MAC address of HS01 
		*/
		modulepar {Oct6to15 PX_MAC_UCA_HS01_2 := '00000000A5A6'O}

	}//end group HS_01

	group HS_02 {

		/*
		 * @desc Unicast MAC address of HS02
		*/
		modulepar {Oct6to15 PX_MAC_UCA_HS02 := '00000000B6B6'O}

	}//end group HS_02
	
	group HS_03 {

		/*
		 * @desc Unicast MAC address of HS03
		*/
		modulepar {Oct6to15 PX_MAC_UCA_HS03 := '00000000C7C7'O}

	}//end group HS_03

	group RT_01 {

		/*
		 * @desc Unicast MAC address of RT01 (Interface connected to Net A)
		*/
		modulepar {Oct6to15 PX_MAC_UCA_RT01_A := '00000000A1A1'O}

		/*
		 * @desc Unicast IPv4 address of RT01
		*/
		modulepar {Ipv4Address PX_IPv4_ADDR_RT01 := 'D47F1001'O}

		//@desc Source Address of TN for TC_TRA_4048_01. This address is not know to the tunnel configuration.
		/*
		 * @desc IPv4 source Address of TN for TC_TRA_4048_01. This address is not know to the tunnel configuration.
		*/
		modulepar {Ipv4Address PX_IPv4_NOT_CONFIGURED_ENCAPSULATOR_ADDR_RT01 := 'D47F1002'O}

	}//end group RT_01

	group RT_02 {

		/*
		 * @desc Unicast MAC address of RT02 (Interface connected to Net C)
		*/
		modulepar {Oct6to15 PX_MAC_UCA_RT02_C := '00000000C2C2'O}

		/*
		 * @desc Unicast MAC address of RT02 (Interface connected to Net B)
		*/
		modulepar {Oct6to15 PX_MAC_UCA_RT02_B := '00000000B2B2'O}

	}//end group RT_02

	group RT_03 {

		/*
		 * @desc Unicast MAC address of RT03 (Interface connected to Net A)
		*/
		modulepar {Oct6to15 PX_MAC_UCA_RT03_A := '00000000A3A3'O}
		
	}//end group RT_03

	group RT_04 {

		/*
		 * @desc Unicast MAC address of RT01 (Interface connected to Net C)
		*/
		modulepar {Oct6to15 PX_MAC_UCA_RT04_C := '00000000C4C4'O}

	}//end group RT_04

	group MN_01 {	
		/*
		 * @desc   	MN's home network is Net A
		 *			MN's visited network is Net B
		 * @desc Unicast MAC address of MN01
		*/
		//Net A
		modulepar {Oct6to15 PX_MAC_UCA_MN01 := '00000000B8B8'O}
		
	}//end group MN_01
+516 −509
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@
	/*
	 * @desc 	Random MAC address is build and common test cleanup is executed.
	 * @param	p_cfMsg Configuration message to modify test adapter
	 * @param 	p_glaCleanup When true, performs global address cleanup
	 * @param	p_paramsTn Addresss Information of Testing Node
	 * @param	p_paramsNut Addresss Information of Node Under Test
	*/
@@ -499,7 +500,13 @@
			return v_ret ;
	}

	
	/*
	 * @desc 	Dummy postamble for transitioning TCs
	 * @param	p_cfMsg Configuration message to modify test adapter
	 * @param 	p_glaCleanup When true, performs global address cleanup
	 * @param	p_paramsTn Addresss Information of Testing Node
	 * @param	p_paramsNut Addresss Information of Node Under Test
	*/	
 	function f_PO_tn_nut_4(
		CfMessage p_cfMsg,
		boolean p_glaCleanup,
+2 −2
Original line number Diff line number Diff line
@@ -1351,10 +1351,10 @@
										 	c_macAllRoutersMca} ;
			v_cfMsg.paramsHs01 := f_createParamsHs01(PX_MAC_UCA_IUT_2, true);
			v_cfMsg.paramsHs02 := v_params;
			v_cfMsg.paramsHs03 := f_createParamsHs03(PX_MAC_UCA_IUT_2, true);//newly added by SMU for IpSec
			v_cfMsg.paramsHs03 := f_createParamsHs03(PX_MAC_UCA_IUT_2, true);
			v_cfMsg.paramsRt01 := omit;
			v_cfMsg.paramsRt02 := omit;			
			v_cfMsg.paramsRt03 :=  f_createParamsRt03(PX_MAC_UCA_IUT_2, true);//newly added by SMU for IpSec
			v_cfMsg.paramsRt03 :=  f_createParamsRt03(PX_MAC_UCA_IUT_2, true);
			v_cfMsg.paramsRt04 := omit;
			v_cfMsg.paramsMn01 := omit;
			v_cfMsg.paramsIut := f_createParamsIutB(PX_MAC_UCA_IUT_2, true);
+183 −162
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@ module AtsIpv6_TestConfiguration_TypesAndValues {
		const boolean c_unbindCn := true;
		const boolean c_doNotUnbindCn := false;

		/*
		*   @desc Defines which kind of cleanup should be performed in postamble
		*/
		type enumerated CleanupLevel {
			e_cleanNone,				// no cleanup
			e_cleanOnlyLla, 			// clean TN lla 
@@ -80,6 +83,9 @@ module AtsIpv6_TestConfiguration_TypesAndValues {

	group cfMsgTypes {

		/*
		*   @desc Port used to configure Test Adapter
		*/
		type port CfPort message {
			inout
			CfMessage
@@ -114,12 +120,21 @@ module AtsIpv6_TestConfiguration_TypesAndValues {
		const UInt16 c_maxNrIpv6Addresses := 10 ; // max nr of IpAddresses that can be used to configure the filter
		const UInt16 c_maxNrNodes := 10 ; // max nr of Nodes that participate in a test scenario

		/*
		*   @desc List of MacAddress
		*/
		type record length(1 .. c_maxNrIpv6Address) of Oct6to15 MacAddressList;

		/*
		*   @desc List of Ipv6NodeParams
		*/
		type record length(1 .. c_maxNrNodes) of Ipv6NodeParams Ipv6NodeParamsList;
		
	}//end group cfMsgTypes

	/*
	*   @desc Available test configurations
	*/
	type enumerated ConfigId {
	    e_cfCore01,
	    e_cfCore02,
@@ -136,6 +151,9 @@ module AtsIpv6_TestConfiguration_TypesAndValues {
		e_cfTrans07
	}

		/*
		*   @desc IUT can hav one of these roles
		*/
		type enumerated IutRole {
			e_iutHs(0),
			e_iutRt(1)
@@ -144,6 +162,9 @@ module AtsIpv6_TestConfiguration_TypesAndValues {
			encode "use=com.testingtech.ttcn.tci.*;";
		}

		/*
		*   @desc Types of MAC layers used in the tests
		*/	
		type enumerated MacLayer {
			e_eth(0), 
			e_atm(1)
Loading