Ray Milkey | b82c42b | 2015-06-30 09:42:20 -0700 | [diff] [blame] | 1 | { |
| 2 | "type": "PointToPointIntent", |
Ray Milkey | f7cb401 | 2015-07-20 13:01:07 -0700 | [diff] [blame] | 3 | "appId": "test", |
Ray Milkey | b82c42b | 2015-06-30 09:42:20 -0700 | [diff] [blame] | 4 | "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 | } |