Skip to content

madorn/vagrant-juno-linuxbridge-vxlan-vlan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenStack Juno Deployment with Vagrant (Linux-Bridge + VXLAN)

Features

  • Three Nodes (Controller, Network, Compute) - Ubuntu 14.04
  • Linux-Bridge with VXLAN and VLAN tenant-networks
  • Works with VMware Fusion or VirtualBox
  • Network node includes internet gateway (eth2)

Minimum Requirements

  • Vagrant
  • 8GB hard drive space
  • At least 4GB RAM to allocate to environment

Get Started

Clone the Git repo

git clone https://github.com/madorn/vagrant-juno-linuxbridge-vxlan.git

For VirtualBox
Verify that you have default host-only vboxnet0 network (192.168.56.0/24)

vagrant up --provider virtualbox --provision

Note: VLAN tags will not currently work with the VirtualBox Intel PRO/1000 Adapter Type

For VMware Fusion
Verify that you have default host-only vmnet1 network (172.16.99.0/24)

vagrant up --provider vmware_fusion --provision

Horizon Dashboard
http://192.168.56.56/horizon (VirtualBox)
http://172.16.99.100/horizon (VMware Fusion)

SSH into node1

vagrant ssh node1

Switch to Root

su - password: vagrant

Source credentials

source ~/credentials/admin

Create a private network prior to booting instance

neutron net-create private

neutron subnet-create --name private-subnet private 10.0.0.0/29 --dns-nameserver 8.8.8.8

Boot Instance

nova boot --flavor 1 --image cirros-qcow2 myinstance

Enable ping and SSH

neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 22 --port-range-max 22 --remote-ip-prefix 10.0.0.0/24 default

neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol icmp --remote-ip-prefix 10.0.0.0/24 default

Create an external network for the internet gateway (VirtualBox)

neutron net-create public --router:external True --provider:network_type flat --provider:physical_network physnet1

neutron subnet-create --name public-subnet --gateway 10.0.4.2 --allocation-pool start=10.0.4.100,end=10.0.4.200 --disable-dhcp public 10.0.4.0/24

Create an external network for the internet gateway (VMware Fusion)

neutron net-create public --router:external True --provider:network_type flat --provider:physical_network physnet1

neutron subnet-create --name public-subnet --gateway 192.168.13.2 --allocation-pool start=192.168.13.100,end=192.168.13.200 --disable-dhcp public 192.168.13.0/24

Create a router

neutron router-create myrouter

Add private-subnet to the router

neutron router-interface-add myrouter private-subnet

Set public-network as the default gateway

neutron router-gateway-set myrouter public

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages