This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vagrant@devstack-control:/vagrant/devstack-scripts$ cat test2basic.sh | |
| neutron security-group-create client_sg | |
| neutron security-group-rule-create client_sg --direction egress --ethertype IPv4 | |
| neutron security-group-rule-create client_sg --direction ingress --ethertype IPv4 | |
| neutron security-group-create video_sg | |
| neutron security-group-rule-create video_sg --direction egress --ethertype IPv4 | |
| neutron security-group-rule-create video_sg --direction ingress --ethertype IPv4 | |
| neutron net-create net1 | |
| neutron subnet-create net1 10.1.1.0/24 --name sub1 --gateway 10.1.1.1 | |
| neutron net-create net2 | |
| neutron subnet-create net2 20.1.1.0/24 --name sub2 --gateway 20.1.1.1 | |
| neutron router-create r1 | |
| neutron router-interface-add r1 sub1 | |
| neutron router-interface-add r1 sub2 | |
| testnovaboot-control.sh net1 client_sg 1 #"bekind" | |
| testnovaboot-control.sh net2 client_sg 2 | |
| testnovaboot-control.sh net2 video_sg 2 | |
| echo "control:" | |
| nova list --host devstack-control | |
| echo "compute:" | |
| nova list --host devstack-compute-1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment