kcli 99.0.202512091532__py3-none-any.whl → 99.0.202512170723__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 kcli might be problematic. Click here for more details.
- {kcli-99.0.202512091532.dist-info → kcli-99.0.202512170723.dist-info}/METADATA +1 -1
- {kcli-99.0.202512091532.dist-info → kcli-99.0.202512170723.dist-info}/RECORD +9 -9
- kvirt/defaults.py +1 -0
- kvirt/providers/hcloud/__init__.py +7 -3
- kvirt/version/git +1 -1
- {kcli-99.0.202512091532.dist-info → kcli-99.0.202512170723.dist-info}/WHEEL +0 -0
- {kcli-99.0.202512091532.dist-info → kcli-99.0.202512170723.dist-info}/entry_points.txt +0 -0
- {kcli-99.0.202512091532.dist-info → kcli-99.0.202512170723.dist-info}/licenses/LICENSE +0 -0
- {kcli-99.0.202512091532.dist-info → kcli-99.0.202512170723.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kcli
|
|
3
|
-
Version: 99.0.
|
|
3
|
+
Version: 99.0.202512170723
|
|
4
4
|
Summary: Provisioner/Manager for Libvirt/Vsphere/Aws/Gcp/Hcloud/Kubevirt/Ovirt/Openstack/IBM Cloud and containers
|
|
5
5
|
Home-page: http://github.com/karmab/kcli
|
|
6
6
|
Author: Karim Boumedhel
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
kcli-99.0.
|
|
1
|
+
kcli-99.0.202512170723.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
2
2
|
kvirt/__init__.py,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
3
3
|
kvirt/baseconfig.py,sha256=QG_AHI1_HAgHwIdZSm1BXkpn9pW35kTMUkFOb7UE_wY,83513
|
|
4
4
|
kvirt/bottle.py,sha256=K24aCQYSylDpkxmLYGygSpAJ4MlMqMk85AMpbCWA43c,175729
|
|
5
5
|
kvirt/cli.py,sha256=D1lMERW5zuH6H7vzJHIX2UIdcpv16V2CaV-Ear3UTC8,265483
|
|
6
6
|
kvirt/config.py,sha256=Vw_9kP7IYRk4kiY-95Ku98TWdt6ZVSGNMGFSNspoYhk,184633
|
|
7
7
|
kvirt/containerconfig.py,sha256=qbvOWwFlyU2F-4rZn9PLj97wDnSBIwAYA6Xlxr13OOc,2329
|
|
8
|
-
kvirt/defaults.py,sha256=
|
|
8
|
+
kvirt/defaults.py,sha256=vZFFUI_hegVf2W2Zle0fTcSQNhcStJGWXtrBXTYE22E,12401
|
|
9
9
|
kvirt/ekstoken.py,sha256=MjK_tcLFl2VKxqgTSB4ve_kybZw5dBj2H6BezGGtBpM,1475
|
|
10
10
|
kvirt/examples.py,sha256=KTiMRjXHpwoEg5fPgndDADa15LKV79aT6Ty2ihu8wI4,28876
|
|
11
11
|
kvirt/gketoken.py,sha256=up6cyslRTsoOHu9xT8fa0chES6RWExIu0IzXQY0IxQs,934
|
|
@@ -390,7 +390,7 @@ kvirt/providers/fake/__init__.py,sha256=TYJe0iwO0Y7QrksKx4E63-Lxgc6WYNcjAHAq_Lwh
|
|
|
390
390
|
kvirt/providers/gcp/__init__.py,sha256=_8qln7pO0_3MSmZ1P4X-THlTbbwFuR_a4wVCCeL0WSI,102731
|
|
391
391
|
kvirt/providers/gcp/gcp-hack.service,sha256=gG35O6KTLlGqIMwrSBqb_id-h3SWm_us_yLkLfQelOw,175
|
|
392
392
|
kvirt/providers/gcp/gcp-hack.sh,sha256=kH051zNphRtJe-eVi8CX28_mxP6ID1f3pSTDzvE9XzE,220
|
|
393
|
-
kvirt/providers/hcloud/__init__.py,sha256=
|
|
393
|
+
kvirt/providers/hcloud/__init__.py,sha256=JJqL0aGHdDMQAqC45W3n1Gv53OGffNgZEql2YgalzsQ,22919
|
|
394
394
|
kvirt/providers/ibm/__init__.py,sha256=OTGDRCwvvOZCTNGD_QXx52-9_tsBzA7Y079RAo9XL9M,66129
|
|
395
395
|
kvirt/providers/kubevirt/__init__.py,sha256=NSnx2RwtRQSrrhpqLK8Fb_ye9YgJdMbkO-_wBFd7DZg,94602
|
|
396
396
|
kvirt/providers/kvm/__init__.py,sha256=j6ZtyemdHJWvvgKeL3ZtG1IW5k_0hlknqxeepaz3rNg,195464
|
|
@@ -403,7 +403,7 @@ kvirt/providers/vsphere/helpers.py,sha256=eJnwVGdWArTurH5ckzScvLThNJaMWeakdxBbDT
|
|
|
403
403
|
kvirt/providers/vsphere/tagging.py,sha256=7RqFIUETSzHAjS0F_8-j145-_8lca7aDUsCxs4DhQVQ,4893
|
|
404
404
|
kvirt/providers/web/__init__.py,sha256=_9fv0_x5VomFrMZqTsMLHkIRkvujmFgTxggtRctvMD0,22053
|
|
405
405
|
kvirt/version/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
406
|
-
kvirt/version/git,sha256=
|
|
406
|
+
kvirt/version/git,sha256=ESkygC8AliPn0BIGKHVasfwfFreIgXks33Lr8AG5bEM,19
|
|
407
407
|
kvirt/web/__init__.py,sha256=QW-FVaQGYogXwgV2g4f0J9s0QqUI6qIyX1ruRaiI8Yk,46658
|
|
408
408
|
kvirt/web/main.py,sha256=DIb6tW3ce7wCc83kD9HBCG4ALJuLItp9uaP6tzdsm_Y,261
|
|
409
409
|
kvirt/web/static/css/bootstrap-notify.css,sha256=ibUTW-jDj-F8d1T1KZ4DOujRmVTFfvMKL9y14QgEaPQ,408
|
|
@@ -645,8 +645,8 @@ kvirt/web/templates/vmprofiles.html,sha256=T65Cv7povhBtD2dyuWkWJE6byaA9EYtLSk5gt
|
|
|
645
645
|
kvirt/web/templates/vmprofilestable.html,sha256=-8viNOqSvN_yzimENxq7Q0187zbflOn8p8zpgx0Vyek,1420
|
|
646
646
|
kvirt/web/templates/vms.html,sha256=k2ptKeiLFdpzgfbk6xi__sduu0UALYXXrnrmDEmAfaQ,470
|
|
647
647
|
kvirt/web/templates/vmstable.html,sha256=ikuYkIm_ocvGIBXFyJt1-tBjwQWCyqkgC08leoXgR54,4894
|
|
648
|
-
kcli-99.0.
|
|
649
|
-
kcli-99.0.
|
|
650
|
-
kcli-99.0.
|
|
651
|
-
kcli-99.0.
|
|
652
|
-
kcli-99.0.
|
|
648
|
+
kcli-99.0.202512170723.dist-info/METADATA,sha256=R6bJPSjO4BFQmNKjMkQm1IiIc3unW30V6oC44tEOsWs,4645
|
|
649
|
+
kcli-99.0.202512170723.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
650
|
+
kcli-99.0.202512170723.dist-info/entry_points.txt,sha256=e5EB5e2acrwl3_sYA0GrjE42UMcMfiijMJqXb6TZRmQ,245
|
|
651
|
+
kcli-99.0.202512170723.dist-info/top_level.txt,sha256=FwVTxtMIWdr8QBk5mTfd0f_GheFlRR_vn4zl6p5N57s,6
|
|
652
|
+
kcli-99.0.202512170723.dist-info/RECORD,,
|
kvirt/defaults.py
CHANGED
|
@@ -56,6 +56,7 @@ IMAGES = {'almalinux8': f'{ALMA}/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-
|
|
|
56
56
|
'debian10': f'{DEBIAN}/openstack/current-10/debian-10-openstack-amd64.qcow2',
|
|
57
57
|
'debian11': f'{DEBIAN}/cloud/bullseye/latest/debian-11-generic-amd64.qcow2',
|
|
58
58
|
'debian12': f'{DEBIAN}/cloud/bookworm/latest/debian-12-generic-amd64.qcow2',
|
|
59
|
+
'debian13': f'{DEBIAN}/cloud/trixie/latest/debian-13-generic-amd64.qcow2',
|
|
59
60
|
'fcos': 'https://builds.coreos.fedoraproject.org/streams/stable.json',
|
|
60
61
|
'fedora39': f'{FEDORA}/39/Cloud/x86_64/images/Fedora-Cloud-Base-39-1.5.x86_64.qcow2',
|
|
61
62
|
'fedora40': f'{FEDORA}/40/Cloud/x86_64/images/Fedora-Cloud-Base-Generic.x86_64-40-1.14.qcow2',
|
|
@@ -31,6 +31,10 @@ class Khcloud():
|
|
|
31
31
|
sharedfolders=[], cmdline=None, placement=[], autostart=False, cpuhotplug=False, memoryhotplug=False,
|
|
32
32
|
numamode=None, numa=[], pcidevices=[], tpm=False, rng=False, metadata={}, securitygroups=[],
|
|
33
33
|
vmuser=None, guestagent=True):
|
|
34
|
+
location = self.location
|
|
35
|
+
if overrides.get("location", False):
|
|
36
|
+
location = self.conn.locations.get_by_name(overrides.get("location"))
|
|
37
|
+
|
|
34
38
|
if self.exists(name):
|
|
35
39
|
return {'result': 'failure', 'reason': f"VM {name} already exists"}
|
|
36
40
|
|
|
@@ -50,7 +54,7 @@ class Khcloud():
|
|
|
50
54
|
diskname = f"{name}-disk{index}"
|
|
51
55
|
volumeresponse = self.conn.volumes.get_by_name(diskname)
|
|
52
56
|
if volumeresponse is None:
|
|
53
|
-
volumeresponse = self.conn.volumes.create(disksize, diskname, location=
|
|
57
|
+
volumeresponse = self.conn.volumes.create(disksize, diskname, location=location,
|
|
54
58
|
labels={"kcli-managed": "volume"})
|
|
55
59
|
volumeresponses.append(volumeresponse)
|
|
56
60
|
|
|
@@ -132,7 +136,7 @@ class Khcloud():
|
|
|
132
136
|
user_data=userdata,
|
|
133
137
|
volumes=[],
|
|
134
138
|
ssh_keys=hetzner_ssh_keys,
|
|
135
|
-
location=
|
|
139
|
+
location=location,
|
|
136
140
|
public_net=ServerCreatePublicNetwork(enable_ipv4=False, enable_ipv6=False),
|
|
137
141
|
labels=labels,
|
|
138
142
|
placement_group=placement_group
|
|
@@ -142,7 +146,7 @@ class Khcloud():
|
|
|
142
146
|
break
|
|
143
147
|
except APIException as e:
|
|
144
148
|
if e.code == "resource_unavailable":
|
|
145
|
-
msg = f"Could not get server of type '{flavor_option}' in location '{
|
|
149
|
+
msg = f"Could not get server of type '{flavor_option}' in location '{location.name}'"
|
|
146
150
|
if len(flavor_options) > (idx + 1):
|
|
147
151
|
warning(f"{msg}' trying the next configured flavor option.")
|
|
148
152
|
else:
|
kvirt/version/git
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
93e6b52 2025/12/17
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|