crowbar/barclamp-network — pull request #139 by cdearborn (2013-02-18 22:46:26+00:00)
Title:  [1/1]

bin/crowbar_network | 2 +-
chef/cookbooks/network/recipes/default.rb | 2 +-
crowbar_engine/barclamp_network/.gitignore | 7 +
crowbar_engine/barclamp_network/Gemfile | 17 +
crowbar_engine/barclamp_network/Gemfile.lock | 98 +++
crowbar_engine/barclamp_network/Rakefile | 40 +
.../javascripts/barclamp_network/application.js | 15 +
.../stylesheets/barclamp_network/_network.sass | 52 ++
.../stylesheets/barclamp_network/application.css | 13 +
.../barclamp_network/application_controller.rb | 4 +
.../barclamp_network/conduits_controller.rb | 286 ++++++++
.../barclamp_network/networks_controller.rb | 380 ++++++++++
.../scaffolds/allocated_ip_addresses_controller.rb | 19 +
.../scaffolds/bmc_interfaces_controller.rb | 19 +
.../barclamp_network/scaffolds/bonds_controller.rb | 19 +
.../scaffolds/bus_maps_controller.rb | 19 +
.../barclamp_network/scaffolds/buses_controller.rb | 19 +
.../scaffolds/conduit_actions_controller.rb | 19 +
.../scaffolds/conduit_filters_controller.rb | 19 +
.../scaffolds/conduit_rules_controller.rb | 19 +
.../scaffolds/conduits_controller.rb | 19 +
.../scaffolds/create_bonds_controller.rb | 19 +
.../scaffolds/create_vlans_controller.rb | 19 +
.../scaffolds/interface_maps_controller.rb | 19 +
.../scaffolds/interface_selectors_controller.rb | 19 +
.../scaffolds/interfaces_controller.rb | 19 +
.../scaffolds/ip_addresses_controller.rb | 19 +
.../scaffolds/ip_ranges_controller.rb | 19 +
.../scaffolds/network_mode_filters_controller.rb | 19 +
.../scaffolds/networks_controller.rb | 19 +
.../scaffolds/node_attribute_filters_controller.rb | 19 +
.../scaffolds/physical_interfaces_controller.rb | 19 +
.../scaffolds/routers_controller.rb | 19 +
.../scaffolds/select_by_indices_controller.rb | 19 +
.../scaffolds/select_by_speeds_controller.rb | 19 +
.../scaffolds/vlan_interfaces_controller.rb | 19 +
.../barclamp_network/scaffolds/vlans_controller.rb | 19 +
.../helpers/barclamp_network/application_helper.rb | 4 +
.../barclamp_network/allocated_ip_address.rb | 24 +
.../barclamp_network/attrib_instance_bus_order.rb | 45 ++
.../barclamp_network/attrib_instance_ip_address.rb | 51 ++
.../app/models/barclamp_network/barclamp.rb | 761 ++++++++++++++++++++
.../app/models/barclamp_network/bmc_interface.rb | 16 +
.../app/models/barclamp_network/bond.rb | 29 +
.../app/models/barclamp_network/bus.rb | 22 +
.../app/models/barclamp_network/bus_map.rb | 23 +
.../app/models/barclamp_network/conduit.rb | 70 ++
.../app/models/barclamp_network/conduit_action.rb | 17 +
.../app/models/barclamp_network/conduit_filter.rb | 24 +
.../app/models/barclamp_network/conduit_rule.rb | 123 ++++
.../app/models/barclamp_network/create_bond.rb | 19 +
.../app/models/barclamp_network/create_vlan.rb | 16 +
.../app/models/barclamp_network/interface.rb | 26 +
.../app/models/barclamp_network/interface_map.rb | 36 +
.../models/barclamp_network/interface_selector.rb | 37 +
.../app/models/barclamp_network/ip_address.rb | 43 ++
.../app/models/barclamp_network/ip_range.rb | 28 +
.../app/models/barclamp_network/network.rb | 212 ++++++
.../models/barclamp_network/network_mode_filter.rb | 32 +
.../app/models/barclamp_network/network_service.rb | 761 ++++++++++++++++++++
.../app/models/barclamp_network/network_utils.rb | 59 ++
.../barclamp_network/node_attribute_filter.rb | 24 +
.../models/barclamp_network/physical_interface.rb | 17 +
.../app/models/barclamp_network/role_filter.rb | 33 +
.../app/models/barclamp_network/router.rb | 24 +
.../app/models/barclamp_network/select_by_index.rb | 27 +
.../app/models/barclamp_network/select_by_speed.rb | 61 ++
.../app/models/barclamp_network/selector.rb | 28 +
.../app/models/barclamp_network/vlan.rb | 22 +
.../app/models/barclamp_network/vlan_interface.rb | 18 +
.../barclamp_network/_edit_deployment.html.haml | 10 +
.../layouts/barclamp_network/application.html.erb | 14 +
.../barclamp_network/barclamp_network.gemspec | 23 +
.../barclamp_network/config/initializers/api.rb | 17 +
.../barclamp_network/config/locales/en.yml | 180 +++++
crowbar_engine/barclamp_network/config/routes.rb | 2 +
.../db/migrate/20120730175122_create_networks.rb | 27 +
.../db/migrate/20120730175238_create_interfaces.rb | 29 +
.../migrate/20120730175255_create_ip_addresses.rb | 27 +
.../20120801015043_barclamp_import_network.rb | 24 +
.../db/migrate/20120821194639_create_conduits.rb | 24 +
.../db/migrate/20120822201408_create_routers.rb | 24 +
.../db/migrate/20120827150258_create_ip_ranges.rb | 24 +
.../db/migrate/20120914175602_create_buses.rb | 25 +
.../db/migrate/20120914175721_create_bus_maps.rb | 24 +
.../20120914175733_create_interface_maps.rb | 23 +
.../20120918205152_create_interface_selectors.rb | 23 +
.../20120918205303_create_conduit_filters.rb | 29 +
.../20120919110841_create_conduit_actions.rb | 26 +
.../migrate/20120919190544_create_conduit_rules.rb | 23 +
.../db/migrate/20121214183538_create_vlans.rb | 24 +
.../db/migrate/20130112145100_create_selectors.rb | 25 +
.../db/migrate/20130115160000_network_navs.rb | 32 +
...20130115220245_create_allocated_ip_addresses.rb | 27 +
.../20130123083500_create_interfaces_networks.rb | 23 +
.../db/migrate/20130124211800_scaffold_navs.rb | 74 ++
.../barclamp_network/lib/barclamp_network.rb | 4 +
.../lib/barclamp_network/engine.rb | 5 +
.../lib/barclamp_network/version.rb | 3 +
.../lib/tasks/barclamp_network_tasks.rake | 4 +
crowbar_engine/barclamp_network/script/rails | 8 +
.../barclamp_network/test/barclamp_network_test.rb | 7 +
.../barclamp_network/test/dummy/README.rdoc | 261 +++++++
.../barclamp_network/test/dummy/Rakefile | 7 +
.../dummy/app/assets/javascripts/application.js | 15 +
.../dummy/app/assets/stylesheets/application.css | 13 +
.../app/controllers/application_controller.rb | 3 +
.../test/dummy/app/helpers/application_helper.rb | 2 +
.../dummy/app/views/layouts/application.html.erb | 14 +
.../barclamp_network/test/dummy/config.ru | 4 +
.../test/dummy/config/application.rb | 59 ++
.../barclamp_network/test/dummy/config/boot.rb | 10 +
.../test/dummy/config/database.yml | 25 +
.../test/dummy/config/environment.rb | 5 +
.../test/dummy/config/environments/development.rb | 37 +
.../test/dummy/config/environments/production.rb | 67 ++
.../test/dummy/config/environments/test.rb | 37 +
.../config/initializers/backtrace_silencers.rb | 7 +
.../test/dummy/config/initializers/inflections.rb | 15 +
.../test/dummy/config/initializers/mime_types.rb | 5 +
.../test/dummy/config/initializers/secret_token.rb | 7 +
.../dummy/config/initializers/session_store.rb | 8 +
.../dummy/config/initializers/wrap_parameters.rb | 14 +
.../test/dummy/config/locales/en.yml | 5 +
.../barclamp_network/test/dummy/config/routes.rb | 4 +
.../barclamp_network/test/dummy/public/404.html | 26 +
.../barclamp_network/test/dummy/public/422.html | 26 +
.../barclamp_network/test/dummy/public/500.html | 25 +
.../barclamp_network/test/dummy/script/rails | 6 +
.../test/integration/navigation_test.rb | 10 +
.../barclamp_network/test/network_test_helper.rb | 177 +++++
.../barclamp_network/test/test_helper.rb | 15 +
.../test/unit/allocated_ip_address_model.rb | 142 ++++
.../test/unit/attrib_instance_bus_order_test.rb | 35 +
.../test/unit/attrib_instance_ip_address_test.rb | 55 ++
.../barclamp_network/test/unit/bond_model_test.rb | 83 +++
.../test/unit/bus_map_model_test.rb | 56 ++
.../barclamp_network/test/unit/bus_model_test.rb | 47 ++
.../test/unit/conduit_action_test.rb | 23 +
.../test/unit/conduit_filter_test.rb | 25 +
.../test/unit/conduit_rule_test.rb | 290 ++++++++
.../barclamp_network/test/unit/conduit_test.rb | 426 +++++++++++
.../barclamp_network/test/unit/create_bond_test.rb | 47 ++
.../test/unit/interface_map_model_test.rb | 78 ++
.../test/unit/interface_model_test.rb | 53 ++
.../test/unit/interface_selector_test.rb | 103 +++
.../test/unit/ip_address_model_test.rb | 93 +++
.../test/unit/ip_range_model_test.rb | 83 +++
.../test/unit/network_mode_filter_test.rb | 42 ++
.../test/unit/network_model_test.rb | 354 +++++++++
.../test/unit/network_service_test.rb | 500 +++++++++++++
.../test/unit/network_utils_test.rb | 95 +++
.../test/unit/node_attribute_filter_test.rb | 44 ++
.../barclamp_network/test/unit/role_filter_test.rb | 44 ++
.../test/unit/router_model_test.rb | 68 ++
.../test/unit/select_by_index_test.rb | 62 ++
.../test/unit/select_by_speed_test.rb | 145 ++++
.../barclamp_network/test/unit/selector_test.rb | 27 +
.../barclamp_network/test/unit/vlan_model_test.rb | 47 ++
.../app/controllers/conduits_controller.rb | 2 +-
.../app/controllers/networks_controller.rb | 2 +-
161 files changed, 8933 insertions(+), 4 deletions(-)

Crowbar-Pull-ID: 46bf8ff8559581e596326b811bd65cb5a05b011d

Crowbar-Release: development