crowbar/barclamp-network — pull request #221 by cloudedge (2013-09-30 15:38:19+00:00)
Title: Network Barclamp UIs and Bootstrap Page UI and bunck of bugs/merges [2/3]

This pull request got very large because the Bootstrap got very large because the concerns are interconnected.

AREA 1: Networking UI
======================
Add pages for Network configuration using the Network, Range and Router information
Add pages for Scaffolds
Fix issues related to building the UIs
Make the APIs follow patterns from the main part of Crowbar
Add BDD tests for Network
Add Role overlay screens (needed by Crowbar & bootstrap)

AREA 2: Bootstrap UI
=====================
Add ability to create admin network
Add ability to view admin & server network roles
Fix bugs related to creating server and network
Improve how role overlays work

AREA 3: Various Items
=====================
Fix bugs and docs
Handle merge conflicts (some commits where reversed later)

BDD/features/network.feature | 67 ++++++
BDD/features/network_scaffolds.feature | 39 ++++
BDD/features/networks.feature | 82 -------
BDD/networks.erl | 233 --------------------
.../barclamp_network/interfaces_controller.rb | 59 +++++
.../barclamp_network/networks_controller.rb | 139 ++++++------
.../barclamp_network/ranges_controller.rb | 53 +++++
.../scaffolds/allocations_controller.rb | 19 ++
.../scaffolds/networks_controller.rb | 19 ++
.../scaffolds/ranges_controller.rb | 19 ++
.../scaffolds/routers_controller.rb | 19 ++
.../app/models/barclamp_network/network.rb | 119 +++++-----
.../app/models/barclamp_network/range.rb | 27 ++-
.../app/models/barclamp_network/role.rb | 28 ++-
.../app/models/barclamp_network/router.rb | 20 +-
.../app/models/barclamp_network/server.rb | 48 ++++
.../barclamp_network/interfaces/index.html.haml | 26 +++
.../barclamp_network/networks/_show.html.haml | 20 ++
.../barclamp_network/networks/index.html.haml | 38 +++-
.../views/barclamp_network/networks/show.html.haml | 24 ++
.../node_roles/_network-admin.html.haml | 37 ++++
.../node_roles/_network-server.html.haml | 7 +
.../views/barclamp_network/ranges/_index.html.haml | 27 +++
.../barclamp_network/config/locales/en.yml | 44 +++-
crowbar_engine/barclamp_network/config/routes.rb | 15 +-
.../db/migrate/20130908_create_networks.rb | 8 +-
.../db/migrate/20130919_create_network_navs.rb | 33 +++
doc/devguide/api/network.md | 190 ++--------------
doc/devguide/api/range.md | 19 ++
29 files changed, 831 insertions(+), 647 deletions(-)

Crowbar-Pull-ID: d1af870ffaea8f0e279951a579591a7bc94b371d

Crowbar-Release: development