diff options
Diffstat (limited to 'framework/src/onos/tools/test/configs/l2-flow.json')
-rw-r--r-- | framework/src/onos/tools/test/configs/l2-flow.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/framework/src/onos/tools/test/configs/l2-flow.json b/framework/src/onos/tools/test/configs/l2-flow.json new file mode 100644 index 00000000..64bb5297 --- /dev/null +++ b/framework/src/onos/tools/test/configs/l2-flow.json @@ -0,0 +1,28 @@ +{ + "isPermanent": true, + "priority": 100, + "selector": { + "criteria": [ + { + "port": 2, + "type": "IN_PORT" + }, + { + "mac": "00:00:00:00:11:22", + "type": "ETH_SRC" + }, + { + "mac": "00:00:00:00:33:44", + "type": "ETH_DST" + } + ] + }, + "treatment": { + "instructions": [ + { + "port": 1, + "type": "OUTPUT" + } + ] + } +}
\ No newline at end of file |