bradyallenjohnson

ODL_SFC_Table4OperFlows_Carbon

Jun 20th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.71 KB | None | 0 0
  1. $ curl -H "Content-Type: application/json" -X GET --user admin:admin http://localhost:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:222953294879552/table/4 | python -m json.tool
  2.  
  3. {
  4.     "flow-node-inventory:table": [
  5.         {
  6.             "flow": [
  7.                 {
  8.                     "cookie": 20,
  9.                     "cookie_mask": 0,
  10.                     "flags": "",
  11.                     "hard-timeout": 0,
  12.                     "id": "#UF$TABLE*4-8",
  13.                     "idle-timeout": 0,
  14.                     "instructions": {
  15.                         "instruction": [
  16.                             {
  17.                                 "go-to-table": {
  18.                                     "table_id": 10
  19.                                 },
  20.                                 "order": 1
  21.                             },
  22.                             {
  23.                                 "apply-actions": {
  24.                                     "action": [
  25.                                         {
  26.                                             "openflowplugin-extension-nicira-action:nx-reg-load": {
  27.                                                 "dst": {
  28.                                                     "end": 31,
  29.                                                     "nx-tun-ipv4-dst": [
  30.                                                         null
  31.                                                     ],
  32.                                                     "start": 0
  33.                                                 },
  34.                                                 "value": 167772170
  35.                                             },
  36.                                             "order": 0
  37.                                         }
  38.                                     ]
  39.                                 },
  40.                                 "order": 0
  41.                             }
  42.                         ]
  43.                     },
  44.                     "match": {},
  45.                     "opendaylight-flow-statistics:flow-statistics": {
  46.                         "byte-count": 0,
  47.                         "duration": {
  48.                             "nanosecond": 258000000,
  49.                             "second": 4767
  50.                         },
  51.                         "packet-count": 0
  52.                     },
  53.                     "priority": 550,
  54.                     "table_id": 4
  55.                 },
  56.                 {
  57.                     "cookie": 20,
  58.                     "cookie_mask": 0,
  59.                     "flags": "",
  60.                     "hard-timeout": 0,
  61.                     "id": "4",
  62.                     "idle-timeout": 0,
  63.                     "instructions": {
  64.                         "instruction": [
  65.                             {
  66.                                 "go-to-table": {
  67.                                     "table_id": 10
  68.                                 },
  69.                                 "order": 0
  70.                             }
  71.                         ]
  72.                     },
  73.                     "match": {},
  74.                     "opendaylight-flow-statistics:flow-statistics": {
  75.                         "byte-count": 0,
  76.                         "duration": {
  77.                             "nanosecond": 258000000,
  78.                             "second": 4767
  79.                         },
  80.                         "packet-count": 0
  81.                     },
  82.                     "priority": 5,
  83.                     "table_id": 4
  84.                 }
  85.             ],
  86.             "id": 4,
  87.             "opendaylight-flow-table-statistics:flow-table-statistics": {
  88.                 "active-flows": 3,
  89.                 "packets-looked-up": 0,
  90.                 "packets-matched": 0
  91.             }
  92.         }
  93.     ]
  94. }
Advertisement
Add Comment
Please, Sign In to add comment