summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/test/configs/l2-flow.json
blob: 64bb52976d005b01f8662b6b7d6f096620cf9de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"
      }
    ]
  }
}