d0f67c727e8e303b205796838a6c1094162c1919
[groupbasedpolicy.git] / demos / gbp-devstack / devstack-scripts / tutorial / step03.sh
1 source openrc admin admin
2
3 neutron net-create drexternal --provider:network_type flat --provider:physical_network dr-external --router:external
4 neutron subnet-create --name extsubnet --allocation-pool start=192.168.111.50,end=192.168.111.55  --gateway 192.168.111.253 --disable-dhcp drexternal 192.168.111.0/24
5 neutron router-gateway-set r1 drexternal
6 neutron floatingip-create drexternal
7 neutron port-list
8 neutron floatingip-list
9
10 echo "neutron floatingip-associate <floatingIPID> <PORTID>
11
12 neutron floatingip-associate"
13