summaryrefslogtreecommitdiffhomepage
path: root/tests/unit/app/ofctl_rest_json/of10.json
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-06-26 15:04:43 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-26 15:17:44 +0900
commita67ed2858417b9d795460f05126c01fb0cd344f9 (patch)
tree8171336c30668f8fce7d18125a591de86c322f40 /tests/unit/app/ofctl_rest_json/of10.json
parentd8ae9491dab0824eb88b7e8aad044302d1463f84 (diff)
tests: Separate test files from Ryu module
To prevent redundant files (e.g., pcap files, json files for tests, packet data generator) to be installed, this patch separates test directory from Ryu module. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
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
+ }
+ }
+]