Europe Region Demo data script written.
- Added LayoutLocation class
- Added RegionAddPeerLocCommand class
Note: still need to plumb through peer locations to UI JSON.
Change-Id: Ic3513a3880f50b440fe318dce6896b66d7e79704
diff --git a/web/gui/src/main/webapp/app/fw/svg/spriteData.js b/web/gui/src/main/webapp/app/fw/svg/spriteData.js
index b806ae9..1625a46 100644
--- a/web/gui/src/main/webapp/app/fw/svg/spriteData.js
+++ b/web/gui/src/main/webapp/app/fw/svg/spriteData.js
@@ -71,6 +71,12 @@
.addLabel('Segment Routing', 120, 10, {anchor: 'right'})
.register();
+ ssApi.createLayout('segmentRoutingTwo', 70, 75)
+ .addSprite('rack', 10, 40, 20)
+ .addSprite('rack', 40, 40, 20)
+ .addLabel('Segment Routing 2', 120, 10, {anchor: 'right'})
+ .register();
+
ssApi.dump();
// ----------------------------------------------------------$$$
}
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2-theme.css b/web/gui/src/main/webapp/app/view/topo2/topo2-theme.css
index bb26930..cdd84b3 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2-theme.css
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2-theme.css
@@ -196,7 +196,6 @@
}
#ov-topo2 svg .node.sub-region text {
- stroke: #000000;
}
#ov-topo2 svg .node.sub-region use {
@@ -607,7 +606,6 @@
}
.dark #ov-topo2 svg .node.sub-region text {
- stroke: #eeeeee;
}
.dark #ov-topo2 svg .node.sub-region use {