Skip to content

Commit

Permalink
Adding odu_sig_id and och_sig_id to c_gen/
Browse files Browse the repository at this point in the history
Change-Id: If0d8763b94ce025aee5ef4421f7e89614ee5c7b5
  • Loading branch information
bocon13 committed Sep 3, 2015
1 parent f8caac0 commit a259e3f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions c_gen/of_g_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},

)

Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit a259e3f

Please sign in to comment.