Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ curl -H "Content-Type: application/json" -X GET --user admin:admin http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/openflow:222953294879552/table/4 | python -m json.tool
- {
- "flow-node-inventory:table": [
- {
- "flow": [
- {
- "barrier": false,
- "cookie": 20,
- "cookie_mask": 20,
- "flags": "",
- "flow-name": "nextHop",
- "hard-timeout": 0,
- "id": "18",
- "idle-timeout": 0,
- "instructions": {
- "instruction": [
- {
- "go-to-table": {
- "table_id": 10
- },
- "order": 1
- },
- {
- "apply-actions": {
- "action": [
- {
- "openflowplugin-extension-nicira-action:nx-reg-load": {
- "dst": {
- "end": 31,
- "nx-tun-ipv4-dst": [
- null
- ],
- "start": 0
- },
- "value": 167772170
- },
- "order": 0
- }
- ]
- },
- "order": 0
- }
- ]
- },
- "match": {
- "openflowplugin-extension-general:extension-list": [
- {
- "extension": {
- "openflowplugin-extension-nicira-match:nxm-nx-nsi": {
- "nsi": 255
- }
- },
- "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsi-key"
- },
- {
- "extension": {
- "openflowplugin-extension-nicira-match:nxm-nx-nsp": {
- "value": 8388614
- }
- },
- "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsp-key"
- }
- ]
- },
- "priority": 550,
- "strict": false,
- "table_id": 4
- },
- {
- "barrier": false,
- "cookie": 20,
- "cookie_mask": 20,
- "flags": "",
- "flow-name": "nextHop",
- "hard-timeout": 0,
- "id": "9",
- "idle-timeout": 0,
- "instructions": {
- "instruction": [
- {
- "go-to-table": {
- "table_id": 10
- },
- "order": 1
- },
- {
- "apply-actions": {
- "action": [
- {
- "openflowplugin-extension-nicira-action:nx-reg-load": {
- "dst": {
- "end": 31,
- "nx-tun-ipv4-dst": [
- null
- ],
- "start": 0
- },
- "value": 167772170
- },
- "order": 0
- }
- ]
- },
- "order": 0
- }
- ]
- },
- "match": {
- "openflowplugin-extension-general:extension-list": [
- {
- "extension": {
- "openflowplugin-extension-nicira-match:nxm-nx-nsi": {
- "nsi": 255
- }
- },
- "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsi-key"
- },
- {
- "extension": {
- "openflowplugin-extension-nicira-match:nxm-nx-nsp": {
- "value": 6
- }
- },
- "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsp-key"
- }
- ]
- },
- "priority": 550,
- "strict": false,
- "table_id": 4
- },
- {
- "barrier": false,
- "cookie": 20,
- "cookie_mask": 20,
- "flags": "",
- "flow-name": "MatchAny",
- "hard-timeout": 0,
- "id": "4",
- "idle-timeout": 0,
- "instructions": {
- "instruction": [
- {
- "go-to-table": {
- "table_id": 10
- },
- "order": 0
- }
- ]
- },
- "match": {},
- "priority": 5,
- "strict": false,
- "table_id": 4
- }
- ],
- "id": 4
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement