crowbar/barclamp-network — pull request #154 by cdearborn (2013-03-05 20:15:26+00:00)
Title: Implementing network config actions [2/2]

This pull contains:
- Renaming ConduitAction to ConfigAction
- Fleshing out existing actions
- Adding CreateBridge action
- Updating network json & schema to allow series of configuration actions
- Removal of use_vlan and vlan attributes from Network
- Updates to test cases, and new test cases where appropriate

bc-template-network.json | 40 ++++++------
bc-template-network.schema | 22 ++++---
bin/crowbar_network | 16 ++---
config_actions_controller.rb | 20 ++++++
.../barclamp_network/networks_controller.rb | 12 ++--
.../scaffolds/conduit_actions_controller.rb | 20 ------
.../scaffolds/config_actions_controller.rb | 19 ++++++
.../scaffolds/create_bridges_controller.rb | 20 ++++++
.../app/models/barclamp_network/barclamp.rb | 37 ++++-------
.../app/models/barclamp_network/conduit_action.rb | 17 ------
.../app/models/barclamp_network/conduit_rule.rb | 2 +-
.../app/models/barclamp_network/config_action.rb | 57 +++++++++++++++++
.../app/models/barclamp_network/create_bond.rb | 2 +-
.../app/models/barclamp_network/create_bridge.rb | 26 ++++++++
.../app/models/barclamp_network/create_vlan.rb | 5 +-
.../app/models/barclamp_network/network.rb | 13 ++--
.../barclamp_network/config/locales/en.yml | 3 +-
crowbar_engine/barclamp_network/config/routes.rb | 3 +-
.../db/migrate/20120730175122_create_networks.rb | 1 -
.../migrate/20120730175255_create_ip_addresses.rb | 1 +
.../20120919110841_create_conduit_actions.rb | 26 --------
.../20120919110841_create_config_actions.rb | 30 +++++++++
.../db/migrate/20130124211800_scaffold_navs.rb | 11 ++--
.../barclamp_network/test/network_test_helper.rb | 8 +--
.../test/unit/conduit_action_test.rb | 23 -------
.../test/unit/conduit_rule_test.rb | 4 +-
.../test/unit/config_action_model_test.rb | 64 ++++++++++++++++++++
.../barclamp_network/test/unit/create_bond_test.rb | 8 +--
.../test/unit/create_bridge_test.rb | 62 +++++++++++++++++++
.../test/unit/create_vlan_model_test.rb | 31 ++++++++++
.../test/unit/network_barclamp_test.rb | 19 ++----
.../test/unit/network_model_test.rb | 17 ------
32 files changed, 420 insertions(+), 219 deletions(-)

Crowbar-Pull-ID: c05a09b6a629918d13e49126216e287326ea1f12

Crowbar-Release: development