Implemented Instance View of Topo in GUI2
Change-Id: If603481e729ebc19a6f91db2739f1b422cc762d0
diff --git a/web/gui2/src/main/webapp/app/view/topology/topology/topology.component.html b/web/gui2/src/main/webapp/app/view/topology/topology/topology.component.html
index 0db2c82..d74991c 100644
--- a/web/gui2/src/main/webapp/app/view/topology/topology/topology.component.html
+++ b/web/gui2/src/main/webapp/app/view/topology/topology/topology.component.html
@@ -15,7 +15,7 @@
-->
<onos-flash id="topoMsgFlash" message="{{ flashMsg }}" (closed)="flashMsg = ''"></onos-flash>
-<onos-instance #instance></onos-instance>
+<onos-instance #instance [divTopPx]="80" (mastershipEvent)="force.onosInstMastership = $event"></onos-instance>
<onos-summary #summary></onos-summary>
<onos-toolbar #toolbar></onos-toolbar>
<onos-details #details></onos-details>
@@ -24,8 +24,8 @@
<svg viewBox="0 0 1000 1000" id="topo2">
<svg:g onos-nodeviceconnected />
<svg:g id="topo-zoomlayer">
- <svg:g onos-backgroundsvg/>
- <svg:g onos-forcesvg/>
+ <svg:g #background onos-backgroundsvg/>
+ <svg:g #force onos-forcesvg/>
</svg:g>
</svg>
</div>