Sketching out request/showTraffic interactions between GUI server/client.
Change-Id: I78dfe0da6a7b4e03972a8ef11190101614d81a63
diff --git a/web/gui/src/main/webapp/json/ev/intentSketch/ev_6_onos.json b/web/gui/src/main/webapp/json/ev/intentSketch/ev_6_onos.json
index be3925e..5f55415 100644
--- a/web/gui/src/main/webapp/json/ev/intentSketch/ev_6_onos.json
+++ b/web/gui/src/main/webapp/json/ev/intentSketch/ev_6_onos.json
@@ -1,11 +1,20 @@
{
- "event": "showPath",
+ "event": "showTraffic",
"sid": 2,
"payload": {
- "intentId": "0x1234",
- "path": {
- "links": [ "1-2", "2-3" ],
- "traffic": false
- }
+ "paths": [
+ {
+ "intentId": "0x1234",
+ "links": [ "1-2", "2-3" ],
+ "class": "primary",
+ "labels": [ "17Gb", "16Gb" ]
+ },
+ {
+ "intentId": "0x4321",
+ "links": [ "5-6", "6-7" ],
+ "class": "secondary",
+ "labels": [ "9Gb", "5Gb" ]
+ }
+ ]
}
}