diff options
Diffstat (limited to 'framework/src/onos/web/api/src/main/resources/definitions')
29 files changed, 0 insertions, 1938 deletions
diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Application.json b/framework/src/onos/web/api/src/main/resources/definitions/Application.json deleted file mode 100644 index fb5bbeb9..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Application.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "type": "object", - "title": "application", - "required": [ - "name", - "id", - "version", - "description", - "origin", - "permissions", - "featuresRepo", - "features", - "requiredApps", - "state" - ], - "properties": { - "name": { - "type": "string", - "example": "org.onosproject.distributedprimitives" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "version": { - "type": "string", - "example": "1.2.3" - }, - "description": { - "type": "string", - "example": "ONOS app to test distributed primitives" - }, - "origin": { - "type": "string", - "example": "ON.Lab" - }, - "permissions": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "string", - "example": "" - } - }, - "featuresRepo": { - "type": "string", - "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features" - }, - "features": { - "type": "array", - "xml": { - "name": "features", - "wrapped": true - }, - "items": { - "type": "string", - "example": "onos-app-distributed-primitives" - } - }, - "requiredApps": { - "type": "array", - "xml": { - "name": "requiredApps", - "wrapped": true - }, - "items": { - "type": "string", - "example": "" - } - }, - "state": { - "type": "string", - "example": "ACTIVE" - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/ApplicationPost.json b/framework/src/onos/web/api/src/main/resources/definitions/ApplicationPost.json deleted file mode 100644 index fb5bbeb9..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/ApplicationPost.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "type": "object", - "title": "application", - "required": [ - "name", - "id", - "version", - "description", - "origin", - "permissions", - "featuresRepo", - "features", - "requiredApps", - "state" - ], - "properties": { - "name": { - "type": "string", - "example": "org.onosproject.distributedprimitives" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "version": { - "type": "string", - "example": "1.2.3" - }, - "description": { - "type": "string", - "example": "ONOS app to test distributed primitives" - }, - "origin": { - "type": "string", - "example": "ON.Lab" - }, - "permissions": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "string", - "example": "" - } - }, - "featuresRepo": { - "type": "string", - "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features" - }, - "features": { - "type": "array", - "xml": { - "name": "features", - "wrapped": true - }, - "items": { - "type": "string", - "example": "onos-app-distributed-primitives" - } - }, - "requiredApps": { - "type": "array", - "xml": { - "name": "requiredApps", - "wrapped": true - }, - "items": { - "type": "string", - "example": "" - } - }, - "state": { - "type": "string", - "example": "ACTIVE" - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Applications.json b/framework/src/onos/web/api/src/main/resources/definitions/Applications.json deleted file mode 100644 index 304404a4..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Applications.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "type": "object", - "title": "applications", - "required": [ - "applications" - ], - "properties": { - "applications": { - "type": "array", - "xml": { - "name": "applications", - "wrapped": true - }, - "items": { - "type": "object", - "title": "application", - "required": [ - "name", - "id", - "version", - "description", - "origin", - "permissions", - "featuresRepo", - "features", - "requiredApps", - "state" - ], - "properties": { - "name": { - "type": "string", - "example": "org.onosproject.distributedprimitives" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "version": { - "type": "string", - "example": "1.2.3" - }, - "description": { - "type": "string", - "example": "ONOS app to test distributed primitives" - }, - "origin": { - "type": "string", - "example": "ON.Lab" - }, - "permissions": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "string", - "example": "" - } - }, - "featuresRepo": { - "type": "string", - "example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features" - }, - "features": { - "type": "array", - "xml": { - "name": "features", - "wrapped": true - }, - "items": { - "type": "string", - "example": "onos-app-distributed-primitives" - } - }, - "requiredApps": { - "type": "array", - "xml": { - "name": "requiredApps", - "wrapped": true - }, - "items": { - "type": "string", - "example": "" - } - }, - "state": { - "type": "string", - "example": "ACTIVE" - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Cluster.json b/framework/src/onos/web/api/src/main/resources/definitions/Cluster.json deleted file mode 100644 index f2d32a84..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Cluster.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "type": "object", - "title": "cluster", - "required": [ - "nodes" - ], - "properties": { - "nodes": { - "type": "array", - "xml": { - "name": "nodes", - "wrapped": true - }, - "items": { - "type": "object", - "title": "nodes", - "required": [ - "id", - "ip", - "tcpPort", - "status" - ], - "properties": { - "id": { - "type": "string", - "example": "127.0.0.1" - }, - "ip": { - "type": "string", - "example": "127.0.0.1" - }, - "tcpPort": { - "type": "integer", - "format": "int64", - "example": 9876 - }, - "status": { - "type": "string", - "example": "ACTIVE" - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/ClusterNode.json b/framework/src/onos/web/api/src/main/resources/definitions/ClusterNode.json deleted file mode 100644 index 831f02f1..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/ClusterNode.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "type": "object", - "required": [ - "id", - "ip", - "tcpPort", - "status" - ], - "properties": { - "id": { - "type": "string", - "example": "127.0.0.1" - }, - "ip": { - "type": "string", - "example": "127.0.0.1" - }, - "tcpPort": { - "type": "integer", - "format": "int64", - "example": 9876 - }, - "status": { - "type": "string", - "example": "ACTIVE" - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/ClusterPost.json b/framework/src/onos/web/api/src/main/resources/definitions/ClusterPost.json deleted file mode 100644 index ad67fc7b..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/ClusterPost.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "type": "object", - "title": "nodes", - "properties": { - "nodes": { - "type": "array", - "xml": { - "name": "nodes", - "wrapped": true - }, - "items": { - "type": "object", - "title": "nodes", - "required": [ - "id", - "ip", - "tcpPort", - "status" - ], - "properties": { - "id": { - "type": "string", - "example": "127.0.0.1" - }, - "ip": { - "type": "string", - "example": "127.0.0.1" - }, - "tcpPort": { - "type": "integer", - "format": "int64", - "example": 9876 - }, - "status": { - "type": "string", - "example": "ACTIVE" - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/DeviceGet.json b/framework/src/onos/web/api/src/main/resources/definitions/DeviceGet.json deleted file mode 100644 index 03e67d5f..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/DeviceGet.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "type": "object", - "title": "device", - "required": [ - "id", - "type", - "available", - "role", - "mfr", - "hw", - "sw", - "serial", - "chassisId", - "annotations" - ], - "properties": { - "id": { - "type": "string", - "example": "of:0000000000000001" - }, - "type": { - "type": "string", - "example": "SWITCH" - }, - "available": { - "type": "boolean", - "example": true - }, - "role": { - "type": "string", - "example": "of:0000000000000001" - }, - "mfr": { - "type": "string", - "example": "Nicira, Inc." - }, - "hw": { - "type": "string", - "example": "Open vSwitch" - }, - "sw": { - "type": "string", - "example": "2.3.1" - }, - "serial": { - "type": "string", - "example": "123" - }, - "chassisId": { - "type": "string", - "example": "1" - }, - "annotations": { - "type": "object", - "title": "annotations", - "required": [ - "managementAddress", - "protocol", - "channelId" - ], - "properties": { - "managementAddress": { - "type": "string", - "example": "123" - }, - "protocol": { - "type": "string", - "example": "OF_13" - }, - "channelId": { - "type": "string", - "example": "10.128.12.4:34689" - } - } - } - } -} diff --git a/framework/src/onos/web/api/src/main/resources/definitions/DeviceGetPorts.json b/framework/src/onos/web/api/src/main/resources/definitions/DeviceGetPorts.json deleted file mode 100644 index 3a5230ca..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/DeviceGetPorts.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "type": "object", - "title": "device", - "required": [ - "id", - "type", - "available", - "role", - "mfr", - "hw", - "sw", - "serial", - "chassisId", - "annotations" - ], - "properties": { - "id": { - "type": "string", - "example": "of:0000000000000001" - }, - "type": { - "type": "string", - "example": "SWITCH" - }, - "available": { - "type": "boolean", - "example": true - }, - "role": { - "type": "string", - "example": "of:0000000000000001" - }, - "mfr": { - "type": "string", - "example": "Nicira, Inc." - }, - "hw": { - "type": "string", - "example": "Open vSwitch" - }, - "sw": { - "type": "string", - "example": "2.3.1" - }, - "serial": { - "type": "string", - "example": "123" - }, - "chassisId": { - "type": "string", - "example": "1" - }, - "annotations": { - "type": "object", - "title": "annotations", - "required": [ - "managementAddress", - "protocol", - "channelId" - ], - "properties": { - "managementAddress": { - "type": "string", - "example": "123" - }, - "protocol": { - "type": "string", - "example": "OF_13" - }, - "channelId": { - "type": "string", - "example": "10.128.12.4:34689" - } - } - }, - "ports": { - "type": "array", - "xml": { - "name": "port", - "wrapped": true - }, - "items": { - "type": "object", - "title": "port", - "required": [ - "element", - "port", - "isEnabled", - "type", - "portSpeed", - "annotations" - ], - "properties": { - "element": { - "type": "string", - "example": "of:0000000000000001" - }, - "port": { - "type": "string", - "example": "2" - }, - "isEnabled": { - "type": "boolean", - "example": true - }, - "type": { - "type": "string", - "example": "copper" - }, - "portSpeed": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "annotations": { - "type": "object", - "title": "annotations", - "required": [ - "portName" - ], - "properties": { - "portName": { - "type": "string", - "example": "s1" - } - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/DevicesGet.json b/framework/src/onos/web/api/src/main/resources/definitions/DevicesGet.json deleted file mode 100644 index 4cf4d9d2..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/DevicesGet.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "type": "object", - "title": "nodes", - "required": [ - "devices" - ], - "properties": { - "devices": { - "type": "array", - "xml": { - "name": "device", - "wrapped": true - }, - "items": { - "type": "object", - "title": "device", - "required": [ - "id", - "type", - "available", - "role", - "mfr", - "hw", - "sw", - "serial", - "chassisId", - "annotations" - ], - "properties": { - "id": { - "type": "string", - "example": "of:0000000000000001" - }, - "type": { - "type": "string", - "example": "SWITCH" - }, - "available": { - "type": "boolean", - "example": true - }, - "role": { - "type": "string", - "example": "of:0000000000000001" - }, - "mfr": { - "type": "string", - "example": "Nicira, Inc." - }, - "hw": { - "type": "string", - "example": "Open vSwitch" - }, - "sw": { - "type": "string", - "example": "2.3.1" - }, - "serial": { - "type": "string", - "example": "123" - }, - "chassisId": { - "type": "string", - "example": "1" - }, - "annotations": { - "type": "object", - "title": "annotations", - "required": [ - "managementAddress", - "protocol", - "channelId" - ], - "properties": { - "managementAddress": { - "type": "string", - "example": "123" - }, - "protocol": { - "type": "string", - "example": "OF_13" - }, - "channelId": { - "type": "string", - "example": "10.128.12.4:34689" - } - } - } - } - } - } - } -} diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Flows.json b/framework/src/onos/web/api/src/main/resources/definitions/Flows.json deleted file mode 100644 index 7428d73b..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Flows.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "type": "object", - "title": "flows", - "required": [ - "flows" - ], - "properties": { - "flows": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "object", - "title": "flow", - "required": [ - "id", - "tableId", - "appId", - "groupId", - "priority", - "timeout", - "isPermanent", - "deviceId", - "state", - "life", - "packets", - "bytes", - "lastSeen" - ], - "properties": { - "id": { - "type": "string", - "example": "12103425214920339" - }, - "tableId": { - "type": "integer", - "format": "int64", - "example": 3 - }, - "appId": { - "type": "string", - "example": "org.onosproject.core" - }, - "groupId": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "priority": { - "type": "integer", - "format": "int64", - "example": 400000 - }, - "timeout": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "isPermanent": { - "type": "boolean", - "example": true - }, - "deviceId": { - "type": "string", - "example": "of:0000000000000003" - }, - "state": { - "type": "string", - "example": "ADDED" - }, - "life": { - "type": "integer", - "format": "int64", - "example": 69889 - }, - "packets": { - "type": "integer", - "format": "int64", - "example": 22546 - }, - "bytes": { - "type": "integer", - "format": "int64", - "example": 1826226 - }, - "lastSeen": { - "type": "integer", - "format": "int64", - "example": 1447892365670 - }, - "treatment": { - "type": "object", - "title": "treatment", - "required": [ - "instructions", - "deferred" - ], - "properties": { - "instructions": { - "type": "array", - "title": "treatment", - "required": [ - "properties", - "port" - ], - "items": { - "type": "object", - "title": "instruction", - "required": [ - "type", - "port" - ], - "properties": { - "type": { - "type": "string", - "example": "OUTPUT" - }, - "port": { - "type": "integer", - "format": "int64", - "example": -3 - } - } - } - }, - "deferred": { - "type": "array", - "xml": { - "name": "deferred", - "wrapped": true - }, - "items": { - "type": "string" - } - } - } - } - } - } - }, - "selector": { - "type": "object", - "title": "selector", - "required": [ - "criteria" - ], - "properties": { - "criteria": { - "type": "array", - "xml": { - "name": "criteria", - "wrapped": true - }, - "items": { - "type": "object", - "title": "criteria", - "required": [ - "type", - "ethType" - ], - "properties": { - "type": { - "type": "string", - "example": "ETH_TYPE" - }, - "ethType": { - "type": "integer", - "format": "int64", - "example": "0x88cc" - } - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/FlowsPost.json b/framework/src/onos/web/api/src/main/resources/definitions/FlowsPost.json deleted file mode 100644 index 11738da6..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/FlowsPost.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "type": "object", - "title": "flow", - "required": [ - "priority", - "timeout", - "isPermanent", - "deviceId" - ], - "properties": { - "priority": { - "type": "integer", - "format": "int64", - "example": 400000 - }, - "timeout": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "isPermanent": { - "type": "boolean", - "example": true - }, - "deviceId": { - "type": "string", - "example": "of:0000000000000001" - }, - "treatment": { - "type": "object", - "title": "treatment", - "required": [ - "instructions", - "deferred" - ], - "properties": { - "instructions": { - "type": "array", - "title": "treatment", - "required": [ - "properties", - "port" - ], - "items": { - "type": "object", - "title": "instructions", - "required": [ - "type", - "port" - ], - "properties": { - "type": { - "type": "string", - "example": "OUTPUT" - }, - "port": { - "type": "integer", - "format": "int64", - "example": -3 - } - } - } - } - } - }, - "selector": { - "type": "object", - "title": "selector", - "required": [ - "criteria" - ], - "properties": { - "criteria": { - "type": "array", - "xml": { - "name": "criteria", - "wrapped": true - }, - "items": { - "type": "object", - "title": "criteria", - "required": [ - "type", - "ethType" - ], - "properties": { - "type": { - "type": "string", - "example": "ETH_TYPE" - }, - "ethType": { - "type": "integer", - "format": "int64", - "example": "0x88cc" - } - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Host.json b/framework/src/onos/web/api/src/main/resources/definitions/Host.json deleted file mode 100644 index 208bf1f5..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Host.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "type": "object", - "title": "host", - "required": [ - "id", - "mac", - "vlan", - "ipAddresses", - "location" - ], - "properties": { - "id": { - "type": "string", - "example": "46:E4:3C:A4:17:C8/-1" - }, - "mac": { - "type": "string", - "example": "46:E4:3C:A4:17:C8" - }, - "vlan": { - "type": "string", - "example": "-1" - }, - "ipAddresses": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "string", - "example": "127.0.0.1" - } - }, - "location": { - "type": "object", - "title": "location", - "required": [ - "elementId", - "port" - ], - "properties": { - "elementId": { - "type": "string", - "example": "of:0000000000000002" - }, - "port": { - "type": "string", - "example": "3" - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/HostPut.json b/framework/src/onos/web/api/src/main/resources/definitions/HostPut.json deleted file mode 100644 index 66bf6545..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/HostPut.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "type": "object", - "title": "host", - "required": [ - "mac", - "vlan", - "ipAddresses", - "location" - ], - "properties": { - "mac": { - "type": "string", - "example": "46:E4:3C:A4:17:C8" - }, - "vlan": { - "type": "string", - "example": "-1" - }, - "ipAddresses": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "string", - "example": "127.0.0.1" - } - }, - "location": { - "type": "object", - "title": "location", - "required": [ - "elementId", - "port" - ], - "properties": { - "elementId": { - "type": "string", - "example": "of:0000000000000002" - }, - "port": { - "type": "string", - "example": "3" - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Hosts.json b/framework/src/onos/web/api/src/main/resources/definitions/Hosts.json deleted file mode 100644 index 235a0833..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Hosts.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "type": "object", - "title": "hosts", - "required": [ - "hosts" - ], - "properties": { - "hosts": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "object", - "title": "host", - "required": [ - "id", - "mac", - "vlan", - "ipAddresses", - "location" - ], - "properties": { - "id": { - "type": "string", - "example": "46:E4:3C:A4:17:C8/-1" - }, - "mac": { - "type": "string", - "example": "46:E4:3C:A4:17:C8" - }, - "vlan": { - "type": "string", - "example": "-1" - }, - "ipAddresses": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "string", - "example": "127.0.0.1" - } - }, - "location": { - "type": "object", - "title": "location", - "required": [ - "elementId", - "port" - ], - "properties": { - "elementId": { - "type": "string", - "example": "of:0000000000000002" - }, - "port": { - "type": "string", - "example": "3" - } - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/IntentHost.json b/framework/src/onos/web/api/src/main/resources/definitions/IntentHost.json deleted file mode 100644 index 67c181c0..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/IntentHost.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "type": "object", - "title": "host", - "required": [ - "type", - "appId", - "priority", - "one", - "two" - ], - "properties": { - "type": { - "type": "string", - "example": "HostToHostIntent" - }, - "appId": { - "type": "string", - "example": "org.onosproject.ovsdb" - }, - "priority": { - "type": "integer", - "format": "int64", - "example": 55 - }, - "one": { - "type": "string", - "example": "46:E4:3C:A4:17:C8/-1" - }, - "two": { - "type": "string", - "example": "08:00:27:56:8a:15/-1" - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json b/framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json deleted file mode 100644 index b84ad987..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/IntentPoint.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "type": "object", - "title": "host", - "required": [ - "type", - "appId", - "priority", - "ingressPoint", - "egressPoint" - ], - "properties": { - "type": { - "type": "string", - "example": "PointToPointIntent" - }, - "appId": { - "type": "string", - "example": "org.onosproject.ovsdb" - }, - "priority": { - "type": "integer", - "format": "int64", - "example": 55 - }, - "ingressPoint": { - "type": "object", - "title": "point", - "required": [ - "port", - "device" - ], - "properties": { - "port": { - "type": "string", - "example": "3" - }, - "device": { - "type": "string", - "example": "of:0000000000000002" - } - } - }, - "egressPoint": { - "type": "object", - "title": "point", - "required": [ - "port", - "device" - ], - "properties": { - "port": { - "type": "string", - "example": "2" - }, - "device": { - "type": "string", - "example": "of:0000000000000003" - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Intents.json b/framework/src/onos/web/api/src/main/resources/definitions/Intents.json deleted file mode 100644 index f32ef07b..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Intents.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "type": "object", - "title": "intents", - "required": [ - "intents" - ], - "properties": { - "intents": { - "type": "array", - "xml": { - "name": "intents", - "wrapped": true - }, - "items": { - "type": "object", - "title": "host", - "required": [ - "type", - "id", - "appId", - "state" - ], - "properties": { - "type": { - "type": "string", - "example": "HostToHostIntent" - }, - "id": { - "type": "string", - "example": "0x6" - }, - "appId": { - "type": "string", - "example": "org.onosproject.ovsdb" - }, - "priority": { - "type": "integer", - "format": "int64", - "example": 55 - }, - "resources": { - "type": "array", - "xml": { - "name": "resources", - "wrapped": true - }, - "items": { - "type": "string", - "example": "46:E4:3C:A4:17:C8/-1" - }, - "state": { - "type": "string", - "example": "INSTALLED" - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/LinksGet.json b/framework/src/onos/web/api/src/main/resources/definitions/LinksGet.json deleted file mode 100644 index 367cb67e..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/LinksGet.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "type": "object", - "title": "links", - "required": [ - "links" - ], - "properties": { - "links": { - "type": "array", - "xml": { - "name": "links", - "wrapped": true - }, - "items": { - "type": "object", - "title": "link", - "required": [ - "src", - "dst", - "type", - "state" - ], - "properties": { - "src": { - "type": "object", - "title": "src", - "required": [ - "port", - "device" - ], - "properties": { - "port": { - "type": "string", - "example": "3" - }, - "device": { - "type": "string", - "example": "of:0000000000000002" - } - } - }, - "dst": { - "type": "object", - "title": "dst", - "required": [ - "port", - "device" - ], - "properties": { - "port": { - "type": "string", - "example": "2" - }, - "device": { - "type": "string", - "example": "of:0000000000000003" - } - } - }, - "type": { - "type": "string", - "example": "DIRECT" - }, - "state": { - "type": "string", - "example": "ACTIVE" - } - } - } - } - } -} diff --git a/framework/src/onos/web/api/src/main/resources/definitions/NetCfgGet.json b/framework/src/onos/web/api/src/main/resources/definitions/NetCfgGet.json deleted file mode 100644 index 0fdcf585..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/NetCfgGet.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "type": "object", - "required": [ - "apps", - "links", - "domains", - "hosts", - "ports", - "devices" - ], - "properties": { - "apps": { - "type": "object" - }, - "links": { - "title": "links", - "type": "object", - "properties": { - "deviceId/port-deviceId/port": { - "title": "basic", - "type": "object", - "required": [ - "basic" - ], - "properties": { - "basic": { - "title": "basic", - "type": "object", - "properties": { - "allowed": { - "type": "boolean", - "example": true - } - } - } - } - } - } - }, - "domains": { - "type": "object" - }, - "hosts": { - "type": "object" - }, - "ports": { - "type": "object" - }, - "devices": { - "title": "Devices", - "type": "object", - "required": [ - "deviceId" - ], - "properties": { - "deviceId": { - "title": "basic", - "type": "object", - "required": [ - "basic" - ], - "properties": { - "basic": { - "title": "basicDevice", - "type": "object", - "required": [ - "allowed" - ], - "properties": { - "allowed": { - "type": "boolean", - "example": true - }, - "name": { - "type": "string", - "example": "DeviceName" - }, - "owner": { - "type": "string", - "example": "OwnerName" - }, - "latitude": { - "type": "string", - "example": "25" - } - } - } - } - } - } - } - } -} diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Paths.json b/framework/src/onos/web/api/src/main/resources/definitions/Paths.json deleted file mode 100644 index 2407036e..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Paths.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "type": "object", - "title": "paths", - "required": [ - "paths" - ], - "properties": { - "paths": { - "type": "array", - "xml": { - "name": "hosts", - "wrapped": true - }, - "items": { - "type": "object", - "title": "host", - "required": [ - "cost", - "links" - ], - "properties": { - "cost": { - "type": "integer", - "format": "int64", - "example": 2 - }, - "links": { - "type": "array", - "xml": { - "name": "links", - "wrapped": true - }, - "items": { - "type": "object", - "title": "link", - "required": [ - "src", - "dst", - "type", - "state" - ], - "properties": { - "src": { - "type": "object", - "title": "src", - "required": [ - "port", - "device" - ], - "properties": { - "port": { - "type": "string", - "example": "3" - }, - "device": { - "type": "string", - "example": "of:0000000000000002" - } - } - }, - "dst": { - "type": "object", - "title": "dst", - "required": [ - "port", - "device" - ], - "properties": { - "port": { - "type": "string", - "example": "2" - }, - "device": { - "type": "string", - "example": "of:0000000000000003" - } - } - }, - "type": { - "type": "string", - "example": "DIRECT" - }, - "state": { - "type": "string", - "example": "ACTIVE" - } - } - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/StatisticsFlowsLink.json b/framework/src/onos/web/api/src/main/resources/definitions/StatisticsFlowsLink.json deleted file mode 100644 index 886902b8..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/StatisticsFlowsLink.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "type": "object", - "title": "loads", - "required": [ - "loads" - ], - "properties": { - "loads": { - "type": "array", - "required": [ - "loads" - ], - "xml": { - "name": "loads", - "wrapped": true - }, - "items": { - "type": "object", - "title": "loads", - "required": [ - "rate", - "latest", - "valid", - "time", - "link" - ], - "properties": { - "rate": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "latest": { - "type": "string", - "example": "of:0000000000000001" - }, - "valid": { - "type": "boolean", - "example": false - }, - "time": { - "type": "integer", - "format": "int64", - "example": 1447980119542 - }, - "link": { - "type": "string", - "example": "http://10.128.12.1:8181/onos/v1/links?device=of:0000000000000002&port=3" - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/StatisticsFlowsTables.json b/framework/src/onos/web/api/src/main/resources/definitions/StatisticsFlowsTables.json deleted file mode 100644 index 77668734..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/StatisticsFlowsTables.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "type": "object", - "title": "statistics", - "required": [ - "statistics" - ], - "properties": { - "statistics": { - "type": "array", - "required": [ - "statistics" - ], - "xml": { - "name": "statistics", - "wrapped": true - }, - "items": { - "type": "object", - "title": "statistics", - "required": [ - "table" - ], - "properties": { - "deviceId": { - "type": "string", - "example": "of:0000000000000001" - }, - "table": { - "type": "array", - "xml": { - "name": "table", - "wrapped": true - }, - "items": { - "type": "object", - "title": "tables", - "required": [ - "tableId", - "deviceId", - "activeEntries", - "packetsLookedUp", - "packetsMathced" - ], - "properties": { - "tableId": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "deviceId": { - "type": "string", - "example": "of:0000000000000001" - }, - "activeEntries": { - "type": "integer", - "format": "int64", - "example": 3 - }, - "packetsLookedUp": { - "type": "integer", - "format": "int64", - "example": 458530 - }, - "packetsMathced": { - "type": "integer", - "format": "int64", - "example": 458501 - } - } - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/StatisticsPorts.json b/framework/src/onos/web/api/src/main/resources/definitions/StatisticsPorts.json deleted file mode 100644 index e3ed71f1..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/StatisticsPorts.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "type": "object", - "title": "all-port-statistics", - "required": [ - "statistics" - ], - "properties": { - "statistics": { - "type": "array", - "required": [ - "statistics" - ], - "xml": { - "name": "statistics", - "wrapped": true - }, - "items": { - "type": "object", - "title": "statistics", - "required": [ - "ports" - ], - "properties": { - "deviceId": { - "type": "string", - "example": "of:0000000000000001" - }, - "ports": { - "type": "array", - "xml": { - "name": "ports", - "wrapped": true - }, - "items": { - "type": "object", - "title": "ports", - "required": [ - "port", - "packetsReceived", - "packetsSent", - "bytesReceived", - "bytesSent", - "packetsRxDropped", - "packetsTxDropped", - "packetsRxErrors", - "packetsTxErrors", - "durationSec" - ], - "properties": { - "port": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "packetsReceived": { - "type": "integer", - "format": "int64", - "example": 98 - }, - "packetsSent": { - "type": "integer", - "format": "int64", - "example": 98 - }, - "bytesReceived": { - "type": "integer", - "format": "int64", - "example": 9162 - }, - "bytesSent": { - "type": "integer", - "format": "int64", - "example": 9162 - }, - "packetsRxDropped": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "packetsTxDropped": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "packetsRxErrors": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "packetsTxErrors": { - "type": "integer", - "format": "int64", - "example": 0 - }, - "durationSec": { - "type": "integer", - "format": "int64", - "example": 90 - } - } - } - } - } - } - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/Topology.json b/framework/src/onos/web/api/src/main/resources/definitions/Topology.json deleted file mode 100644 index 5e38d323..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/Topology.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "type": "object", - "title": "topology", - "required": [ - "time", - "devices", - "links", - "clusters" - ], - "properties": { - "time": { - "type": "integer", - "format": "int64", - "example": 183004405835967 - }, - "devices": { - "type": "integer", - "format": "int64", - "example": 3 - }, - "links": { - "type": "integer", - "format": "int64", - "example": 4 - }, - "clusters": { - "type": "integer", - "format": "int64", - "example": 1 - } - } -} diff --git a/framework/src/onos/web/api/src/main/resources/definitions/TopologyBroadcast.json b/framework/src/onos/web/api/src/main/resources/definitions/TopologyBroadcast.json deleted file mode 100644 index 52488534..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/TopologyBroadcast.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "type": "object", - "title": "response", - "required": [ - "broadcast" - ], - "properties": { - "broadcast": { - "type": "boolean", - "example": true - } - } -}
\ No newline at end of file diff --git a/framework/src/onos/web/api/src/main/resources/definitions/TopologyCluster.json b/framework/src/onos/web/api/src/main/resources/definitions/TopologyCluster.json deleted file mode 100644 index 8adf2dea..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/TopologyCluster.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "type": "object", - "title": "device", - "required": [ - "id", - "deviceCount", - "linkCount", - "root" - ], - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "deviceCount": { - "type": "integer", - "format": "int64", - "example": 3 - }, - "linkCount": { - "type": "integer", - "format": "int64", - "example": 4 - }, - "root": { - "type": "string", - "example": "of:0000000000000001" - } - } -} diff --git a/framework/src/onos/web/api/src/main/resources/definitions/TopologyClusters.json b/framework/src/onos/web/api/src/main/resources/definitions/TopologyClusters.json deleted file mode 100644 index 5974b445..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/TopologyClusters.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "type": "object", - "title": "clusters", - "required": [ - "clusters" - ], - "properties": { - "clusters": { - "type": "array", - "xml": { - "name": "cluster", - "wrapped": true - }, - "items": { - "type": "object", - "title": "cluster", - "required": [ - "id", - "deviceCount", - "linkCount", - "root" - ], - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "deviceCount": { - "type": "integer", - "format": "int64", - "example": 3 - }, - "linkCount": { - "type": "integer", - "format": "int64", - "example": 4 - }, - "root": { - "type": "string", - "example": "of:0000000000000001" - } - } - } - } - } -} - diff --git a/framework/src/onos/web/api/src/main/resources/definitions/TopologyClustersDevices.json b/framework/src/onos/web/api/src/main/resources/definitions/TopologyClustersDevices.json deleted file mode 100644 index 6077d9d7..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/TopologyClustersDevices.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "type": "object", - "title": "devices", - "required": [ - "devices" - ], - "properties": { - "devices": { - "type": "array", - "xml": { - "name": "cluster", - "wrapped": true - }, - "items": { - "type": "string", - "title": "device", - "example": "of:0000000000000001" - } - } - } -} - diff --git a/framework/src/onos/web/api/src/main/resources/definitions/TopologyInfrastructure.json b/framework/src/onos/web/api/src/main/resources/definitions/TopologyInfrastructure.json deleted file mode 100644 index 64564c00..00000000 --- a/framework/src/onos/web/api/src/main/resources/definitions/TopologyInfrastructure.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "type": "object", - "title": "response", - "required": [ - "infrastructure" - ], - "properties": { - "infrastructure": { - "type": "boolean", - "example": true - } - } -}
\ No newline at end of file |