Thomas Vachuska
Committed by Gerrit Code Review

Adding an example L2 flow JSON for REST API.

Change-Id: Ief9e3f7f9fe6b809bfe14c6d223c63acd8476039
1 +{
2 + "isPermanent": true,
3 + "priority": 100,
4 + "selector": {
5 + "criteria": [
6 + {
7 + "port": 2,
8 + "type": "IN_PORT"
9 + },
10 + {
11 + "mac": "00:00:00:00:11:22",
12 + "type": "ETH_SRC"
13 + },
14 + {
15 + "mac": "00:00:00:00:33:44",
16 + "type": "ETH_DST"
17 + }
18 + ]
19 + },
20 + "treatment": {
21 + "instructions": [
22 + {
23 + "port": 1,
24 + "type": "OUTPUT"
25 + }
26 + ]
27 + }
28 +}
...\ No newline at end of file ...\ No newline at end of file