crowbar/barclamp-network — pull request #223 by cloudedge (2013-10-03 05:29:48+00:00)
Title: UI Layercake initial pass, various bugs, role.server in UI [2/2]

The System Overview "layercake" the the core item in this pull. It's objective is to
provide a view of the deployment based on the function of the role (instead of name).
It's more of a show/demo screen than utility but hopefully it will make it easier
to understand what's going on at the system level.

This is a WIP - there is more to do. In this pass ALL of the node-roles are shown
without any deployment or snapshot filtering. Clearly that's not going to work long
term, but it's enough for now.

We need to add to the config/layercake.json to add more role->layer mappings.

I also fixed a handful of bugs in this pull including updating the unAvilable icons.

node.server UI is also working

I needed to add a BDD test to cover the Allocated IP API (because I broke that earlier).

BDD/features/network.feature | 6 +++-
.../barclamp_network/networks_controller.rb | 4 +--
.../app/models/barclamp_network/server.rb | 20 +++++------
.../barclamp_network/interfaces/index.html.haml | 3 +-
.../node_roles/_network-admin.html.haml | 37 --------------------
.../views/barclamp_network/roles/_role.html.haml | 37 ++++++++++++++++++++
6 files changed, 55 insertions(+), 52 deletions(-)

Crowbar-Pull-ID: 77f1596106a7b7032466eca59c333bfb4a8e9051

Crowbar-Release: development