DigitalOcean plugin for Waldur Site Agent
This plugin integrates Waldur Site Agent with DigitalOcean using the
python-digitalocean SDK. It provisions droplets based on marketplace orders
and exposes droplet metadata back to Waldur.
Configuration
Example configuration for an offering:
offerings:
- name: DigitalOcean VM
waldur_api_url: https://waldur.example.com/api/
waldur_api_token: <TOKEN>
waldur_offering_uuid: <OFFERING_UUID>
backend_type: digitalocean
order_processing_backend: digitalocean
reporting_backend: digitalocean
membership_sync_backend: digitalocean
backend_settings:
token: <DIGITALOCEAN_API_TOKEN>
default_region: ams3
default_image: ubuntu-22-04-x64
default_size: s-1vcpu-1gb
default_user_data: |
#cloud-config
packages:
- htop
default_tags:
- waldur
backend_components:
cpu:
measured_unit: Cores
unit_factor: 1
accounting_type: limit
label: CPU
ram:
measured_unit: MiB
unit_factor: 1
accounting_type: limit
label: RAM
disk:
measured_unit: MiB
unit_factor: 1
accounting_type: limit
label: Disk
Resource attributes
You can override defaults per resource using attributes passed from Waldur:
regionorbackend_region_idimageorbackend_image_idsizeorbackend_size_iduser_dataorcloud_initssh_key_id,ssh_key_fingerprint, orssh_public_keyssh_key_name(optional when usingssh_public_key)tags(list of strings)
If ssh_public_key is provided, the plugin will create the key in DigitalOcean
if it does not already exist.
Resize via limits
To resize droplets from UPDATE orders, you can provide a size mapping:
backend_settings:
size_mapping:
s-1vcpu-1gb:
cpu: 1
ram: 1024
disk: 25
When limits match an entry in size_mapping, the droplet will be resized to
the corresponding size_slug.
Metadata
Release files for waldur-site-agent-digitalocean 1.0.7
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 |
|---|---|---|---|---|
| waldur_site_agent_digitalocean-1.0.7.tar.gz | 8.3 kB | Without provenance | Details for waldur_site_agent_digitalocean-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| waldur_site_agent_digitalocean-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for waldur_site_agent_digitalocean-1.0.7-py3-none-any.whl |
Total release size: 17.4 kB
Release files / waldur_site_agent_digitalocean-1.0.7.tar.gz
| Download URL | waldur_site_agent_digitalocean-1.0.7.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6254d3dec8d6f2a8830ac0629baf794d24cc769a9657a964cdd10d47312ae5f
|
|
BLAKE2b-256 checksum How to use checksums |
1b0263d03bc4f72d32bf064adb965b50b885eac031210fe3c2564150121db388
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / waldur_site_agent_digitalocean-1.0.7-py3-none-any.whl
| Download URL | waldur_site_agent_digitalocean-1.0.7-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de92e1d3126fcb0ffe61dd19d75c9252c99792919e12542520b756735b79218e
|
|
BLAKE2b-256 checksum How to use checksums |
f228d10d4b92ef8f305ccfd7fc3e489a870e44a6e6750abefe9cace994fed017
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for waldur-site-agent-digitalocean 1.0.7
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.