py-pve-cloud 0.0.3__py3-none-any.whl → 0.0.4__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 py-pve-cloud might be problematic. Click here for more details.
- pve_cloud/cli/pvclu.py +2 -2
- {py_pve_cloud-0.0.3.dist-info → py_pve_cloud-0.0.4.dist-info}/METADATA +2 -1
- {py_pve_cloud-0.0.3.dist-info → py_pve_cloud-0.0.4.dist-info}/RECORD +7 -7
- {py_pve_cloud-0.0.3.dist-info → py_pve_cloud-0.0.4.dist-info}/WHEEL +0 -0
- {py_pve_cloud-0.0.3.dist-info → py_pve_cloud-0.0.4.dist-info}/entry_points.txt +0 -0
- {py_pve_cloud-0.0.3.dist-info → py_pve_cloud-0.0.4.dist-info}/licenses/LICENSE +0 -0
- {py_pve_cloud-0.0.3.dist-info → py_pve_cloud-0.0.4.dist-info}/top_level.txt +0 -0
pve_cloud/cli/pvclu.py
CHANGED
|
@@ -10,7 +10,7 @@ def get_cloud_domain(target_pve):
|
|
|
10
10
|
|
|
11
11
|
for pve_cloud in pve_inventory:
|
|
12
12
|
for pve_cluster in pve_inventory[pve_cloud]:
|
|
13
|
-
if pve_cluster == target_pve:
|
|
13
|
+
if pve_cluster + "." + pve_cloud == target_pve:
|
|
14
14
|
return pve_cloud
|
|
15
15
|
|
|
16
16
|
raise Exception(f"Could not identify cloud domain for {target_pve}")
|
|
@@ -26,7 +26,7 @@ def get_online_pve_host(target_pve):
|
|
|
26
26
|
|
|
27
27
|
for pve_cloud in pve_inventory:
|
|
28
28
|
for pve_cluster in pve_inventory[pve_cloud]:
|
|
29
|
-
if pve_cluster == target_pve:
|
|
29
|
+
if pve_cluster + "." + pve_cloud == target_pve:
|
|
30
30
|
for pve_host in pve_inventory[pve_cloud][pve_cluster]:
|
|
31
31
|
# check if host is available
|
|
32
32
|
pve_host_ip = pve_inventory[pve_cloud][pve_cluster][pve_host]["ansible_host"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: py-pve-cloud
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4
|
|
4
4
|
Author-email: Tobias Huebner <tobias.huebner@vmzberlin.com>
|
|
5
5
|
License-Expression: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -8,4 +8,5 @@ Requires-Dist: PyYAML==6.0.2
|
|
|
8
8
|
Requires-Dist: psycopg2-binary==2.9.10
|
|
9
9
|
Requires-Dist: SQLAlchemy==2.0.43
|
|
10
10
|
Requires-Dist: alembic==1.16.5
|
|
11
|
+
Requires-Dist: proxmoxer==2.2.0
|
|
11
12
|
Dynamic: license-file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
pve_cloud/cli/pvcli.py,sha256=inR4KMI63nWufPYoM9udxgh3CN10xyQlJw_kGzVw7DQ,3166
|
|
2
|
-
pve_cloud/cli/pvclu.py,sha256=
|
|
2
|
+
pve_cloud/cli/pvclu.py,sha256=D5R5Gzo_iSImPTtEHVJWZoFr66uijeFbb-k6ODz_71o,2498
|
|
3
3
|
pve_cloud/lib/inventory.py,sha256=0W31j34jtxUa-3Cxe0HmHJqc_8CpvvxyDqd0sAZ5oCI,31
|
|
4
4
|
pve_cloud/orm/alchemy.py,sha256=1PABOo2d-ceIwlSZPYx19aXZFszDXMh8YIXgkLT-554,5000
|
|
5
5
|
pve_cloud/orm/alembic.ini,sha256=7140n-YUj06aAIHOHACm8U0xhUFUoBZ4Jw23KlYB9EA,4865
|
|
@@ -11,9 +11,9 @@ pve_cloud/orm/migrations/versions/7868bcd05006_migrate_old.py,sha256=rU8Bw2tYDyn
|
|
|
11
11
|
pve_cloud/orm/migrations/versions/7dea8c4ee39f_init.py,sha256=iMDyHhtyvpSywMnLhiSEL3W12YSm6sPa18XRgzQcwDg,954
|
|
12
12
|
pve_cloud/orm/migrations/versions/944a8fd5d5bc_ext_ctrl_plns.py,sha256=LnVAShLaU1asz1L7TYs7oI9SnLxPp2IOA6K83kHNkN0,1674
|
|
13
13
|
pve_cloud/orm/migrations/versions/d9b711555be8_ext_control_plane.py,sha256=uBqv1r5pLX-RjqciKYx0zvWyygJMa5u58DTnVfIEAF0,1073
|
|
14
|
-
py_pve_cloud-0.0.
|
|
15
|
-
py_pve_cloud-0.0.
|
|
16
|
-
py_pve_cloud-0.0.
|
|
17
|
-
py_pve_cloud-0.0.
|
|
18
|
-
py_pve_cloud-0.0.
|
|
19
|
-
py_pve_cloud-0.0.
|
|
14
|
+
py_pve_cloud-0.0.4.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
15
|
+
py_pve_cloud-0.0.4.dist-info/METADATA,sha256=EENqU0S2uq7SBI05ChHVDybFOBFEhcA55zEb4RWPJFo,362
|
|
16
|
+
py_pve_cloud-0.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
py_pve_cloud-0.0.4.dist-info/entry_points.txt,sha256=VvncsKmTJ46irz-9wQZ4Zo1FgNBjRltGDBKR9ht18mE,84
|
|
18
|
+
py_pve_cloud-0.0.4.dist-info/top_level.txt,sha256=mpT7ttGRyZJVt_obhPLBHyIBcjKhUdJ-qVsMEVX5WJg,10
|
|
19
|
+
py_pve_cloud-0.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|