jackie-qiu / vsd-api-test

The scripts that test the performance of VSD REST API.

Home Page:http://nuagenetworks.github.io/vsd-api-documentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

The scripts that test the performance of VSD REST API.

http://nuagenetworks.github.io/vsd-api-documentation/


Languages

Language:Python 100.0%