crowbar/barclamp-nova — pull request #146 by VictorLowther (2013-05-16 05:47:07+00:00)
Title: Add gre mode support to Quantum. [1/4]

This pull request does the following things:

* Clean up interface creation on quantum and nova nodes, mostly by
not creating any interfaces we don't have to.
* Stop creating a helper route to get to the quantum metadata
server. We have a working metadata proxy, so it just interferes
with the other networking mode.
* Add support for running quantum in GRE tunnelling mode. This
requires a dedicated network (named os_sdn (as in openstack
software defined network)) seperate from the other networks. The
default network config for os_sdn in the network.json looks like
this:
"os_sdn": {
"conduit": "intf1",
"vlan": 700,
"use_vlan": true,
"add_bridge": false,
"subnet": "192.168.130.0",
"netmask": "255.255.255.0",
"broadcast": "192.168.130.255",
"ranges": {
"host": { "start": "192.168.130.10", "end": "192.168.130.254"}
}
},
This network is what Quantum uses to tie the OVS switches together
with GRE tunnels.
* Modify the Nova smoketest to only operate with floating IP
addresses. When Quantum is running in GRE mode, it is not possible
without doing something extremly foolish for a tenant network to
talk directly with the outside world.

chef/cookbooks/nova/recipes/config.rb | 19 ---------
chef/data_bags/crowbar/bc-template-nova.json | 1 +
chef/data_bags/crowbar/bc-template-nova.schema | 1 +
crowbar_framework/app/models/nova_service.rb | 49 +++++++++++++++------
smoketest/00-deploy-nova-vm.test | 54 +++++++++++++++---------
5 files changed, 70 insertions(+), 54 deletions(-)

Crowbar-Pull-ID: c9539d81711c2214b06995a82fd0ca64896a1732

Crowbar-Release: pebbles