crowbar/barclamp-network — pull request #157 by cdearborn (2013-03-08 02:08:23+00:00)
Title: Implementing new routing for network barclamp [1/1]

Added a Bridge class
Made the parent/child relationship between interfaces generic
Updated scaffolds and unit tests
Got routing to the network controller working

bin/crowbar_network | 88 ++++++++--------
.../barclamp_network/conduits_controller.rb | 2 +-
.../barclamp_network/networks_controller.rb | 109 ++++++++++++--------
.../scaffolds/bridge_controller.rb | 20 ++++
.../app/models/barclamp_network/barclamp.rb | 46 +++------
.../app/models/barclamp_network/bond.rb | 12 +--
.../app/models/barclamp_network/bridge.rb | 16 +++
.../app/models/barclamp_network/interface.rb | 9 +-
.../models/barclamp_network/physical_interface.rb | 1 -
.../app/models/barclamp_network/vlan_interface.rb | 1 -
.../barclamp_network/config/locales/en.yml | 1 +
crowbar_engine/barclamp_network/config/routes.rb | 29 +++---
.../db/migrate/20120730175238_create_interfaces.rb | 5 +-
.../db/migrate/20130124211800_scaffold_navs.rb | 50 ++++-----
.../barclamp_network/test/unit/bond_model_test.rb | 28 ++---
.../test/unit/network_barclamp_test.rb | 30 ++++--
16 files changed, 249 insertions(+), 198 deletions(-)

Crowbar-Pull-ID: 720026c0d4d254a97cda21fd9cbfb967e957938e

Crowbar-Release: development