crowbar/barclamp-network — pull request #135 by cdearborn (2013-02-15 20:18:27+00:00)
Title: Network interface selectors [1/1]

This pull request contains:
- Changed Bus.designator to Bus.path.
- Added InterfaceSelector object to allow accurate interface selection.
- Completed interface selection work.

.../app/models/attrib_instance_bus_order.rb | 2 +-
crowbar_framework/app/models/bus.rb | 4 +-
crowbar_framework/app/models/conduit.rb | 3 +
crowbar_framework/app/models/conduit_rule.rb | 88 +++++++-
crowbar_framework/app/models/interface_map.rb | 2 +
crowbar_framework/app/models/interface_selector.rb | 22 +-
crowbar_framework/app/models/network_service.rb | 20 +-
crowbar_framework/app/models/select_by_index.rb | 15 +-
crowbar_framework/app/models/select_by_speed.rb | 49 ++++-
crowbar_framework/app/models/selector.rb | 28 +++
.../db/migrate/20120914175602_create_buses.rb | 2 +-
.../20120918205152_create_interface_selectors.rb | 7 +-
.../db/migrate/20130112145100_create_selectors.rb | 25 +++
crowbar_framework/test/network_test_helper.rb | 31 +--
crowbar_framework/test/unit/bus_model_test.rb | 8 +-
crowbar_framework/test/unit/conduit_rule_test.rb | 228 +++++++++++++++++++-
crowbar_framework/test/unit/conduit_test.rb | 40 +++-
.../test/unit/interface_map_model_test.rb | 4 +-
.../test/unit/interface_selector_test.rb | 84 +++++++-
.../test/unit/select_by_index_test.rb | 62 ++++++
.../test/unit/select_by_speed_test.rb | 145 +++++++++++++
crowbar_framework/test/unit/selector_test.rb | 27 +++
22 files changed, 843 insertions(+), 53 deletions(-)

Crowbar-Pull-ID: 9cddd384d83cfe975039c0ae73f1d3bd4609a382

Crowbar-Release: development