puppet-neutron/examples/create_network.sh
Dan Prince c5005c221f Rename quantum to neutron.
Global replacement of all Quantum references with Neutron.

Change-Id: I74ad15e382589ced6f47d0783e3e952627fcd0f7
2013-08-08 10:49:19 -04:00

9 lines
271 B
Bash

#!/bin/bash
# This example script shows how to create a simple subnet for Neutron.
source /root/openrc
neutron net-create mynet
neutron subnet-create --name mynet-subnet mynet 10.0.0.0/24
neutron router-create myrouter
neutron router-interface-add myrouter mynet-subnet