5 tacker vnfd-create --vnfd-file ${BASEDIR}/test-vnfd1.yaml
6 tacker vnfd-create --vnfd-file ${BASEDIR}/test-vnfd2.yaml
8 #create instances of the imported VNF
9 tacker vnf-create --name testVNF1 --vnfd-name test-vnfd1
10 tacker vnf-create --name testVNF2 --vnfd-name test-vnfd2
15 active=`tacker vnf-list | grep -E 'PENDING|ERROR'`
16 echo -e "checking if SFs are up: $active"
17 if [ -z "$active" ]; then
23 tacker sfc-create --name red --chain testVNF1
24 tacker sfc-create --name blue --chain testVNF2
27 tacker sfc-classifier-create --name red_http --chain red --match source_port=0,dest_port=80,protocol=6
28 tacker sfc-classifier-create --name red_ssh --chain red --match source_port=0,dest_port=22,protocol=6
31 tacker sfc-classifier-list