NTE-Plus simulation HWSDK IPC business use guide
1. environmental information
1. one xStorm GUI ,Windows environment,IP:10.44.XXX.XXX username password
2. one SUSE11 SP3 linuxSystem actuator,IP:3.180.XXX.XXX username password
2. xStormBusiness configuration
2.1Test set import
Open NTE-Plus, click Import Testsuite in the interface, click Browse in the pop-up page, select the test set "HWSDK_3traffic.zip" storage path, click OK, import test suite.

Select the imported test suite and click Open Testsuite to open the imported test suite.
2.2 Network Configuration
2.2.1 IP address pool configuration
Click the IP button in the Network Configuration interface. The IP address resource pool configuration option will appear at the bottom of the interface. The IP used for the simulated IPC will be obtained from the resource pool. The IP address must be on the same network segment as the VCN being tested. The environment is occupied by other network cards.

2.2.2 MAC configuration
Each IP will correspond to a MAC address. Click the MAC/VLAN button to display the MAC configuration interface. The configured MAC address does not conflict with the MAC address used by other NICs in the network environment. Otherwise, the service fails.

2.3 Traffic script configuration
2.3.1 Media file configuration
Custom Script finds the node below, sets the file_path_mode value to 1 in the audio video, and configures the audio and video media file as the absolute path under the machine liunx, and puts the media file into the corresponding path of the executable.

Multimedia_source_channel configures a Channe resource
Channel_name corresponds to the ChannelId in the signaling.
Stream_name corresponds to the StreamId in the signaling
Video_source configuration video file;
Audio_source configuration audio file;
Source_file configures the media source information, where the media source file name needs to be filled in;
File_path_mode configures the execution machine to obtain the media mode: 0 is sent through the interface, 1 is obtained from the execution machine path
Metadata_source_config is used to configure the metadata file

File_path_mode: Configures the execution machine to obtain the media mode: 0 is sent through the interface, and 1 is obtained from the execution machine path.
Cycle_times: number of metadata loops, 0 is an infinite loop
Repeat_times: the number of times the metadata is repeated, 0 is an infinite repeat
Min_run_threshold: Number of first minimum parsed metadata pictures in a massive metadata scenario
Max_stop_threshold: Maximum number of pictures in the metadata picture sequence in a massive metadata scenario
Max_memary_usage: The maximum memory size of massive metadata, in units of system memory
Send_interval: metadata transmission rate in ms
2.3.2 Script parameter modification configuration
There are two xml scripts, ipc_client and ipc_server, in the folder script, which correspond to IPC active registration and passive registration scenarios. Please use the corresponding script to test according to the test scenario. Edit and modify the Custom Script (you can choose to copy the script to the text editing tool to modify it, then overwrite it and paste it in).

4. test suite execution
4.1 Bind the execution machine and service network port
On the Port Editor tab, select the NewHardware email and click the Deploy (Mount) button:

4.2 Load test suite
Click the load all trafficflow button at the top left of the xStorm interface to load the test suite.

After the loading is successful, the loading will be displayed in the lower console page. Click the call control button to pop up the tab.
4.3 Running business
4.3.1 After the operation is successful, ping the simulated ip address, and pinging can represent the camera simulation success:
4.3.2 Successful operation
Log in to IVS and import the batch device template. You can see that the simulated IPC is online.

4.3.3 View live
