summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/core/common/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/core/common/src/test/resources')
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AnnotationConstraint.json5
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AsymmetricPathConstraint.json3
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/BandwidthConstraint.json4
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json19
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LambdaConstraint.json4
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LatencyConstraint.json4
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LinkTypeConstraint.json5
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/ObstacleConstraint.json4
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/PointToPointIntent.json38
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/WaypointConstraint.json4
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/criteria-flow.json47
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/instructions-flow.json39
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/sigid-flow.json20
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/simple-flow.json12
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.xml29
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.zipbin1450 -> 0 bytes
16 files changed, 0 insertions, 237 deletions
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AnnotationConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AnnotationConstraint.json
deleted file mode 100644
index aaa72a72..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AnnotationConstraint.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "type":"AnnotationConstraint",
- "key":"key",
- "threshold":123.0
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AsymmetricPathConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AsymmetricPathConstraint.json
deleted file mode 100644
index 340bdbac..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/AsymmetricPathConstraint.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "type":"AsymmetricPathConstraint"
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/BandwidthConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/BandwidthConstraint.json
deleted file mode 100644
index 34750061..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/BandwidthConstraint.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "type":"BandwidthConstraint",
- "bandwidth":345.678
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json
deleted file mode 100644
index fedea251..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "type": "HostToHostIntent",
- "appId": "test",
- "selector": {"criteria": []},
- "treatment": {
- "instructions": [],
- "deferred": []
- },
- "priority": 7,
- "constraints": [
- {
- "inclusive": false,
- "types": ["OPTICAL"],
- "type": "LinkTypeConstraint"
- }
- ],
- "one": "00:00:00:00:00:02/-1",
- "two": "00:00:00:00:00:05/-1"
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LambdaConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LambdaConstraint.json
deleted file mode 100644
index 4ac37631..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LambdaConstraint.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "type":"LambdaConstraint",
- "lambda":444
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LatencyConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LatencyConstraint.json
deleted file mode 100644
index 1c46e5e8..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LatencyConstraint.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "type":"LatencyConstraint",
- "latencyMillis":111
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LinkTypeConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LinkTypeConstraint.json
deleted file mode 100644
index 8b766da0..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/LinkTypeConstraint.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "inclusive":false,
- "types":["DIRECT","OPTICAL"],
- "type":"LinkTypeConstraint"
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/ObstacleConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/ObstacleConstraint.json
deleted file mode 100644
index 35dcb0fe..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/ObstacleConstraint.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "type":"ObstacleConstraint",
- "obstacles":["of:dev1","of:dev2","of:dev3"]
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/PointToPointIntent.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/PointToPointIntent.json
deleted file mode 100644
index b941bef8..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/PointToPointIntent.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "type": "PointToPointIntent",
- "appId": "test",
- "selector": {
- "criteria": [
- {
- "type": "ETH_DST",
- "mac": "11:22:33:44:55:66"
- }
- ]
- },
- "treatment": {
- "instructions": [
- {
- "type": "L2MODIFICATION",
- "subtype": "ETH_SRC",
- "mac": "22:33:44:55:66:77"
- }
- ],
- "deferred": []
- },
- "priority": 55,
- "constraints": [
- {
- "inclusive": false,
- "types": ["OPTICAL"],
- "type": "LinkTypeConstraint"
- }
- ],
- "ingressPoint": {
- "port": "1",
- "device": "of:0000000000000001"
- },
- "egressPoint": {
- "port": "2",
- "device": "of:0000000000000007"
- }
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/WaypointConstraint.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/WaypointConstraint.json
deleted file mode 100644
index 7009cf98..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/WaypointConstraint.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "type":"WaypointConstraint",
- "waypoints":["of:devA","of:devB","of:devC"]
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/criteria-flow.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/criteria-flow.json
deleted file mode 100644
index 82c0f59d..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/criteria-flow.json
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "priority":1,
- "isPermanent":"false",
- "timeout":1,
- "deviceId":"of:0000000000000001",
- "selector":
- {"criteria":
- [
- {"type":"IN_PORT", "port":23},
- {"type":"IN_PHY_PORT", "port":44},
- {"type":"METADATA", "metadata":123456},
- {"type":"ETH_TYPE","ethType":"0x806"},
- {"type":"ETH_SRC","mac":"00:11:22:33:44:55"},
- {"type":"ETH_DST","mac":"00:11:22:33:44:55"},
- {"type":"VLAN_VID","vlanId":777},
- {"type":"VLAN_PCP","priority":3},
- {"type":"IP_DSCP","ipDscp":2},
- {"type":"IP_ECN","ipEcn":1},
- {"type":"IP_PROTO","protocol":4},
- {"type":"IPV4_SRC", "ip":"1.2.0.0/32"},
- {"type":"IPV4_DST", "ip":"2.2.0.0/32"},
- {"type":"IPV6_SRC", "ip":"3.2.0.0/32"},
- {"type":"IPV6_DST", "ip":"4.2.0.0/32"},
- {"type":"TCP_SRC", "tcpPort":80},
- {"type":"TCP_DST", "tcpPort":443},
- {"type":"UDP_SRC", "udpPort":180},
- {"type":"UDP_DST", "udpPort":1443},
- {"type":"SCTP_SRC", "sctpPort":280},
- {"type":"SCTP_DST", "sctpPort":2443},
- {"type":"ICMPV4_TYPE", "icmpType":24},
- {"type":"ICMPV4_CODE", "icmpCode":16},
- {"type":"ICMPV6_TYPE", "icmpv6Type":14},
- {"type":"ICMPV6_CODE", "icmpv6Code":6},
- {"type":"IPV6_FLABEL", "flowLabel":8},
- {"type":"IPV6_ND_TARGET", "targetAddress":"1111:2222:3333:4444:5555:6666:7777:8888"},
- {"type":"IPV6_ND_SLL", "mac":"00:11:22:33:44:56"},
- {"type":"IPV6_ND_TLL", "mac":"00:11:22:33:44:57"},
- {"type":"MPLS_LABEL", "label":123},
- {"type":"IPV6_EXTHDR", "exthdrFlags":99},
- {"type":"OCH_SIGID", "lambda":122},
- {"type":"TUNNEL_ID", "tunnelId":100},
- {"type":"OCH_SIGTYPE", "ochSignalType":"FIXED_GRID"},
- {"type":"ODU_SIGTYPE", "oduSignalType":"ODU4"},
- {"type":"ODU_SIGID", "oduSignalId" : {"tributaryPortNumber":1, "tributarySlotLen":80, "tributarySlotBitmap":"01:01:01:01:01:01:01:01:01:01"}}
- ]
- }
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/instructions-flow.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/instructions-flow.json
deleted file mode 100644
index 2a184b34..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/instructions-flow.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "priority":1,
- "isPermanent":"false",
- "timeout":1,
- "deviceId":"of:0000000000000001",
- "treatment":
- {
- "instructions":
- [
- {"type":"OUTPUT","port":-3},
- {"type":"DROP"},
- {"type":"L2MODIFICATION","subtype":"ETH_SRC","mac":"12:34:56:78:90:12"},
- {"type":"L2MODIFICATION","subtype":"ETH_DST","mac":"98:76:54:32:01:00"},
- {"type":"L2MODIFICATION","subtype":"VLAN_ID","vlanId":22},
- {"type":"L2MODIFICATION","subtype":"VLAN_PCP","vlanPcp":1},
- {"type":"L2MODIFICATION","subtype":"MPLS_LABEL","label":1048575},
- {"type":"L2MODIFICATION","subtype":"MPLS_PUSH"},
- {"type":"L2MODIFICATION","subtype":"MPLS_POP"},
- {"type":"L2MODIFICATION","subtype":"DEC_MPLS_TTL"},
- {"type":"L2MODIFICATION","subtype":"VLAN_POP"},
- {"type":"L2MODIFICATION","subtype":"VLAN_PUSH"},
- {"type":"L2MODIFICATION","subtype":"TUNNEL_ID", "tunnelId":100},
- {"type":"L3MODIFICATION","subtype":"IPV4_SRC", "ip":"1.2.3.4"},
- {"type":"L3MODIFICATION","subtype":"IPV4_DST", "ip":"1.2.3.3"},
- {"type":"L3MODIFICATION","subtype":"IPV6_SRC", "ip":"1.2.3.2"},
- {"type":"L3MODIFICATION","subtype":"IPV6_DST", "ip":"1.2.3.1"},
- {"type":"L3MODIFICATION","subtype":"IPV6_FLABEL", "flowLabel":8},
- {"type":"L0MODIFICATION","subtype":"LAMBDA","lambda":7},
- {"type":"L0MODIFICATION","subtype":"OCH","gridType":"DWDM",
- "channelSpacing":"CHL_100GHZ","spacingMultiplier":4,"slotGranularity":8},
- {"type":"L4MODIFICATION","subtype":"TCP_DST","tcpPort":40001},
- {"type":"L4MODIFICATION","subtype":"TCP_SRC","tcpPort":40002},
- {"type":"L4MODIFICATION","subtype":"UDP_DST","udpPort":40003},
- {"type":"L4MODIFICATION","subtype":"UDP_SRC","udpPort":40004}
- ],
- "deferred":[]
- },
- "selector": {"criteria":[{"type":"ETH_TYPE","ethType":"0x806"}]}
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/sigid-flow.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/sigid-flow.json
deleted file mode 100644
index 49d6b1ce..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/sigid-flow.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "priority":1,
- "isPermanent":"false",
- "timeout":1,
- "deviceId":"of:0000000000000001",
- "selector":
- {"criteria":
- [
- {"type":"OCH_SIGID",
- "ochSignalId":
- {
- "gridType":"CWDM",
- "channelSpacing":"CHL_25GHZ",
- "spacingMultiplier":3,
- "slotGranularity":4
- }
- }
- ]
- }
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/simple-flow.json b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/simple-flow.json
deleted file mode 100644
index dc241f55..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/simple-flow.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "priority":1,
- "isPermanent":"false",
- "timeout":1,
- "deviceId":"of:0000000000000001",
- "treatment":
- {"instructions":
- [{"type":"OUTPUT","port":-3}],"deferred":[]},
- "selector":
- {"criteria":
- [{"type":"ETH_TYPE","ethType":2054}]}
-}
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.xml b/framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.xml
deleted file mode 100644
index 0d91a735..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<!--
- ~ Copyright 2015 Open Networking Laboratory
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-<app name="org.foo.app" origin="Circus" version="1.2.a"
- featuresRepo="mvn:org.foo-features/1.2a/xml/features"
- features="foo,bar">
- <description>Awesome application from Circus, Inc.</description>
- <security>
- <role>ADMIN</role>
- <permissions>
- <app-perm>FLOWRULE_WRITE</app-perm>
- <app-perm>FLOWRULE_READ</app-perm>
- </permissions>
-
- </security>
-
-</app>
diff --git a/framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.zip b/framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.zip
deleted file mode 100644
index 436cd755..00000000
--- a/framework/src/onos/core/common/src/test/resources/org/onosproject/common/app/app.zip
+++ /dev/null
Binary files differ