crowbar/barclamp-network — pull request #155 by cdearborn (2013-03-06 15:50:54+00:00)
Title: Network interface modeling updates [1/1]

Added a Bridge class
Made the parent/child relationship between interfaces generic
Updated scaffolds and unit tests

.../scaffolds/bridge_controller.rb | 20 ++++++++
.../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 | 1 +
.../db/migrate/20120730175238_create_interfaces.rb | 5 +-
.../db/migrate/20130124211800_scaffold_navs.rb | 50 ++++++++++----------
.../barclamp_network/test/unit/bond_model_test.rb | 28 +++++------
11 files changed, 90 insertions(+), 54 deletions(-)

Crowbar-Pull-ID: 3f93521e879ef9c34eb4728c4f4dc76eed161356

Crowbar-Release: development