summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_reply.packetbin0 -> 96 bytes
-rw-r--r--ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_request.packetbin0 -> 96 bytes
-rw-r--r--ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_reply.packet.json43
-rw-r--r--ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_request.packet.json39
4 files changed, 82 insertions, 0 deletions
diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_reply.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_reply.packet
new file mode 100644
index 00000000..450081e6
--- /dev/null
+++ b/ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_reply.packet
Binary files differ
diff --git a/ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_request.packet b/ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_request.packet
new file mode 100644
index 00000000..8d078ef2
--- /dev/null
+++ b/ryu/tests/packet_data/of15/libofproto-OFP15-bundle_features_request.packet
Binary files differ
diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_reply.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_reply.packet.json
new file mode 100644
index 00000000..943d7857
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_reply.packet.json
@@ -0,0 +1,43 @@
+{
+ "OFPBundleFeaturesStatsReply": {
+ "body": {
+ "OFPBundleFeaturesStats": {
+ "capabilities": 7,
+ "properties": [
+ {
+ "OFPBundleFeaturesPropTime": {
+ "length": 72,
+ "sched_accuracy": {
+ "OFPTime": {
+ "nanoseconds": 1717986918,
+ "seconds": 6148914691236517205
+ }
+ },
+ "sched_max_future": {
+ "OFPTime": {
+ "nanoseconds": 2290649224,
+ "seconds": 8608480567731124087
+ }
+ },
+ "sched_max_past": {
+ "OFPTime": {
+ "nanoseconds": 2863311530,
+ "seconds": 11068046444225730969
+ }
+ },
+ "timestamp": {
+ "OFPTime": {
+ "nanoseconds": 3435973836,
+ "seconds": 13527612320720337851
+ }
+ },
+ "type": 1
+ }
+ }
+ ]
+ }
+ },
+ "flags": 0,
+ "type": 19
+ }
+}
diff --git a/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_request.packet.json b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_request.packet.json
new file mode 100644
index 00000000..325181c1
--- /dev/null
+++ b/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_request.packet.json
@@ -0,0 +1,39 @@
+{
+ "OFPBundleFeaturesStatsRequest": {
+ "feature_request_flags": 3,
+ "flags": 0,
+ "properties": [
+ {
+ "OFPBundleFeaturesPropTime": {
+ "length": 72,
+ "sched_accuracy": {
+ "OFPTime": {
+ "nanoseconds": 1717986918,
+ "seconds": 6148914691236517205
+ }
+ },
+ "sched_max_future": {
+ "OFPTime": {
+ "nanoseconds": 2290649224,
+ "seconds": 8608480567731124087
+ }
+ },
+ "sched_max_past": {
+ "OFPTime": {
+ "nanoseconds": 2863311530,
+ "seconds": 11068046444225730969
+ }
+ },
+ "timestamp": {
+ "OFPTime": {
+ "nanoseconds": 3435973836,
+ "seconds": 13527612320720337851
+ }
+ },
+ "type": 1
+ }
+ }
+ ],
+ "type": 19
+ }
+}