commit | f836a87af6371991e4db5dddabf4c555ca43aff2 | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Wed Aug 10 17:37:36 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Aug 11 15:00:58 2016 +0000 |
tree | d4864c4dab1353239dea00f515070838acd55013 | |
parent | bef16cde61b422073304bc6e32c841989115dd0f [diff] [blame] |
Added breadcrumbs array to topo2CurrentLayout response. Included Region name in "closed region" data structures. Change-Id: I1d4c223255b7ea8239f38c63d4caebe1bdeddf32
diff --git a/web/gui/src/main/java/org/onosproject/ui/impl/topo/Topo2ViewMessageHandler.java b/web/gui/src/main/java/org/onosproject/ui/impl/topo/Topo2ViewMessageHandler.java index 86d54cc..0d4d6aa 100644 --- a/web/gui/src/main/java/org/onosproject/ui/impl/topo/Topo2ViewMessageHandler.java +++ b/web/gui/src/main/java/org/onosproject/ui/impl/topo/Topo2ViewMessageHandler.java
@@ -118,7 +118,8 @@ // this is the layout that the user has chosen to display UiTopoLayout currentLayout = topoSession.currentLayout(); - sendMessage(CURRENT_LAYOUT, t2json.layout(currentLayout)); + List<UiTopoLayout> crumbs = topoSession.breadCrumbs(); + sendMessage(CURRENT_LAYOUT, t2json.layout(currentLayout, crumbs)); // this is the region that is associated with the current layout // this message includes details of the sub-regions, devices,