mirror of https://github.com/apache/cloudstack.git
cloudStack 3.0 new UI - NaaS - Public network - populate IP Addresses tab.
This commit is contained in:
parent
9aa571788c
commit
5b790db556
|
|
@ -155,12 +155,17 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
dataProvider: function(args) {
|
||||
setTimeout(function() {
|
||||
args.response.success({
|
||||
data: []
|
||||
});
|
||||
}, 100);
|
||||
dataProvider: function(args) {
|
||||
var zoneId = "6e3728bf-0b13-442c-a968-a42015291662"; //temporary until Brian fixes the bug.
|
||||
//var zoneId = args.context.zones[0].id;
|
||||
$.ajax({
|
||||
url: createURL("listVlanIpRanges&zoneid=" + zoneId),
|
||||
dataType: "json",
|
||||
success: function(json) {
|
||||
var items = json.listvlaniprangesresponse.vlaniprange;
|
||||
args.response.success({data: items});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue