adding instruction_id type for table feature prop types
diff --git a/openflow_input/standard-1.3 b/openflow_input/standard-1.3
index a91c859..6010880 100644
--- a/openflow_input/standard-1.3
+++ b/openflow_input/standard-1.3
@@ -877,6 +877,11 @@
pad(4);
};
+struct of_instruction_id {
+ uint16_t type;
+ uint16_t len;
+};
+
struct of_instruction {
uint16_t type == ?;
uint16_t len;
@@ -1610,13 +1615,13 @@
uint16_t type == 0;
uint16_t length;
// FIXME Check if instruction_t is right for ids here
- list(of_instruction_t) instruction_ids;
+ list(of_instruction_id_t) instruction_ids;
};
struct of_table_feature_prop_instructions_miss : of_table_feature_prop {
uint16_t type == 1;
uint16_t length;
- list(of_instruction_t) instruction_ids;
+ list(of_instruction_id_t) instruction_ids;
};
struct of_table_feature_prop_next_tables : of_table_feature_prop {
diff --git a/test_data/of13/instruction_id_goto_table.data b/test_data/of13/instruction_id_goto_table.data
new file mode 100644
index 0000000..e52d9c9
--- /dev/null
+++ b/test_data/of13/instruction_id_goto_table.data
@@ -0,0 +1,8 @@
+-- binary
+00 01 # type
+00 04 # length
+-- python
+ofp.instruction_id.goto_table()
+-- c
+obj = of_instruction_id_goto_table_new(OF_VERSION_1_3);
+-- java