crowbar/barclamp-network — pull request #125 by cdearborn (2013-02-08 20:07:40+00:00)
Title: Ported get_conduits to CR 2.0 [2/2]

This pull request ports get_conduits to CR2.0, and includes adding a method
to Node to retrieve the roles associated with a given node.

crowbar_framework/app/models/conduit.rb | 30 +++-
crowbar_framework/app/models/conduit_filter.rb | 7 +-
crowbar_framework/app/models/interface_selector.rb | 2 -
.../app/models/network_mode_filter.rb | 20 ++-
crowbar_framework/app/models/network_service.rb | 14 +-
.../app/models/node_attribute_filter.rb | 10 +-
crowbar_framework/app/models/role_filter.rb | 33 +++++
crowbar_framework/app/models/select_by_index.rb | 4 -
crowbar_framework/app/models/select_by_speed.rb | 4 -
crowbar_framework/test/network_test_helper.rb | 23 +++
crowbar_framework/test/unit/conduit_filter_test.rb | 8 --
crowbar_framework/test/unit/conduit_test.rb | 150 ++++++++++++++++++++
.../test/unit/interface_selector_test.rb | 8 --
.../test/unit/network_mode_filter_test.rb | 42 ++++++
.../test/unit/node_attribute_filter_test.rb | 44 ++++++
crowbar_framework/test/unit/role_filter_test.rb | 44 ++++++
16 files changed, 401 insertions(+), 42 deletions(-)

Crowbar-Pull-ID: 7f3f471cd8703ba20ddc1aa67cbbc53fcb956339

Crowbar-Release: development