summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-features_reply.packet.json9
-rw-r--r--ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-get_config_reply.packet.json6
-rw-r--r--ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-set_config.packet.json6
-rw-r--r--ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-features_reply.packet.json6
4 files changed, 24 insertions, 3 deletions
diff --git a/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-features_reply.packet.json b/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-features_reply.packet.json
new file mode 100644
index 00000000..3d828093
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-features_reply.packet.json
@@ -0,0 +1,9 @@
+{
+ "OFPSwitchFeatures": {
+ "auxiliary_id": 0,
+ "capabilities": 79,
+ "datapath_id": 1,
+ "n_buffers": 255,
+ "n_tables": 255
+ }
+}
diff --git a/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-get_config_reply.packet.json b/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-get_config_reply.packet.json
new file mode 100644
index 00000000..62b37b4d
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-get_config_reply.packet.json
@@ -0,0 +1,6 @@
+{
+ "OFPGetConfigReply": {
+ "flags": 0,
+ "miss_send_len": 128
+ }
+}
diff --git a/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-set_config.packet.json b/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-set_config.packet.json
new file mode 100644
index 00000000..cd5398b7
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of13/libofproto-OFP13-set_config.packet.json
@@ -0,0 +1,6 @@
+{
+ "OFPSetConfig": {
+ "flags": 0,
+ "miss_send_len": 128
+ }
+}
diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-features_reply.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-features_reply.packet.json
index 12e8744a..3d828093 100644
--- a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-features_reply.packet.json
+++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-features_reply.packet.json
@@ -1,9 +1,9 @@
{
"OFPSwitchFeatures": {
- "auxiliary_id": 99,
+ "auxiliary_id": 0,
"capabilities": 79,
- "datapath_id": 9210263729383,
- "n_buffers": 0,
+ "datapath_id": 1,
+ "n_buffers": 255,
"n_tables": 255
}
}