Add TLVs for switch config.
diff --git a/openflow_input/bsn_tlv b/openflow_input/bsn_tlv
index e17e32b..618c459 100644
--- a/openflow_input/bsn_tlv
+++ b/openflow_input/bsn_tlv
@@ -166,3 +166,24 @@
uint16_t length;
uint32_t value;
};
+
+enum ofp_bsn_config_id(wire_type=uint32_t) {
+ OFP_BSN_CONFIG_CRC = 1,
+};
+
+struct of_bsn_tlv_config_id : of_bsn_tlv {
+ uint16_t type == 22;
+ uint16_t length;
+ enum ofp_bsn_config_id value;
+};
+
+enum ofp_bsn_config_value(wire_type=uint32_t) {
+ OFP_BSN_CONFIG_CRC_ENABLE = 1,
+ OFP_BSN_CONFIG_CRC_DISABLE = 2,
+};
+
+struct of_bsn_tlv_config_value : of_bsn_tlv {
+ uint16_t type == 23;
+ uint16_t length;
+ enum ofp_bsn_config_value value;
+};