Skip to content
Snippets Groups Projects
Commit 6fd8367e authored by Kanzhe Jiang's avatar Kanzhe Jiang
Browse files

Add controller-wide of stats to REST API

parent c89e18ac
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,7 @@ public class SwitchCounterResource extends CounterResourceBase {
Long[] switchDpids;
if (switchID.equalsIgnoreCase("all")) {
switchDpids = floodlightProvider.getSwitches().keySet().toArray(new Long[0]);
getOneSwitchCounterJson(model, CounterStore.CONTROLLER_NAME, counterName);
for (Long dpid : switchDpids) {
switchID = HexString.toHexString(dpid);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment