-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevaluation_contrast_forwarding.json
executable file
·79 lines (78 loc) · 1.58 KB
/
evaluation_contrast_forwarding.json
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"NDM_metadata": {
"authority": "nz.wand.test",
"type": "TTPv1",
"name": "A sample pipeline, without vlans, based on OF-DPA table layout",
"version": "1.0.0",
"OF_protocol_version": "1.3.3",
"doc": ["A two table pipeline"]
},
"table_map": {
"Filtering": 0,
"Forwarding": 1
},
"flow_tables": [{
"name": "Filtering",
"doc": ["A TCP Filtering table"],
"flow_mod_types": [{
"name": "Block TCP ports",
"match_set": [{
"field": "TCP_SRC",
"match_type": "all_or_exact"
}, {
"field": "TCP_DST",
"match_type": "all_or_exact"
}],
"instruction_set": []
}, {
"name": "Table Miss",
"priority": 0,
"match_set": [],
"instruction_set": [{
"instruction": "GOTO_TABLE",
"table": "Forwarding"
}]
}]
},
{
"name": "Forwarding",
"doc": ["Do routing and bridging etc."],
"flow_mod_types": [{
"name": "Routing",
"match_set": [{
"field": "ETH_DST",
"match_type": "all_or_exact"
}, {
"field": "ETH_SRC",
"match_type": "all_or_exact"
}, {
"field": "IN_PORT",
"match_type": "all_or_exact"
}, {
"field": "IPV4_DST",
"match_type": "prefix"
}],
"instruction_set": [{
"instruction": "APPLY_ACTIONS",
"actions": {"zero_or_more": [{
"action": "SET_FIELD",
"field": "ETH_DST"
}, {
"action": "SET_FIELD",
"field": "ETH_SRC"
}, {
"action": "OUTPUT"
}, {
"action": "OUTPUT",
"port": "CONTROLLER"
}]}
}]}
],
"NOT_built_in_flow_mods": [{
"name": "Default Drop",
"priority": 0,
"match_set": [],
"instruction_set": []
}]
}]
}