crowbar/barclamp-quantum — pull request #27 by VictorLowther (2013-05-16 05:47:19+00:00)
Title: Add gre mode support to Quantum. [3/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/quantum/attributes/default.rb | 5 +++-
chef/cookbooks/quantum/recipes/common_install.rb | 22 ++++++++--------
.../cookbooks/quantum/recipes/post_install_conf.rb | 10 +-------
.../quantum/templates/default/quantum.conf.erb | 7 ++---
chef/data_bags/crowbar/bc-template-quantum.json | 6 ++---
crowbar_framework/app/models/quantum_service.rb | 27 +++-----------------
.../barclamp/quantum/_edit_attributes.html.haml | 2 +-
7 files changed, 27 insertions(+), 52 deletions(-)

Crowbar-Pull-ID: c9539d81711c2214b06995a82fd0ca64896a1732

Crowbar-Release: pebbles