Moved old REST APIs to point to the new network graph/topology implementation.
Switches URL is now /wm/onos/topology/switches/json (all/active/inactive filter has been dropped).
Change-Id: I6466bd303f2c352f42f6a47d425990fdfd45de63
diff --git a/web/ons-demo/js/model.js b/web/ons-demo/js/model.js
index bb1aaea..832cd99 100644
--- a/web/ons-demo/js/model.js
+++ b/web/ons-demo/js/model.js
@@ -62,7 +62,7 @@
var urls = {
links: '/wm/onos/topology/links/json',
- switches: '/wm/onos/topology/switches/all/json',
+ switches: '/wm/onos/topology/switches/json',
flows: '/wm/onos/flows/getsummary/0/0/json?proxy',
activeControllers: '/wm/onos/registry/controllers/json',
controllers: 'data/controllers.json',
@@ -82,7 +82,7 @@
var proxyURLs = {
links: '/wm/onos/topology/links/json?proxy',
- switches: '/wm/onos/topology/switches/all/json?proxy',
+ switches: '/wm/onos/topology/switches/json?proxy',
flows: '/wm/onos/flows/getsummary/0/0/json?proxy',
activeControllers: '/wm/onos/registry/controllers/json?proxy',
controllers: 'data/controllers.json',