Hi All, Here is a script as discussed in Meeting. Apologies for delay. This script doesn't use functest or OpenStack API, works directly on controller (Also works on functest docker container) with OpenStack command line.
It provides more flexibility in testing SFC with switches, a quick help section is here [1] Please do install sshpass if not installed before running script *Red chain example(Supported chains red and blue):* # ./sfc-demo --glance-image-create VNF_images/sf_nsh_colorado.qcow2 # ./sfc-demo --configure-iptables # ./sfc-demo --flavor-create # ./sfc-demo --openstack-network-create # ./sfc-demo --sec-group-create # ./sfc-demo --vnf-create VNF_templates/test-vnfd1.yaml # ./sfc-demo --sf-create firewall1:80 # ./sfc-demo --sfc-create red=firewall1 # ./sfc-demo --classifier-create red # ./sfc-demo --server-vm # ./sfc-demo --client-vm # ./sfc-demo --port-status 80 # ./sfc-demo --port-status 22 # ./sfc-demo --cleanup-all Replace "red" with "blue" for blue chain and port to be 22 instead of 80 in --sf-create script also supports short switches. Just run help section to see. # ./sfc-demo --help *Running everything in one shot with short switches:* # ./sfc-demo -g VNF_images/sf_nsh_colorado.qcow2 -i -z -n -x -v test-vnfd1.yaml -S firewall1:80 -s red -c red -H -N -p 80 -p 22 *Other advantages:* - Here it also has logic to run on arm64 servers too - Provides more cleanup functionalities with switches - More bug fixes compared to sfc.py - Single script coveres more or less all the testcases planed for SFC - Helps for quick testing and saves time [1] http://pastebin.com/4zwd0ZV6 Regards, Vijay
sfc-demo
Description: Binary data
_______________________________________________ sfc-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/sfc-dev
