This release is a pre-release and may not be stable for production use.
Xen Orchestra Provider
The provider on top of Xen Orchestra to manage XCP-ng resources. The releases of this package are hosted on the DESY Gitlab here. Pull Requests from dependabot are managed here and then synced back to our Gitlab. Only Python packages are released for the provider since we cannot test it for other languages.
Installing
If you want to use this provider in your python Code you need to install the python package from the Gitlab pypi registry:
pip install pulumi-xenorchestra --index-url https://gitlab.desy.de/api/v4/projects/14393/packages/pypi/simple
Then you can run the following command to install the plugin (the golang binary) from the gitlab releaes page:
pulumi plugin install resource xenorchestra 1.2.0 --server https://gitlab.desy.de/cloud-public/pulumi-xenorchestra/-/releases/v1.2.0/downloads/
Usage
in your __main__.py set up the Xen-Orchestra provider for pulumi in the following way:
import pulumi_xenorchestra as xoa
xoa_provider = xoa.Provider(
"xenorchestra",
xoa.ProviderArgs(
url=Output.secret(secret_data["xoa_url"]),
token=Output.secret(secret_data["xoa_token"]),
insecure=False,
)
You can then une the provider to create a Virtual Machine:
xoa.Vm(
resource_name=machine.name,
name_label=machine.name,
name_description="XOA VM",
cpus=4,
memory_max=8590000000,
template=template.id,
tags=["pulumi"],
cloud_config=pathlib.Path("./config/cloudinit-xen-static.yaml").read_text()
),
disks=[
xoa.VmDiskArgs(
sr_id=machine.storage_repository_id,
name_label="OS",
size=34361835520,
),
],
networks=[
xoa.VmNetworkArgs(
network_id=network.id,
mac_address=map_ip_to_mac(
machine.ipv4_address,
separator=":",
),
),
],
opts=pulumi.ResourceOptions(
provider=xoa_provider,
# Do not recreate node with new credentials
ignore_changes=["cloud_config"],
parent=self,
),
)
Metadata
Release files for pulumi-xenorchestra 1.4.0a1739803717
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pulumi_xenorchestra-1.4.0a1739803717.tar.gz | 47.9 kB | Without provenance | Details for pulumi_xenorchestra-1.4.0a1739803717.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pulumi_xenorchestra-1.4.0a1739803717-py3-none-any.whl | Python 3 | none | any | Details for pulumi_xenorchestra-1.4.0a1739803717-py3-none-any.whl |
Total release size: 135.1 kB
Release files / pulumi_xenorchestra-1.4.0a1739803717.tar.gz
| Download URL | pulumi_xenorchestra-1.4.0a1739803717.tar.gz |
|---|---|
| Size | 47.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed875530654b39d1f41d7d96787a68b0e611c52a523e054dbc4eb80c0e88753d
|
|
BLAKE2b-256 checksum How to use checksums |
0ee8346241f43d293df1040bff0dfab319265a0fa367543dd169b156cd326ae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Release files / pulumi_xenorchestra-1.4.0a1739803717-py3-none-any.whl
| Download URL | pulumi_xenorchestra-1.4.0a1739803717-py3-none-any.whl |
|---|---|
| Size | 87.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6aea0337770fbe43b8c69e79dab27ed6579b08fabd8b714868294e5fda69c29c
|
|
BLAKE2b-256 checksum How to use checksums |
f8e914bb3a067e1c50c13d6f1b1f59b1190c8b1ee325a69920c81cb463899f63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Security for pulumi-xenorchestra 1.4.0a1739803717
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.