var data = {};
data['x'] = ps.x;
data['y'] = ps.y;
- $.post('/one/topology/node/' + did, data);
+ $.post('/controller/web/topology/node/' + did, data);
},
onClick: function(node, eventInfo, e) {
return false;
one.topology.update = function() {
$('#topology').empty();
- $.getJSON(one.global.remoteAddress+"one/topology/visual.json", function(data) {
+ $.getJSON(one.global.remoteAddress+"controller/web/topology/visual.json", function(data) {
one.topology.init(data);
});
}
/** INIT */
-$.getJSON(one.global.remoteAddress+"one/topology/visual.json", function(data) {
+$.getJSON(one.global.remoteAddress+"controller/web/topology/visual.json", function(data) {
one.topology.init(data);
});
\ No newline at end of file