initial topology view (sample JSON data isn't complete)
diff --git a/web/ons-demo/js/model.js b/web/ons-demo/js/model.js
index 27a03b2..e979196 100644
--- a/web/ons-demo/js/model.js
+++ b/web/ons-demo/js/model.js
@@ -2,7 +2,7 @@
function toD3(results) {
var model = {
- edgeSwitchs: [],
+ edgeSwitches: [],
aggregationSwitches: [],
coreSwitches: []
}
@@ -25,7 +25,7 @@
} else if (aggregationSwitchDPIDs[s.dpid]) {
model.aggregationSwitches.push(s);
} else {
- model.edgeSwitchs.push(s);
+ model.edgeSwitches.push(s);
}
});