summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx')
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex1.json19
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex2_memo.json24
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex3.json24
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex1.json17
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex2.json27
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addInstance_ex1.json14
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addLink_ex1.json13
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeDevice_fab.json20
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeHost_fab.json22
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeInstance_ex1.json7
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeLink_ex1.json12
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex1_host.json22
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex2_device.json33
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showSummary_ex1.json30
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex1.json48
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex2_animated.json88
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex3_none.json7
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex1.json15
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex2.json15
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateHost.json17
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateInstance_ex1.json7
-rw-r--r--framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateLink_ex1.json12
22 files changed, 0 insertions, 493 deletions
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex1.json
deleted file mode 100644
index b82fda85..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex1.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "event": "addDevice",
- "payload": {
- "id": "of:0000000000000003",
- "type": "switch",
- "online": true,
- "labels": [
- "of:0000000000000003",
- "3",
- "",
- null
- ],
- "props": {
- "latitude": 123.5,
- "longitude": 67.8,
- "anotherProp": "foobar"
- }
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex2_memo.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex2_memo.json
deleted file mode 100644
index 5f519ffa..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex2_memo.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "event": "addDevice",
- "payload": {
- "id": "of:0000000000000003",
- "type": "switch",
- "online": true,
- "labels": [
- "of:0000000000000003",
- "3",
- "",
- null
- ],
- "props": {
- "latitude": 123.5,
- "longitude": 67.8,
- "anotherProp": "foobar"
- },
- "metaUi": {
- "xpc": 57.3,
- "ypc": 24.86,
- "and": "other properties the UI wishes to remember..."
- }
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex3.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex3.json
deleted file mode 100644
index e02f7124..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addDevice_ex3.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "event": "addDevice",
- "payload": {
- "id": "of:000000000000000a",
- "type": "switch",
- "online": true,
- "master": "local",
- "labels": [
- "",
- "NWOR",
- "of:000000000000000a"
- ],
- "props": {
- "latitude": "29.951475",
- "name": "NWOR",
- "longitude": "-90.078434"
- },
- "location": {
- "type": "latlng",
- "lat": 29.951475,
- "lng": -90.078434
- }
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex1.json
deleted file mode 100644
index a97d15a4..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex1.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "event": "addHost",
- "payload": {
- "id": "6A:40:24:F7:9C:2C/-1",
- "ingress": "6A:40:24:F7:9C:2C/-1/0-of:0000000000000003/2",
- "egress": "of:0000000000000003/2-6A:40:24:F7:9C:2C/-1/0",
- "cp": {
- "device": "of:0000000000000003",
- "port": 2
- },
- "labels": [
- "unknown",
- "6A:40:24:F7:9C:2C"
- ],
- "props": {}
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex2.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex2.json
deleted file mode 100644
index d47265b3..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addHost_ex2.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "event": "addHost",
- "payload": {
- "id": "00:00:00:00:00:01/-1",
- "type": "endstation",
- "ingress": "00:00:00:00:00:01/-1/0-of:0000000000000001/1",
- "egress": "of:0000000000000001/1-00:00:00:00:00:01/-1/0",
- "cp": {
- "device": "of:0000000000000001",
- "port": 1
- },
- "labels": [
- "10.0.0.1",
- "00:00:00:00:00:01"
- ],
- "props": {
- "name": "CMBR",
- "latitude": "44.37373",
- "longitude": "-71.109734"
- },
- "location": {
- "type": "latlng",
- "lat": 44.37373,
- "lng": -71.109734
- }
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addInstance_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addInstance_ex1.json
deleted file mode 100644
index 0579c1d5..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addInstance_ex1.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "event": "addInstance",
- "payload": {
- "id": "local",
- "ip": "127.0.0.1",
- "online": true,
- "uiAttached": true,
- "switches": 25,
- "labels": [
- "local",
- "127.0.0.1"
- ]
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addLink_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addLink_ex1.json
deleted file mode 100644
index f48147fc..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/addLink_ex1.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "event": "addLink",
- "payload": {
- "id": "of:0000000000000007/4-of:0000000000000006/1",
- "type": "direct",
- "online": true,
- "linkWidth": 2,
- "src": "of:0000000000000007",
- "srcPort": "4",
- "dst": "of:0000000000000006",
- "dstPort": "1"
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeDevice_fab.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeDevice_fab.json
deleted file mode 100644
index 0e8d47a0..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeDevice_fab.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "__comments__": [
- "fabricated event",
- "not sure if this is the actual format",
- "but we really only care about 'id' being in the payload"
- ],
- "event": "removeDevice",
- "payload": {
- "id": "of:0000000000000002",
- "type": "switch",
- "online": true,
- "labels": [
- "of:0000000000000002",
- "2",
- "",
- null
- ],
- "props": {}
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeHost_fab.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeHost_fab.json
deleted file mode 100644
index 42371993..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeHost_fab.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "__comments__": [
- "fabricated event",
- "not sure if this is the actual format",
- "but we really only care about 'id' being in the payload"
- ],
- "event": "removeHost",
- "payload": {
- "id": "6A:40:24:F7:9C:2C/-1",
- "ingress": "6A:40:24:F7:9C:2C/-1/0-of:0000000000000003/2",
- "egress": "of:0000000000000003/2-6A:40:24:F7:9C:2C/-1/0",
- "cp": {
- "device": "of:0000000000000003",
- "port": 2
- },
- "labels": [
- "unknown",
- "6A:40:24:F7:9C:2C"
- ],
- "props": {}
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeInstance_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeInstance_ex1.json
deleted file mode 100644
index 0f9388b6..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeInstance_ex1.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "event": "removeInstance",
- "payload": {
- "id": "onos-1",
- "online": "false"
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeLink_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeLink_ex1.json
deleted file mode 100644
index 8d1dd035..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/removeLink_ex1.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "event": "removeLink",
- "payload": {
- "id": "of:0000000000000001/1-of:0000000000000002/4",
- "type": "direct",
- "linkWidth": 2,
- "src": "of:0000000000000001",
- "srcPort": "1",
- "dst": "of:0000000000000002",
- "dstPort": "4"
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex1_host.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex1_host.json
deleted file mode 100644
index 19d99593..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex1_host.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "event": "showDetails",
- "sid": 9,
- "payload": {
- "id": "CA:4B:EE:A4:B0:33/-1",
- "type": "host",
- "propOrder": [
- "MAC",
- "IP",
- "-",
- "Latitude",
- "Longitude"
- ],
- "props": {
- "MAC": "CA:4B:EE:A4:B0:33",
- "IP": "[10.0.0.1]",
- "-": "",
- "Latitude": null,
- "Longitude": null
- }
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex2_device.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex2_device.json
deleted file mode 100644
index 8ac1f4f9..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showDetails_ex2_device.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "event": "showDetails",
- "sid": 37,
- "payload": {
- "id": "of:000000000000000a",
- "type": "switch",
- "propOrder": [
- "Name",
- "Vendor",
- "H/W Version",
- "S/W Version",
- "Serial Number",
- "-",
- "Latitude",
- "Longitude",
- "Ports",
- "-",
- "Master"
- ],
- "props": {
- "Name": null,
- "Vendor": "Nicira, Inc.",
- "H/W Version": "Open vSwitch",
- "S/W Version": "2.0.1",
- "Serial Number": "None",
- "-": "",
- "Latitude": null,
- "Longitude": null,
- "Ports": "5",
- "Master":"local"
- }
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showSummary_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showSummary_ex1.json
deleted file mode 100644
index 4d5bd30b..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showSummary_ex1.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "event": "showSummary",
- "sid": 1,
- "payload": {
- "id": "ONOS Summary",
- "type": "node",
- "propOrder": [
- "Devices",
- "Links",
- "Hosts",
- "Topology SCCs",
- "Paths",
- "-",
- "Intents",
- "Flows",
- "Version"
- ],
- "props": {
- "Devices": "25",
- "Links": "112",
- "Hosts": "25",
- "Topology SCCs": "1",
- "Paths": "1,272",
- "-": "",
- "Intents": "0",
- "Flows": "0",
- "Version": "1.0.0*"
- }
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex1.json
deleted file mode 100644
index bed7cdd0..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex1.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "event": "showTraffic",
- "sid":63,
- "payload": {
- "paths": [
- {
- "class": "primary",
- "traffic": false,
- "links": [
- "1E:10:D9:A2:84:E2/-1/0-of:0000000000000003/1",
- "of:0000000000000003/4-of:0000000000000002/1",
- "of:0000000000000002/4-of:0000000000000001/1",
- "of:0000000000000001/2-of:0000000000000006/4",
- "of:0000000000000006/2-of:0000000000000008/4",
- "of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0"
- ],
- "labels": [
- "",
- "",
- "",
- "",
- "",
- ""
- ]
- },
- {
- "class": "primary",
- "traffic": false,
- "links": [
- "9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3",
- "of:0000000000000008/4-of:0000000000000006/2",
- "of:0000000000000006/4-of:0000000000000001/2",
- "of:0000000000000001/1-of:0000000000000002/4",
- "of:0000000000000002/1-of:0000000000000003/4",
- "of:0000000000000003/1-1E:10:D9:A2:84:E2/-1/0"
- ],
- "labels": [
- "",
- "",
- "",
- "",
- "",
- ""
- ]
- }
- ]
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex2_animated.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex2_animated.json
deleted file mode 100644
index 610b516c..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex2_animated.json
+++ /dev/null
@@ -1,88 +0,0 @@
-{
- "event": "showTraffic",
- "sid": 227,
- "payload": {
- "paths": [
- {
- "class": "primary animated",
- "traffic": true,
- "links": [
- "02:D7:91:9F:4B:E8/-1/0-of:0000000000000004/1",
- "of:0000000000000004/4-of:0000000000000002/2",
- "of:0000000000000002/4-of:0000000000000001/1",
- "of:0000000000000001/2-of:0000000000000006/4",
- "of:0000000000000006/2-of:0000000000000008/4",
- "of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0"
- ],
- "labels": [
- "",
- "Load{rate=98, latest=37898}",
- "",
- "",
- "",
- "Load{rate=98, latest=38080}"
- ]
- },
- {
- "class": "primary animated",
- "traffic": true,
- "links": [
- "9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3",
- "of:0000000000000008/4-of:0000000000000006/2",
- "of:0000000000000006/4-of:0000000000000001/2",
- "of:0000000000000001/1-of:0000000000000002/4",
- "of:0000000000000002/2-of:0000000000000004/4",
- "of:0000000000000004/1-02:D7:91:9F:4B:E8/-1/0"
- ],
- "labels": [
- "",
- "",
- "Load{rate=98, latest=38178}",
- "",
- "Load{rate=98, latest=37898}",
- "Load{rate=98, latest=37898}"
- ]
- },
- {
- "class": "primary animated",
- "traffic": true,
- "links": [
- "1E:10:D9:A2:84:E2/-1/0-of:0000000000000003/1",
- "of:0000000000000003/4-of:0000000000000002/1",
- "of:0000000000000002/4-of:0000000000000001/1",
- "of:0000000000000001/2-of:0000000000000006/4",
- "of:0000000000000006/2-of:0000000000000008/4",
- "of:0000000000000008/3-9E:0B:E0:38:98:DE/-1/0"
- ],
- "labels": [
- "",
- "",
- "",
- "",
- "",
- "Load{rate=98, latest=38080}"
- ]
- },
- {
- "class": "primary animated",
- "traffic": true,
- "links": [
- "9E:0B:E0:38:98:DE/-1/0-of:0000000000000008/3",
- "of:0000000000000008/4-of:0000000000000006/2",
- "of:0000000000000006/4-of:0000000000000001/2",
- "of:0000000000000001/1-of:0000000000000002/4",
- "of:0000000000000002/1-of:0000000000000003/4",
- "of:0000000000000003/1-1E:10:D9:A2:84:E2/-1/0"
- ],
- "labels": [
- "",
- "",
- "Load{rate=98, latest=38178}",
- "",
- "",
- ""
- ]
- }
- ]
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex3_none.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex3_none.json
deleted file mode 100644
index 4acd8296..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/showTraffic_ex3_none.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "event": "showTraffic",
- "sid": 11,
- "payload": {
- "paths": []
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex1.json
deleted file mode 100644
index dda6186b..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex1.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "event": "updateDevice",
- "payload": {
- "id": "of:0000000000000002",
- "type": "switch",
- "online": true,
- "labels": [
- "of:0000000000000002",
- "2",
- "",
- null
- ],
- "props": {}
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex2.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex2.json
deleted file mode 100644
index d607f985..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateDevice_ex2.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "event": "updateDevice",
- "payload": {
- "id": "of:0000000000000002",
- "type": "switch",
- "online": false,
- "labels": [
- "of:0000000000000002",
- "2",
- "",
- null
- ],
- "props": {}
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateHost.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateHost.json
deleted file mode 100644
index fd7361c9..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateHost.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "event": "updateHost",
- "payload": {
- "id": "AA:C2:74:3F:B8:06/-1",
- "ingress": "AA:C2:74:3F:B8:06/-1/0-of:0000000000000005/3",
- "egress": "of:0000000000000005/3-AA:C2:74:3F:B8:06/-1/0",
- "cp": {
- "device": "of:0000000000000005",
- "port": 3
- },
- "labels": [
- "10.0.0.9",
- "AA:C2:74:3F:B8:06"
- ],
- "props":{}
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateInstance_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateInstance_ex1.json
deleted file mode 100644
index e8cf9e8d..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateInstance_ex1.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "event": "updateInstance",
- "payload": {
- "id": "onos-1",
- "online": "false"
- }
-}
diff --git a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateLink_ex1.json b/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateLink_ex1.json
deleted file mode 100644
index 3be5c5fb..00000000
--- a/framework/src/onos/web/gui/src/test/_karma/ev/_capture/rx/updateLink_ex1.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "event": "updateLink",
- "payload": {
- "id": "of:0000000000000002/4-of:0000000000000001/1",
- "type": "direct",
- "linkWidth": 2,
- "src": "of:0000000000000002",
- "srcPort": "4",
- "dst": "of:0000000000000001",
- "dstPort": "1"
- }
-}