summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-05-03 13:26:22 -0700
committerSteven Dake <stdake@cisco.com>2015-05-11 09:26:08 -0700
commit794a8142757dfa56d9f3cfaedd9b85a9dad2b92d (patch)
treee8da1ea4642dd3ff1d728339b9d2a9d3d43d907c /tools
parent5a06901664cd8d3bb326d9e731e7dd82eec54f35 (diff)
downloadkolla-794a8142757dfa56d9f3cfaedd9b85a9dad2b92d.tar.gz
kolla-794a8142757dfa56d9f3cfaedd9b85a9dad2b92d.zip
Make a demo for Magnum
Make a Magnum demonstration that creates a baymodel and bay. Just run demos/magnum/launch to make it work. This depends on Neutron. Borrow the v1beta3 redis example from the examples repository in Kubernetes. Change-Id: I448a5890bfe0c1675914ae7dbd02fad03f4b1eeb
Diffstat (limited to 'tools')
-rwxr-xr-xtools/init-runonce5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/init-runonce b/tools/init-runonce
index 37f9d9c65..b64c51893 100755
--- a/tools/init-runonce
+++ b/tools/init-runonce
@@ -44,9 +44,9 @@ if [[ "${NETWORK_MANAGER}" == "nova" ]] ; then
else
echo Configuring neutron.
neutron net-create public1 --router:external True --provider:physical_network physnet1 --provider:network_type flat
- neutron subnet-create --name 1-subnet --disable-dhcp --allocation-pool start=192.168.100.150,end=192.168.100.199 public1 192.168.100.0/24 --gateway 192.168.100.1 --dns_nameservers list=true 192.168.100.1
+ neutron subnet-create --name 1-subnet --disable-dhcp --allocation-pool start=10.0.2.150,end=10.0.2.199 public1 10.0.2.0/24 --gateway 10.0.2.1
neutron net-create demo-net --provider:network_type vxlan --provider:segmentation_id 10
- neutron subnet-create --name demo-subnet --gateway 10.10.10.1 demo-net 10.10.10.0/24
+ neutron subnet-create demo-net --name demo-subnet --gateway 10.0.0.1 10.0.0.0/24 --dns_nameservers list=true 8.8.8.8
neutron router-create demo-router
neutron router-interface-add demo-router demo-subnet
neutron router-gateway-set demo-router public1
@@ -56,6 +56,7 @@ else
neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 22 --port-range-max 22 --remote-ip-prefix 0.0.0.0/0
# Open heat-cfn so it can run on a different host
neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 8000 --port-range-max 8000 --remote-ip-prefix 0.0.0.0/0
+ neutron security-group-rule-create default --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 8080 --port-range-max 8080 --remote-ip-prefix 0.0.0.0/0
fi
if [ -r ~/.ssh/id_rsa.pub ]; then