Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 1 | { |
Carmelo Cascone | f37845e | 2018-03-27 10:03:25 -0700 | [diff] [blame^] | 2 | "flows": [ |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 3 | { |
Carmelo Cascone | f37845e | 2018-03-27 10:03:25 -0700 | [diff] [blame^] | 4 | "deviceId": "of:0000001e67d2c98b", |
| 5 | "isPermanent": true, |
| 6 | "priority": 60000, |
| 7 | "selector": { |
| 8 | "criteria": [ |
| 9 | { |
| 10 | "ethType": "0x800", |
| 11 | "type": "ETH_TYPE" |
| 12 | }, |
| 13 | { |
| 14 | "ip": "122.0.0.0/24", |
| 15 | "type": "IPV4_SRC" |
| 16 | }, |
| 17 | { |
| 18 | "ip": "118.0.0.0/24", |
| 19 | "type": "IPV4_DST" |
| 20 | } |
| 21 | ] |
| 22 | }, |
| 23 | "tableId": 0, |
| 24 | "timeout": 0, |
| 25 | "treatment": { |
| 26 | "instructions": [ |
| 27 | { |
| 28 | "type": "TABLE", |
| 29 | "tableId": "4" |
| 30 | } |
| 31 | ] |
| 32 | } |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 33 | } |
Carmelo Cascone | f37845e | 2018-03-27 10:03:25 -0700 | [diff] [blame^] | 34 | ] |
Test User | 465ba1c | 2018-02-25 05:23:19 -0800 | [diff] [blame] | 35 | } |