IP allocate/deallocate API changes for Crowbar 2.0 [2/2]

IP address allocate/deallocate changes for Crowbar 2.0


 bin/crowbar_network                                |   59 +++-
 crowbar_framework/BDD/features/networks.feature    |   17 ++
 crowbar_framework/BDD/networks.erl                 |  169 ++++++++---
 .../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         |   20 ++
 crowbar_framework/app/models/network.rb            |    8 +-
 crowbar_framework/app/models/network_service.rb    |  248 ++++++++++++++++-
 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      |   23 +-
 crowbar_framework/test/unit/bond_model_test.rb     |   78 ++++++
 crowbar_framework/test/unit/conduit_test.rb        |    4 +-
 .../test/unit/interface_model_test.rb              |   47 ++++
 crowbar_framework/test/unit/network_model_test.rb  |   24 +-
 .../test/unit/network_service_test.rb              |  294 +++++++++++++++++++-
 crowbar_framework/test/unit/vlan_model_test.rb     |   47 ++++
 26 files changed, 1186 insertions(+), 78 deletions(-)

Crowbar-Pull-ID: cce8c81c068b43709851b6d4b16523680ab1f264

Crowbar-Release: development