summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/networks
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/config/states/networks')
-rwxr-xr-xmcp/config/states/networks3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/networks b/mcp/config/states/networks
new file mode 100755
index 000000000..10f71c213
--- /dev/null
+++ b/mcp/config/states/networks
@@ -0,0 +1,3 @@
+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"