summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/scripts/openstack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/scripts/openstack.sh')
-rwxr-xr-xmcp/reclass/scripts/openstack.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mcp/reclass/scripts/openstack.sh b/mcp/reclass/scripts/openstack.sh
index 3f6b0617c..c3ffb0d7f 100755
--- a/mcp/reclass/scripts/openstack.sh
+++ b/mcp/reclass/scripts/openstack.sh
@@ -46,8 +46,8 @@ ssh $SSH_OPTS ubuntu@$SALT_MASTER bash -s << OPENSTACK_INSTALL_END
salt -C 'I@nova:compute' state.sls nova
salt -C 'I@neutron:compute' state.sls neutron
- salt -C 'I@keystone:server' cmd.run ". /root/keystonercv3; nova service-list"
- salt -C 'I@keystone:server' cmd.run ". /root/keystonercv3; neutron agent-list"
- salt -C 'I@keystone:server' cmd.run ". /root/keystonercv3; heat stack-list"
- salt -C 'I@keystone:server' cmd.run ". /root/keystonercv3; cinder list"
+ salt 'ctl01*' cmd.run ". /root/keystonercv3; openstack compute service list; openstack network agent list; openstack stack list; openstack volume list"
+
+ salt 'ctl01*' cmd.run ". /root/keystonercv3; openstack network create --share --external --provider-network-type flat --provider-physical-network physnet1 floating_net"
+ salt 'ctl01*' cmd.run ". /root/keystonercv3; openstack subnet create --gateway 10.16.0.1 --no-dhcp --allocation-pool start=10.16.0.130,end=10.16.0.254 --network floating_net --subnet-range 10.16.0.0/24 floating_subnet"
OPENSTACK_INSTALL_END