post-intent.json
661 Bytes
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
{
"type": "PointToPointIntent",
"appId": "myApp",
"selector": {
"criteria": [
{
"type": "ETH_DST",
"mac": "11:22:33:44:55:66"
}
]
},
"treatment": {
"instructions": [
{
"type": "L2MODIFICATION",
"subtype": "ETH_SRC",
"mac": "22:33:44:55:66:77"
}
],
"deferred": []
},
"priority": 55,
"constraints": [
{
"inclusive": false,
"types": ["OPTICAL"],
"type": "LinkTypeConstraint"
}
],
"ingressPoint": {
"port": "1",
"device": "of:0000000000000001"
},
"egressPoint": {
"port": "2",
"device": "of:0000000000000007"
}
}