crowbar/barclamp-network — pull request #124 by cdearborn (2013-02-08 19:51:03+00:00)
Title: Ported get_conduits to CR 2.0. [2/2]

This pull request ports the get_conduits call to CR 2.0.
Part of this pull adds a method to Node to retrieve the roles associate with the 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: 05a8fd76682547f32d638919db2c1527298c3f8a

Crowbar-Release: development