|
I have this controller configuration for flows and groups:
{
"nodes": {
"node": [
{
"id": "openflow:18086816811242734057",
"flow-node-inventory:group": [
{
"group-id": 13,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":
{
"vlan-id": 1,
"vlan-id-present": true
}
}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
}
},
{
"order": 3,
"output-action":
{
"output-node-connector": "18"
}
}
],
"weight": 1
},
{
"bucket-id": 1,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":
{
"vlan-id": 1,
"vlan-id-present": true
}
}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
}
},
{
"order": 3,
"output-action":
{
"output-node-connector": "20"
}
}
],
"weight": 1
}
]
},
"group-name": "ecmp",
"group-type": "group-select"
},
{
"group-id": 10,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":
{
"vlan-id": 1,
"vlan-id-present": true
}
}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":
{
"address": "00:25:90:E1:74:fA"
}
}
}
},
{
"order": 3,
"output-action":
{
"output-node-connector": "48"
}
}
]
}
]
},
"group-name": "indirect",
"group-type": "group-indirect"
}
],
"flow-node-inventory:table": [
{
"id": 0,
"flow": [
{
"id": "41030",
"flow-name": "flow-ipv4-1030",
"table_id": 0,
"match": {
"ipv4-destination": "100.30.0.0/16",
"ipv4-source": "100.10.0.0/16",
"in-port": "openflow:18086816811242734057:48",
"ethernet-match": {
"ethernet-source":
{
"address": "00:25:90:E1:74:fA"
}
,
"ethernet-type":
{
"type": 2048
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 13
}
}
]
}
}
]
}
},
{
"id": "63010",
"flow-name": "flow-ipv6-3010",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:E1:5B"
}
,
"ethernet-type":
{
"type": 34525
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 10
}
}
]
}
}
]
}
},
{
"id": "43010",
"flow-name": "flow-ipv4-3010",
"table_id": 0,
"match": {
"ipv4-destination": "100.10.0.0/16",
"ipv4-source": "100.30.0.0/16",
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:E1:5B"
}
,
"ethernet-type":
{
"type": 2048
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 10
}
}
]
}
}
]
}
},
{
"id": "61030",
"flow-name": "flow-ipv6-1030",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"in-port": "openflow:18086816811242734057:48",
"ethernet-match": {
"ethernet-source":
{
"address": "00:25:90:E1:74:fA"
}
,
"ethernet-type":
{
"type": 34525
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 13
}
}
]
}
}
]
}
}
]
}
]
},
{
"id": "openflow:18087942711149584731",
"flow-node-inventory:group": [
{
"group-id": 30,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":
{
"vlan-id": 1,
"vlan-id-present": true
}
}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":
{
"address": "00:25:90:E1:74:F8"
}
}
}
},
{
"order": 3,
"output-action":
{
"output-node-connector": "48"
}
}
]
}
]
},
"group-name": "indirect",
"group-type": "group-indirect"
},
{
"group-id": 31,
"buckets": {
"bucket": [
{
"bucket-id": 0,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":
{
"vlan-id": 1,
"vlan-id-present": true
}
}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
}
},
{
"order": 3,
"output-action":
{
"output-node-connector": "17"
}
}
],
"weight": 1
},
{
"bucket-id": 1,
"action": [
{
"order": 0,
"set-field": {
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
}
},
{
"order": 2,
"set-field": {
"vlan-match": {
"vlan-id":
{
"vlan-id": 1,
"vlan-id-present": true
}
}
}
},
{
"order": 1,
"set-field": {
"ethernet-match": {
"ethernet-destination":
{
"address": "48:0F:CF:AF:C1:E9"
}
}
}
},
{
"order": 3,
"output-action":
{
"output-node-connector": "19"
}
}
],
"weight": 1
}
]
},
"group-name": "ecmp",
"group-type": "group-select"
}
],
"flow-node-inventory:table": [
{
"id": 0,
"flow": [
{
"id": "41030",
"flow-name": "flow-ipv4-1030",
"table_id": 0,
"match": {
"ipv4-destination": "100.30.0.0/16",
"ipv4-source": "100.10.0.0/16",
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:C1:E9"
}
,
"ethernet-type":
{
"type": 2048
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 30
}
}
]
}
}
]
}
},
{
"id": "63010",
"flow-name": "flow-ipv6-3010",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"in-port": "openflow:18087942711149584731:48",
"ethernet-match": {
"ethernet-source":
{
"address": "00:25:90:E1:74:F8"
}
,
"ethernet-type":
{
"type": 34525
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 31
}
}
]
}
}
]
}
},
{
"id": "43010",
"flow-name": "flow-ipv4-3010",
"table_id": 0,
"match": {
"ipv4-destination": "100.10.0.0/16",
"ipv4-source": "100.30.0.0/16",
"in-port": "openflow:18087942711149584731:48",
"ethernet-match": {
"ethernet-source":
{
"address": "00:25:90:E1:74:F8"
}
,
"ethernet-type":
{
"type": 2048
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 31
}
}
]
}
}
]
}
},
{
"id": "61030",
"flow-name": "flow-ipv6-1030",
"table_id": 0,
"match": {
"ipv6-destination": "2600:40FF:FFF8:0300:0000:0000:0000:0000/64",
"ipv6-source": "2600:40FF:FFF8:0100:0000:0000:0000:0000/64",
"ethernet-match": {
"ethernet-source":
{
"address": "48:0F:CF:AF:C1:E9"
}
,
"ethernet-type":
{
"type": 34525
}
,
"ethernet-destination":
{
"address": "48:0F:CF:AF:E1:5B"
}
}
},
"priority": 32768,
"instructions": {
"instruction": [
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 1,
"group-action":
{
"group-id": 30
}
}
]
}
}
...
|