crowbar/barclamp-network — pull request #113 by cdearborn (2013-01-11 20:43:45+00:00)
Title: Allocate/deallocate IP changes for crowbar 2.0 [2/2]

Allocate/deallocate IP changes for crowbar 2.0

bin/crowbar_network | 61 +++-
crowbar_framework/BDD/features/networks.feature | 17 ++
crowbar_framework/BDD/networks.erl | 141 +++++++---
.../app/controllers/network_controller.rb | 36 ++-
crowbar_framework/app/models/bmc_interface.rb | 16 ++
crowbar_framework/app/models/bond.rb | 29 ++
crowbar_framework/app/models/conduit.rb | 4 +-
crowbar_framework/app/models/interface.rb | 7 +-
crowbar_framework/app/models/interface_map.rb | 2 +-
crowbar_framework/app/models/ip_address.rb | 21 ++
crowbar_framework/app/models/ip_range.rb | 5 +
crowbar_framework/app/models/network.rb | 8 +-
crowbar_framework/app/models/network_service.rb | 247 +++++++++++++++-
crowbar_framework/app/models/physical_interface.rb | 17 ++
crowbar_framework/app/models/vlan.rb | 22 ++
crowbar_framework/app/models/vlan_interface.rb | 18 ++
.../db/migrate/20120730175122_create_networks.rb | 1 +
.../db/migrate/20120730175238_create_interfaces.rb | 6 +
.../db/migrate/20121214183538_create_vlans.rb | 24 ++
.../doc/default/network/devguide/api/network.md | 44 +++
crowbar_framework/test/network_test_helper.rb | 21 +-
crowbar_framework/test/unit/bond_model_test.rb | 78 ++++++
crowbar_framework/test/unit/bus_map_model_test.rb | 6 +-
crowbar_framework/test/unit/conduit_rule_test.rb | 6 +-
crowbar_framework/test/unit/conduit_test.rb | 8 +-
.../test/unit/interface_model_test.rb | 47 ++++
.../test/unit/ip_address_model_test.rb | 10 +
crowbar_framework/test/unit/ip_range_model_test.rb | 28 +-
crowbar_framework/test/unit/network_model_test.rb | 76 +++--
.../test/unit/network_service_test.rb | 294 +++++++++++++++++++-
crowbar_framework/test/unit/router_model_test.rb | 14 +-
crowbar_framework/test/unit/vlan_model_test.rb | 47 ++++
32 files changed, 1226 insertions(+), 135 deletions(-)

Crowbar-Pull-ID: b7222f4a3a627ff940c8bb813a5a647f48c8f952

Crowbar-Release: development