Advertisement
bradyallenjohnson

ODL_SFC_Table4ConfigFlows_Carbon

Jun 20th, 2017
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.90 KB | None | 0 0
  1. $ 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
  2.  
  3. {
  4.     "flow-node-inventory:table": [
  5.         {
  6.             "flow": [
  7.                 {
  8.                     "barrier": false,
  9.                     "cookie": 20,
  10.                     "cookie_mask": 20,
  11.                     "flags": "",
  12.                     "flow-name": "nextHop",
  13.                     "hard-timeout": 0,
  14.                     "id": "18",
  15.                     "idle-timeout": 0,
  16.                     "instructions": {
  17.                         "instruction": [
  18.                             {
  19.                                 "go-to-table": {
  20.                                     "table_id": 10
  21.                                 },
  22.                                 "order": 1
  23.                             },
  24.                             {
  25.                                 "apply-actions": {
  26.                                     "action": [
  27.                                         {
  28.                                             "openflowplugin-extension-nicira-action:nx-reg-load": {
  29.                                                 "dst": {
  30.                                                     "end": 31,
  31.                                                     "nx-tun-ipv4-dst": [
  32.                                                         null
  33.                                                     ],
  34.                                                     "start": 0
  35.                                                 },
  36.                                                 "value": 167772170
  37.                                             },
  38.                                             "order": 0
  39.                                         }
  40.                                     ]
  41.                                 },
  42.                                 "order": 0
  43.                             }
  44.                         ]
  45.                     },
  46.                     "match": {
  47.                         "openflowplugin-extension-general:extension-list": [
  48.                             {
  49.                                 "extension": {
  50.                                     "openflowplugin-extension-nicira-match:nxm-nx-nsi": {
  51.                                         "nsi": 255
  52.                                     }
  53.                                 },
  54.                                 "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsi-key"
  55.                             },
  56.                             {
  57.                                 "extension": {
  58.                                     "openflowplugin-extension-nicira-match:nxm-nx-nsp": {
  59.                                         "value": 8388614
  60.                                     }
  61.                                 },
  62.                                 "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsp-key"
  63.                             }
  64.                         ]
  65.                     },
  66.                     "priority": 550,
  67.                     "strict": false,
  68.                     "table_id": 4
  69.                 },
  70.                 {
  71.                     "barrier": false,
  72.                     "cookie": 20,
  73.                     "cookie_mask": 20,
  74.                     "flags": "",
  75.                     "flow-name": "nextHop",
  76.                     "hard-timeout": 0,
  77.                     "id": "9",
  78.                     "idle-timeout": 0,
  79.                     "instructions": {
  80.                         "instruction": [
  81.                             {
  82.                                 "go-to-table": {
  83.                                     "table_id": 10
  84.                                 },
  85.                                 "order": 1
  86.                             },
  87.                             {
  88.                                 "apply-actions": {
  89.                                     "action": [
  90.                                         {
  91.                                             "openflowplugin-extension-nicira-action:nx-reg-load": {
  92.                                                 "dst": {
  93.                                                     "end": 31,
  94.                                                     "nx-tun-ipv4-dst": [
  95.                                                         null
  96.                                                     ],
  97.                                                     "start": 0
  98.                                                 },
  99.                                                 "value": 167772170
  100.                                             },
  101.                                             "order": 0
  102.                                         }
  103.                                     ]
  104.                                 },
  105.                                 "order": 0
  106.                             }
  107.                         ]
  108.                     },
  109.                     "match": {
  110.                         "openflowplugin-extension-general:extension-list": [
  111.                             {
  112.                                 "extension": {
  113.                                     "openflowplugin-extension-nicira-match:nxm-nx-nsi": {
  114.                                         "nsi": 255
  115.                                     }
  116.                                 },
  117.                                 "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsi-key"
  118.                             },
  119.                             {
  120.                                 "extension": {
  121.                                     "openflowplugin-extension-nicira-match:nxm-nx-nsp": {
  122.                                         "value": 6
  123.                                     }
  124.                                 },
  125.                                 "extension-key": "openflowplugin-extension-nicira-match:nxm-nx-nsp-key"
  126.                             }
  127.                         ]
  128.                     },
  129.                     "priority": 550,
  130.                     "strict": false,
  131.                     "table_id": 4
  132.                 },
  133.                 {
  134.                     "barrier": false,
  135.                     "cookie": 20,
  136.                     "cookie_mask": 20,
  137.                     "flags": "",
  138.                     "flow-name": "MatchAny",
  139.                     "hard-timeout": 0,
  140.                     "id": "4",
  141.                     "idle-timeout": 0,
  142.                     "instructions": {
  143.                         "instruction": [
  144.                             {
  145.                                 "go-to-table": {
  146.                                     "table_id": 10
  147.                                 },
  148.                                 "order": 0
  149.                             }
  150.                         ]
  151.                     },
  152.                     "match": {},
  153.                     "priority": 5,
  154.                     "strict": false,
  155.                     "table_id": 4
  156.                 }
  157.             ],
  158.             "id": 4
  159.         }
  160.     ]
  161. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement