dellcloudedge/barclamp-network — pull request #88 by cdearborn (2012-10-18 11:19:43+00:00)
Title: Networks must have proposals [1/1]

Don't allow networks to be created without an associated proposal.
Note that you cannot change what proposal is associated with a network after creation.

bin/crowbar_network | 6 ++++--
.../app/controllers/network_controller.rb | 5 +++--
crowbar_framework/app/models/conduit.rb | 1 +
crowbar_framework/app/models/interface_map.rb | 1 +
crowbar_framework/app/models/network.rb | 1 +
crowbar_framework/app/models/network_service.rb | 3 ++-
crowbar_framework/test/network_test_helper.rb | 18 ++++++++++++++++++
.../test/unit/network_service_test.rb | 18 +++++++++++++++++-
8 files changed, 47 insertions(+), 6 deletions(-)