Skip to content

Instantly share code, notes, and snippets.

@shague
Created November 2, 2015 22:07
Show Gist options
  • Select an option

  • Save shague/1b009d5be5e38e7d1cc6 to your computer and use it in GitHub Desktop.

Select an option

Save shague/1b009d5be5e38e7d1cc6 to your computer and use it in GitHub Desktop.
flows2
config table 0
{
"flow-node-inventory:table": [
{
"id": 0,
"flow": [
{
"id": "sfcIngress_25_3",
"table_id": 0,
"strict": true,
"instructions": {
"instruction": [
{
"order": 1,
"go-to-table": {
"table_id": 50
}
},
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 0,
"set-field": {
"tunnel": {
"tunnel-id": 25
}
}
},
{
"order": 1,
"openflowplugin-extension-nicira-action:nx-reg-load": {
"dst": {
"nx-reg": "nicira-match:nxm-nx-reg0",
"end": 31,
"start": 0
},
"value": 1
}
}
]
}
}
]
},
"idle-timeout": 0,
"match": {
"in-port": "openflow:1:3"
},
"barrier": false,
"flow-name": "sfcIngress_25_3",
"hard-timeout": 0
}
]
}
]
}
config table 50
{
"flow-node-inventory:table": [
{
"id": 50,
"flow": [
{
"id": "sfcClass_http-rule_25",
"table_id": 50,
"instructions": {
"instruction": [
{
"order": 1,
"apply-actions": {
"action": [
{
"order": 0,
"output-action": {
"output-node-connector": "openflow:1:1"
}
}
]
}
},
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 3,
"openflowplugin-extension-nicira-action:nx-set-nsi": {
"nsi": 255
}
},
{
"order": 4,
"openflowplugin-extension-nicira-action:nx-reg-load": {
"dst": {
"nx-tun-ipv4-dst": [
null
],
"end": 31,
"start": 0
},
"value": 3232248391
}
},
{
"order": 5,
"openflowplugin-extension-nicira-action:nx-reg-load": {
"dst": {
"nx-tun-id": [
null
],
"end": 31,
"start": 0
},
"value": 25
}
},
{
"order": 0,
"openflowplugin-extension-nicira-action:nx-set-nshc-1": {
"nshc": 3232248395
}
},
{
"order": 1,
"openflowplugin-extension-nicira-action:nx-set-nshc-2": {
"nshc": 10
}
},
{
"order": 2,
"openflowplugin-extension-nicira-action:nx-set-nsp": {
"nsp": 25
}
}
]
}
}
]
},
"idle-timeout": 0,
"match": {
"tcp-destination-port": 80,
"ip-match": {
"ip-protocol": 6
}
},
"barrier": true,
"flow-name": "sfcClass_http-rule_25",
"hard-timeout": 0
}
]
}
]
}
operational table 0
{
"flow-node-inventory:table": [
{
"id": 0,
"flow-hash-id-map": [
{
"hash": "Match [_inPort=Uri [_value=openflow:1:3], augmentation=[]]327680",
"flow-id": "sfcIngress_25_3"
}
],
"flow": [
{
"id": "sfcIngress_25_3",
"priority": 32768,
"table_id": 0,
"opendaylight-flow-statistics:flow-statistics": {
"packet-count": 0,
"byte-count": 0,
"duration": {
"nanosecond": 771000000,
"second": 590
}
},
"cookie": 0,
"instructions": {
"instruction": [
{
"order": 1,
"go-to-table": {
"table_id": 50
}
},
{
"order": 0,
"apply-actions": {
"action": [
{
"order": 0,
"set-field": {
"tunnel": {
"tunnel-id": 25
}
}
},
{
"order": 1,
"openflowplugin-extension-nicira-action:nx-reg-load": {
"dst": {
"nx-reg": "nicira-match:nxm-nx-reg0",
"end": 31,
"start": 0
},
"value": 1
}
}
]
}
}
]
},
"flags": "",
"idle-timeout": 0,
"match": {
"in-port": "openflow:1:3"
},
"hard-timeout": 0
}
],
"opendaylight-flow-statistics:aggregate-flow-statistics": {
"packet-count": 0,
"byte-count": 0,
"flow-count": 1
},
"opendaylight-flow-table-statistics:flow-table-statistics": {
"packets-looked-up": 5,
"active-flows": 12,
"packets-matched": 0
}
}
]
}
operational table 50
{
"flow-node-inventory:table": [
{
"id": 50,
"opendaylight-flow-statistics:aggregate-flow-statistics": {
"packet-count": 0,
"byte-count": 0,
"flow-count": 0
},
"opendaylight-flow-table-statistics:flow-table-statistics": {
"packets-looked-up": 0,
"active-flows": 0,
"packets-matched": 0
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment