Adding odu_sig_id and och_sig_id to c_gen/
Change-Id: If0d8763b94ce025aee5ef4421f7e89614ee5c7b5
diff --git a/c_gen/of_g_legacy.py b/c_gen/of_g_legacy.py
index 2ae112d..4eed4da 100644
--- a/c_gen/of_g_legacy.py
+++ b/c_gen/of_g_legacy.py
@@ -172,6 +172,22 @@
5: "of_calient_port_desc_stats_entry_t",
"short_name":"calient_port_desc_stats_entry"
},
+ of_odu_sig_id_t = {
+ 1: "of_odu_sig_id_t",
+ 2: "of_odu_sig_id_t",
+ 3: "of_odu_sig_id_t",
+ 4: "of_odu_sig_id_t",
+ 5: "of_odu_sig_id_t",
+ "short_name":"odu_sig_id"
+ },
+ of_och_sig_id_t = {
+ 1: "of_sig_id_t",
+ 2: "of_sig_id_t",
+ 3: "of_sig_id_t",
+ 4: "of_sig_id_t",
+ 5: "of_sig_id_t",
+ "short_name":"sig_id"
+ },
)
@@ -232,6 +248,7 @@
short_name="app_code"),
of_sig_id_t = dict(bytes=ofp_constants["OF_SIGID_LEN"],
short_name="sig_id"),
+ of_odu_sig_id_t = dict(bytes=1, short_name="odu_sig_id"),
)
of_scalar_types = ["char", "uint8_t", "uint16_t", "uint32_t", "uint64_t",