Custom Search

SUBSCRIBE

SUBSCRIBE : 300 + Free Video Tutorials Programming (Python, golang, Julia), DevOps

Sunday, March 19, 2017

How to install OpenStack Ocata with neutron in Ubuntu Virtualbox

1)
$git clone https://github.com/openstack-dev/devstack -b stable/ocata

2)
$cd devstack

3)
$vim local.conf

[[local|localrc]]

#to pull changes from upstream on next run on stack.sh
RECLONE=True

HOST_IP=192.168.56.5
SERVICE_HOST=192.168.56.5
MYSQL_HOST=192.168.56.5
RABBIT_HOST=192.168.56.5
GLANCE_HOSTPORT=192.168.56.5:9292
ADMIN_PASSWORD=secret
DATABASE_PASSWORD=secret
RABBIT_PASSWORD=secret
SERVICE_PASSWORD=secret

# Do not use Nova-Network
disable_service n-net
# Enable Neutron
ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-agt,q-l3

## Neutron options
Q_USE_SECGROUP=True
FLOATING_RANGE="192.168.56.0/24"
FIXED_RANGE="10.0.0.0/24"
Q_FLOATING_ALLOCATION_POOL=start=192.168.56.240,end=192.168.56.254
PUBLIC_NETWORK_GATEWAY="192.168.56.1"
PUBLIC_INTERFACE=eth1

# Open vSwitch provider networking configuration
Q_USE_PROVIDERNET_FOR_PUBLIC=True
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_BRIDGE=br-ex
OVS_BRIDGE_MAPPINGS=public:br-ex

4)
$./stack.sh



1 comment: