Home
last modified time | relevance | path

Searched refs:redfish_defs_file (Results 1 – 1 of 1) sorted by relevance

/openbmc/bmcweb/scripts/
H A Dgenerate_schema_enums.py71 def write_enum_list(redfish_defs_file, enum_list, snake_case_namespace): argument
72 redfish_defs_file.write(
81 redfish_defs_file.write("enum class {}{{\n".format(element.name))
87 redfish_defs_file.write(" {},\n".format(value))
89 redfish_defs_file.write("};\n\n")
99 redfish_defs_file.write(
103 redfish_defs_file.write(
107 redfish_defs_file.write("});\n\n")
111 redfish_defs_file.write("}\n// clang-format on\n")