summaryrefslogtreecommitdiffhomepage
path: root/tests/unit/app/ofctl_rest_json/of10.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/app/ofctl_rest_json/of10.json')
-rw-r--r--tests/unit/app/ofctl_rest_json/of10.json101
1 files changed, 101 insertions, 0 deletions
diff --git a/tests/unit/app/ofctl_rest_json/of10.json b/tests/unit/app/ofctl_rest_json/of10.json
new file mode 100644
index 00000000..266eb80c
--- /dev/null
+++ b/tests/unit/app/ofctl_rest_json/of10.json
@@ -0,0 +1,101 @@
+[
+ {
+ "method": "GET",
+ "path": "/stats/switches"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/desc/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/flow/1"
+ },
+ {
+ "method": "POST",
+ "path": "/stats/flow/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/aggregateflow/1"
+ },
+ {
+ "method": "POST",
+ "path": "/stats/aggregateflow/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/port/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/port/1/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/portdesc/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/queue/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/queue/1/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/queue/1/1/1"
+ },
+ {
+ "method": "GET",
+ "path": "/stats/table/1"
+ },
+ {
+ "method": "POST",
+ "path": "/stats/flowentry/add",
+ "body": {
+ "dpid": 1
+ }
+ },
+ {
+ "method": "POST",
+ "path": "/stats/flowentry/modify",
+ "body": {
+ "dpid": 1
+ }
+ },
+ {
+ "method": "POST",
+ "path": "/stats/flowentry/modify_strict",
+ "body": {
+ "dpid": 1
+ }
+ },
+ {
+ "method": "POST",
+ "path": "/stats/flowentry/delete",
+ "body": {
+ "dpid": 1
+ }
+ },
+ {
+ "method": "POST",
+ "path": "/stats/flowentry/delete_strict",
+ "body": {
+ "dpid": 1
+ }
+ },
+ {
+ "method": "DELETE",
+ "path": "/stats/flowentry/clear/1"
+ },
+ {
+ "method": "POST",
+ "path": "/stats/portdesc/modify",
+ "body": {
+ "dpid": 1,
+ "port_no": 1
+ }
+ }
+]