blob: b01ef8777201c74b9118c516b9676f3f05abd2f4 [file] [log] [blame]
Ray Milkeyb82c42b2015-06-30 09:42:20 -07001{
2 "type": "PointToPointIntent",
Ray Milkeyf7cb4012015-07-20 13:01:07 -07003 "appId": "myApp",
Ray Milkeyb82c42b2015-06-30 09:42:20 -07004 "selector": {
5 "criteria": [
6 {
7 "type": "ETH_DST",
8 "mac": "11:22:33:44:55:66"
9 }
10 ]
11 },
12 "treatment": {
13 "instructions": [
14 {
15 "type": "L2MODIFICATION",
16 "subtype": "ETH_SRC",
17 "mac": "22:33:44:55:66:77"
18 }
19 ],
20 "deferred": []
21 },
22 "priority": 55,
23 "constraints": [
24 {
25 "inclusive": false,
26 "types": ["OPTICAL"],
27 "type": "LinkTypeConstraint"
28 }
29 ],
30 "ingressPoint": {
31 "port": "1",
32 "device": "of:0000000000000001"
33 },
34 "egressPoint": {
35 "port": "2",
36 "device": "of:0000000000000007"
37 }
38}