openubmc-bingo 0.5.272__py3-none-any.whl → 0.5.275__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of openubmc-bingo might be problematic. Click here for more details.
- bmcgo/__init__.py +1 -1
- bmcgo/codegen/lua/script/merge_model.py +4 -0
- bmcgo/codegen/lua/script/render_utils/model_lua.py +11 -0
- bmcgo/codegen/lua/templates/apps/model.lua.mako +2 -0
- {openubmc_bingo-0.5.272.dist-info → openubmc_bingo-0.5.275.dist-info}/METADATA +2 -1
- {openubmc_bingo-0.5.272.dist-info → openubmc_bingo-0.5.275.dist-info}/RECORD +9 -9
- {openubmc_bingo-0.5.272.dist-info → openubmc_bingo-0.5.275.dist-info}/WHEEL +0 -0
- {openubmc_bingo-0.5.272.dist-info → openubmc_bingo-0.5.275.dist-info}/entry_points.txt +0 -0
- {openubmc_bingo-0.5.272.dist-info → openubmc_bingo-0.5.275.dist-info}/top_level.txt +0 -0
bmcgo/__init__.py
CHANGED
|
@@ -199,6 +199,10 @@ def merge_model_class(class_name, mds_class, mdb_obj, mdb_path):
|
|
|
199
199
|
mds_class["interfaces"][intf_name]["defs"] = intf_json["defs"]
|
|
200
200
|
|
|
201
201
|
merge_model_intf(intf_json[intf_name], mds_class["interfaces"][intf_name], class_name, intf_name)
|
|
202
|
+
mds_class["interfaces"]["bmc.kepler.Object.Properties"].pop("methods", None)
|
|
203
|
+
defs = mds_class["interfaces"]["bmc.kepler.Object.Properties"].get("defs", None)
|
|
204
|
+
if defs is not None:
|
|
205
|
+
defs.pop("Options", None)
|
|
202
206
|
|
|
203
207
|
|
|
204
208
|
def get_class_name(path):
|
|
@@ -481,5 +481,16 @@ class ModelLuaUtils(Base, Utils):
|
|
|
481
481
|
for intf_msg in msg.get('interfaces', {}).values():
|
|
482
482
|
self.collect_features(intf_msg, features)
|
|
483
483
|
return sorted(list(features))
|
|
484
|
+
|
|
485
|
+
def remove_description(self, input_dict):
|
|
486
|
+
keys_to_delete = []
|
|
487
|
+
for key, value in input_dict.items():
|
|
488
|
+
if isinstance(value, dict):
|
|
489
|
+
_ = self.remove_description(value)
|
|
490
|
+
if key == 'description':
|
|
491
|
+
keys_to_delete.append(key)
|
|
492
|
+
for key in keys_to_delete:
|
|
493
|
+
del input_dict[key]
|
|
494
|
+
return input_dict
|
|
484
495
|
|
|
485
496
|
Factory().register("model.lua.mako", ModelLuaUtils)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: openubmc-bingo
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.275
|
|
4
4
|
Summary: Tools provided by openubmc
|
|
5
5
|
Home-page: https://openubmc.cn
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -19,6 +19,7 @@ Requires-Dist: jsonschema
|
|
|
19
19
|
Requires-Dist: launchpadlib
|
|
20
20
|
Requires-Dist: mako
|
|
21
21
|
Requires-Dist: meson
|
|
22
|
+
Requires-Dist: paramiko <4.0.0
|
|
22
23
|
Requires-Dist: protobuf ==3.19.1
|
|
23
24
|
Requires-Dist: psutil
|
|
24
25
|
Requires-Dist: pyecharts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
bmcgo/__init__.py,sha256=
|
|
1
|
+
bmcgo/__init__.py,sha256=K6ySNOeqhcSy0bTd4f3Q96_bbvXTqoA0ok8CL67BRAM,563
|
|
2
2
|
bmcgo/bmcgo.py,sha256=uD4TsfjrFB5aQPIS6WRUVc9ShXX-dSImY9ezkB13g1w,685
|
|
3
3
|
bmcgo/bmcgo_config.py,sha256=zPghH-W8vNK1bAc5PjfwnWzkHYT499PlGbhUWhPKT5U,10888
|
|
4
4
|
bmcgo/errors.py,sha256=QW1ndrJcJ2Ws7riOznPKVvZsNlrYk73eZol7w8gJTPU,3076
|
|
@@ -56,7 +56,7 @@ bmcgo/codegen/lua/script/ipmi_types_pb2.py,sha256=CaCartJKCRgx5WLBg4mbzS8VXwSKy3
|
|
|
56
56
|
bmcgo/codegen/lua/script/lua_format.py,sha256=W3UO-II34qY0_st6QiHwSOrQZnqdz4mLWOIB3pfGe58,2003
|
|
57
57
|
bmcgo/codegen/lua/script/mdb_register.py,sha256=m4St_oPFnaHZG0PTg_D47_zcrqGexy70otVVuu99VM8,7578
|
|
58
58
|
bmcgo/codegen/lua/script/mds_util.py,sha256=CXcmVHimHMEhV7nds-Jxq29sSHJtuKjnoujgzF151JQ,11914
|
|
59
|
-
bmcgo/codegen/lua/script/merge_model.py,sha256=
|
|
59
|
+
bmcgo/codegen/lua/script/merge_model.py,sha256=XPl-T1LZyVJ_N0ugadHHi4dGPDYJ6zK47E8TV1i4gzk,13148
|
|
60
60
|
bmcgo/codegen/lua/script/merge_proto_algo.py,sha256=IK7mjBYQWzwr5RtyeHp8CQFU_jIpuHkOxe6XSI_PcXU,3007
|
|
61
61
|
bmcgo/codegen/lua/script/model_consistency_check.py,sha256=RzHW1heLgcPEAg9sKav-r4_XgI5JClrIPsWh7MkHHro,10670
|
|
62
62
|
bmcgo/codegen/lua/script/proto_loader.py,sha256=w6TTyLvXrdXZKTKOGf87kSuSsbBviVeQJAhtjRc2K2Y,1913
|
|
@@ -90,7 +90,7 @@ bmcgo/codegen/lua/script/render_utils/ipmi_message_lua.py,sha256=Y-5pXMfAPDZqqoA
|
|
|
90
90
|
bmcgo/codegen/lua/script/render_utils/mdb_lua.py,sha256=gKX_GUkIbYbbviBw9cEO3pfTwoLWurczYFmoOoWA1Us,6141
|
|
91
91
|
bmcgo/codegen/lua/script/render_utils/message_lua.py,sha256=ZHJy35iJir1O149dafZnl-oEdU89-eP6VIeQmKjh9D8,1155
|
|
92
92
|
bmcgo/codegen/lua/script/render_utils/messages_lua.py,sha256=eAe46JU1AJxfpifQCnioD1jxfDhfc-DLGRy8CmwCfBg,4948
|
|
93
|
-
bmcgo/codegen/lua/script/render_utils/model_lua.py,sha256=
|
|
93
|
+
bmcgo/codegen/lua/script/render_utils/model_lua.py,sha256=LfNXUxpaMp2AcjRPg5Hgdr-U6GI79g5_zvpkdVP5NGA,18429
|
|
94
94
|
bmcgo/codegen/lua/script/render_utils/old_model_lua.py,sha256=OFUPJOaiXDjXpknbh6Pw0TNC1dUVtjPbuIs-3fSN7p4,15611
|
|
95
95
|
bmcgo/codegen/lua/script/render_utils/plugin_lua.py,sha256=-_r-MqjDNnoYel6zdsNSkqYI3w1DKJPwJy5Vsevl33s,1481
|
|
96
96
|
bmcgo/codegen/lua/script/render_utils/redfish_proto.py,sha256=lAVo9pPxkc7Iv22enuqCOJVTFy8_63C57iADjzYWz5g,3130
|
|
@@ -122,7 +122,7 @@ bmcgo/codegen/lua/templates/apps/mc.lua.mako,sha256=_PMYCI0-RImOv2LQYZU0aUKuL4jM
|
|
|
122
122
|
bmcgo/codegen/lua/templates/apps/mdb.lua.mako,sha256=SWZejbAl-27d8Q_pb_I0IOAxxKIX3aEd2IXke2QHyvg,1237
|
|
123
123
|
bmcgo/codegen/lua/templates/apps/mdb_interface.lua.mako,sha256=wZYf_FZa8nQO0bF9X4ilog47RO7I3VYE1cZdQ8IPg2M,2371
|
|
124
124
|
bmcgo/codegen/lua/templates/apps/message.lua.mako,sha256=Rj1B_wi8dc2IUvoT0-Q2TfgUpIBxsXXaeqk00zXW1RA,1025
|
|
125
|
-
bmcgo/codegen/lua/templates/apps/model.lua.mako,sha256=
|
|
125
|
+
bmcgo/codegen/lua/templates/apps/model.lua.mako,sha256=iNz0PZqYnEiyZOsTdGZuudhsS76weEi-3ABjNAzKYgc,8889
|
|
126
126
|
bmcgo/codegen/lua/templates/apps/orm_classes.lua.mako,sha256=Oz2fKu5uhDJn7d0q178rgX9IDJ4Xmm0nfZYYrek5SNY,335
|
|
127
127
|
bmcgo/codegen/lua/templates/apps/plugin.lua.mako,sha256=w8aVvxcuNKEmHjWiwFhe6aSIxkMHJKMuc5EaKNgb7DQ,246
|
|
128
128
|
bmcgo/codegen/lua/templates/apps/redfish.proto.mako,sha256=0yisLKgHi-wuipvjbVZGYH_8ESCEr4wcB3KvAWsJUyE,2628
|
|
@@ -254,8 +254,8 @@ bmcgo/utils/installations/version_util.py,sha256=dOwvLZ7iOmnzSeyD6_pRm7NS7I13Um5
|
|
|
254
254
|
bmcgo/utils/installations/install_plans/bingo.yml,sha256=Zw1HnAyNJdEwkE3fnd-_GCe9bwv1m6bmMlaQTJXaFa8,210
|
|
255
255
|
bmcgo/utils/installations/installers/apt_installer.py,sha256=nPaCb4cobSi9InN_aHsEPtQ0k4FgsCUWE5_VgBPvcRE,3769
|
|
256
256
|
bmcgo/utils/installations/installers/pip_installer.py,sha256=dDdios1EQ7fzt90r02pZeoM3jCmjslLzkSvzd2hgRVM,3241
|
|
257
|
-
openubmc_bingo-0.5.
|
|
258
|
-
openubmc_bingo-0.5.
|
|
259
|
-
openubmc_bingo-0.5.
|
|
260
|
-
openubmc_bingo-0.5.
|
|
261
|
-
openubmc_bingo-0.5.
|
|
257
|
+
openubmc_bingo-0.5.275.dist-info/METADATA,sha256=svABE4XE8SKEkYtUZaeEx5fKre-tn6oyDSi_zfy3urs,956
|
|
258
|
+
openubmc_bingo-0.5.275.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
259
|
+
openubmc_bingo-0.5.275.dist-info/entry_points.txt,sha256=UUoUP-vAWTgg9vEYbRwYqOBHgpRtkngdzMPb-ocz90g,42
|
|
260
|
+
openubmc_bingo-0.5.275.dist-info/top_level.txt,sha256=9AcvCAt1nZcOgMsGt6T07mg2Bgtdet-3mHTwg91axgI,6
|
|
261
|
+
openubmc_bingo-0.5.275.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|