-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
18 lines (17 loc) · 1000 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
1.pip install vspk=3.2.4.134
2.VSD preparation
1). Create new organization profile with Floating Ips Quota to 4*thread_num at least
3.Modify global variables in nfv-test.py
1).Modify ENTERPRISE_PROFILE_ID to the organizaiton profile ID
2).Modify SHARE_NETWORK_RESOURCE_ID to the share network resource to be used during test
3).Modify VRSG_PORT_ID to VRS-G Port ID which will be used as uplink
4).Modify VLAN_BASE to the correct vlan ID that could be accepted by VRS-G port VLAN range
4.Run scripts with cli
python nfv-test.py -H 135.227.144.161 -P 8443 -u csproot -p csproot -E csp -l log -t 5
Important Options:
-l: Write logs to the file
-t: Threads numbers,default 1
-c: Clean resource before test begin.Clean resource will wait a long time, if you don’t want to clean, please modify VLAN_BASE to avoid conflicts.
-v, -d: Write detail logs into log file
-h: For help
5.After test finish, check the file result, will contain the result of test