Skip to content

Instantly share code, notes, and snippets.

@mavenugo
Created March 1, 2014 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mavenugo/9287673 to your computer and use it in GitHub Desktop.
Save mavenugo/9287673 to your computer and use it in GitHub Desktop.
{
"flow-node-inventory:table": [
{
"flow-node-inventory:flow": [
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "99b7915a-5616-4763-a9b4-e0efcc1d1b5a",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:output-action": {
"flow-node-inventory:output-node-connector": "openflow:1:2"
}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2048
}
},
"flow-node-inventory:ipv4-destination": "192.168.57.101"
},
"flow-node-inventory:priority": 1,
"flow-node-inventory:table_id": 0
},
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "2cafd832-3407-4e82-8429-2cbf68f60e87",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:drop-action": {}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2048
}
}
},
"flow-node-inventory:priority": 0,
"flow-node-inventory:table_id": 0
},
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "6b3b61b4-e8d5-4f0c-821d-d6b73f2f1b21",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:set-dl-dst-action": {
"flow-node-inventory:address": "08:00:27:cf:0a:f1"
}
},
{
"flow-node-inventory:output-action": {
"flow-node-inventory:output-node-connector": "openflow:1:4"
}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2048
}
},
"flow-node-inventory:ipv4-destination": "192.168.56.101"
},
"flow-node-inventory:priority": 1,
"flow-node-inventory:table_id": 0
},
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "00d7b03a-6ce6-470d-964f-f30ec81bf9aa",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:drop-action": {}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2054
}
}
},
"flow-node-inventory:priority": 0,
"flow-node-inventory:table_id": 0
},
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "c8608bf7-9385-4e90-ab77-2e374c8962d8",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:set-dl-src-action": {
"flow-node-inventory:address": "00:00:00:00:00:01"
}
},
{
"flow-node-inventory:set-dl-dst-action": {
"flow-node-inventory:address": "08:00:27:cf:0a:f1"
}
},
{
"flow-node-inventory:output-action": {
"flow-node-inventory:output-node-connector": "openflow:1:4"
}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2048
}
},
"flow-node-inventory:in-port": "MD_SAL|openflow:1:3",
"flow-node-inventory:ip-match": {
"flow-node-inventory:ip-dscp": 8
},
"flow-node-inventory:ipv4-destination": "192.168.56.101",
"flow-node-inventory:ipv4-source": "192.168.57.101"
},
"flow-node-inventory:priority": 200,
"flow-node-inventory:table_id": 0
},
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "60fff6b3-e308-47fb-934a-50ec7bc9f7e7",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:set-dl-src-action": {
"flow-node-inventory:address": "00:00:00:00:00:01"
}
},
{
"flow-node-inventory:set-dl-dst-action": {
"flow-node-inventory:address": "08:00:27:cf:0a:f1"
}
},
{
"flow-node-inventory:output-action": {
"flow-node-inventory:output-node-connector": "openflow:1:4"
}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2048
}
},
"flow-node-inventory:in-port": "MD_SAL|openflow:1:3",
"flow-node-inventory:ip-match": {
"flow-node-inventory:ip-dscp": 10
},
"flow-node-inventory:ipv4-destination": "192.168.56.101",
"flow-node-inventory:ipv4-source": "192.168.57.101"
},
"flow-node-inventory:priority": 200,
"flow-node-inventory:table_id": 0
},
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "a28129dd-ab89-4fd6-815e-707d68528d3f",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:set-dl-src-action": {
"flow-node-inventory:address": "00:00:00:00:00:01"
}
},
{
"flow-node-inventory:set-dl-dst-action": {
"flow-node-inventory:address": "00:00:00:00:00:06"
}
},
{
"flow-node-inventory:output-action": {
"flow-node-inventory:output-node-connector": "openflow:1:3"
}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2048
}
},
"flow-node-inventory:in-port": "MD_SAL|openflow:1:4",
"flow-node-inventory:ip-match": {
"flow-node-inventory:ip-dscp": 10
},
"flow-node-inventory:ipv4-destination": "192.168.57.101",
"flow-node-inventory:ipv4-source": "192.168.56.101"
},
"flow-node-inventory:priority": 200,
"flow-node-inventory:table_id": 0
},
{
"flow-node-inventory:cookie": 0,
"flow-node-inventory:hard-timeout": 0,
"flow-node-inventory:id": "995d3676-896e-4f09-a12a-e72a196064b3",
"flow-node-inventory:idle-timeout": 0,
"flow-node-inventory:instructions": {
"flow-node-inventory:instruction": [
{
"flow-node-inventory:apply-actions": {
"flow-node-inventory:action": [
{
"flow-node-inventory:set-dl-src-action": {
"flow-node-inventory:address": "00:00:00:00:00:01"
}
},
{
"flow-node-inventory:set-dl-dst-action": {
"flow-node-inventory:address": "00:00:00:00:00:06"
}
},
{
"flow-node-inventory:output-action": {
"flow-node-inventory:output-node-connector": "openflow:1:3"
}
}
]
},
"flow-node-inventory:order": 0
}
]
},
"flow-node-inventory:match": {
"flow-node-inventory:ethernet-match": {
"flow-node-inventory:ethernet-type": {
"flow-node-inventory:type": 2048
}
},
"flow-node-inventory:in-port": "MD_SAL|openflow:1:4",
"flow-node-inventory:ip-match": {
"flow-node-inventory:ip-dscp": 8
},
"flow-node-inventory:ipv4-destination": "192.168.57.101",
"flow-node-inventory:ipv4-source": "192.168.56.101"
},
"flow-node-inventory:priority": 200,
"flow-node-inventory:table_id": 0
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment