3 if [ -f "/home/vagrant/sfc04.lock" ]; then
4 echo "You have already run sfc04"
7 echo "writing lock file /home/vagrant/sfc04.lock"
8 touch /home/vagrant/sfc04.lock
10 neutron security-group-rule-list
12 echo 'Select a security-group-rule UUID from the above list to apply a chain to. This step can be repeated to add more security group rules to the chain.
14 You can enter this either via the YangUI or sending:
16 http://localhost:8181/restconf/operations/neutron-gbp-mapper:change-action-of-security-group-rules
19 "security-group-rule": [
21 "uuid": "<uuid of rule1>"
24 "uuid": "<uuid of rule2>"
28 "sfc-chain-name": "mychain"
33 #python /vagrant/devstack-scripts/sfc/chain.py $ODL client_sg web_sg mychain
35 echo "Chain action added to policy.
37 Enter route for SF on devstack-compute-1: