aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json')
-rw-r--r--framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json19
1 files changed, 19 insertions, 0 deletions
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
new file mode 100644
index 00000000..fedea251
--- /dev/null
+++ b/framework/src/onos/core/common/src/test/resources/org/onosproject/codec/impl/HostToHostIntent.json
@@ -0,0 +1,19 @@
+{
+ "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"
+}