osism 0.20250824.0__py3-none-any.whl → 0.20250824.1__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.
- osism/tasks/openstack.py +14 -13
- {osism-0.20250824.0.dist-info → osism-0.20250824.1.dist-info}/METADATA +1 -1
- {osism-0.20250824.0.dist-info → osism-0.20250824.1.dist-info}/RECORD +9 -9
- osism-0.20250824.1.dist-info/licenses/AUTHORS +1 -0
- osism-0.20250824.1.dist-info/pbr.json +1 -0
- osism-0.20250824.0.dist-info/licenses/AUTHORS +0 -1
- osism-0.20250824.0.dist-info/pbr.json +0 -1
- {osism-0.20250824.0.dist-info → osism-0.20250824.1.dist-info}/WHEEL +0 -0
- {osism-0.20250824.0.dist-info → osism-0.20250824.1.dist-info}/entry_points.txt +0 -0
- {osism-0.20250824.0.dist-info → osism-0.20250824.1.dist-info}/licenses/LICENSE +0 -0
- {osism-0.20250824.0.dist-info → osism-0.20250824.1.dist-info}/top_level.txt +0 -0
osism/tasks/openstack.py
CHANGED
@@ -84,20 +84,21 @@ def get_baremetal_nodes():
|
|
84
84
|
# Convert generator to list and extract relevant fields
|
85
85
|
node_list = []
|
86
86
|
for node in nodes:
|
87
|
+
# OpenStack SDK returns Resource objects, not dicts - use attribute access
|
87
88
|
node_info = {
|
88
|
-
"uuid": node
|
89
|
-
"name": node
|
90
|
-
"power_state": node
|
91
|
-
"provision_state": node
|
92
|
-
"maintenance": node
|
93
|
-
"instance_uuid": node
|
94
|
-
"driver": node
|
95
|
-
"resource_class": node
|
96
|
-
"properties": node
|
97
|
-
"extra": node
|
98
|
-
"last_error": node
|
99
|
-
"created_at": node
|
100
|
-
"updated_at": node
|
89
|
+
"uuid": getattr(node, "uuid", None) or getattr(node, "id", None),
|
90
|
+
"name": getattr(node, "name", None),
|
91
|
+
"power_state": getattr(node, "power_state", None),
|
92
|
+
"provision_state": getattr(node, "provision_state", None),
|
93
|
+
"maintenance": getattr(node, "maintenance", None),
|
94
|
+
"instance_uuid": getattr(node, "instance_uuid", None),
|
95
|
+
"driver": getattr(node, "driver", None),
|
96
|
+
"resource_class": getattr(node, "resource_class", None),
|
97
|
+
"properties": getattr(node, "properties", {}),
|
98
|
+
"extra": getattr(node, "extra", {}),
|
99
|
+
"last_error": getattr(node, "last_error", None),
|
100
|
+
"created_at": getattr(node, "created_at", None),
|
101
|
+
"updated_at": getattr(node, "updated_at", None),
|
101
102
|
}
|
102
103
|
node_list.append(node_info)
|
103
104
|
|
@@ -44,7 +44,7 @@ osism/tasks/conductor.py,sha256=WBLsoPtr0iGUzRGERs0Xt7CMYrnHQVEwNV9qXBssI3s,274
|
|
44
44
|
osism/tasks/kolla.py,sha256=wJQpWn_01iWLkr7l7T7RNrQGfRgsgmYi4WQlTmNGvew,618
|
45
45
|
osism/tasks/kubernetes.py,sha256=VzXq_VrYU_CLm4cOruqnE3Kq2ydfO9glZ3p0bp3OYoc,625
|
46
46
|
osism/tasks/netbox.py,sha256=QGQGz3s0V8WvPvhEJWwo0H24aLFaZrSl-voN-axzRwY,5846
|
47
|
-
osism/tasks/openstack.py,sha256=
|
47
|
+
osism/tasks/openstack.py,sha256=v9kkwKIr9nsedUgSQYSDW0kZBAGoE9MjKithXXeRm_I,7385
|
48
48
|
osism/tasks/reconciler.py,sha256=PnGWfvfmomzbgddvyCdxul-z5ZLXxWAmrQyRCN874-s,1958
|
49
49
|
osism/tasks/conductor/__init__.py,sha256=eAiaM69sVbTTDam7gCLyjF7wBCt7rd__pRFu7VdY-f8,1930
|
50
50
|
osism/tasks/conductor/config.py,sha256=n1H9_8DY90p5E4mygzKyJUl8G3WdDuGHFTp-SrmZmgU,4543
|
@@ -64,11 +64,11 @@ osism/tasks/conductor/sonic/interface.py,sha256=M876LHdFqGxUfTizzDusdzvCkDI0vCgq
|
|
64
64
|
osism/tasks/conductor/sonic/sync.py,sha256=fpgsQVwq6Hb7eeDHhLkAqx5BkaK3Ce_m_WvmWEsJyOo,9182
|
65
65
|
osism/utils/__init__.py,sha256=370UHVU5BFy-1wDAxBFaRjSA-zR0KNadJPWQ6zcYRf0,7806
|
66
66
|
osism/utils/ssh.py,sha256=nxeEgwjJWvQCybKDp-NelMeWyODCYpaXFCBchAv4-bg,8691
|
67
|
-
osism-0.20250824.
|
68
|
-
osism-0.20250824.
|
69
|
-
osism-0.20250824.
|
70
|
-
osism-0.20250824.
|
71
|
-
osism-0.20250824.
|
72
|
-
osism-0.20250824.
|
73
|
-
osism-0.20250824.
|
74
|
-
osism-0.20250824.
|
67
|
+
osism-0.20250824.1.dist-info/licenses/AUTHORS,sha256=oWotd63qsnNR945QLJP9mEXaXNtCMaesfo8ZNuLjwpU,39
|
68
|
+
osism-0.20250824.1.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
69
|
+
osism-0.20250824.1.dist-info/METADATA,sha256=euXrln8TtOYB_fMaByv11BY0sNMaN3mjtSt_IYMvevA,2971
|
70
|
+
osism-0.20250824.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
71
|
+
osism-0.20250824.1.dist-info/entry_points.txt,sha256=h9YS3gfPc5ueU9ZXtCc60e8p4NQEuvtIH_zE0cfVqy0,4439
|
72
|
+
osism-0.20250824.1.dist-info/pbr.json,sha256=9hAzFUnge6s4hnmBQ2eKo9TQlUJoLcBNpoC0DfrZRjo,47
|
73
|
+
osism-0.20250824.1.dist-info/top_level.txt,sha256=8L8dsI9hcaGHsdnR4k_LN9EM78EhwrXRFHyAryPXZtY,6
|
74
|
+
osism-0.20250824.1.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
Christian Berendt <berendt@osism.tech>
|
@@ -0,0 +1 @@
|
|
1
|
+
{"git_version": "2d93840", "is_release": false}
|
@@ -1 +0,0 @@
|
|
1
|
-
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
@@ -1 +0,0 @@
|
|
1
|
-
{"git_version": "0dfd880", "is_release": false}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|