cybergoatz-azure-lib
Python library that serves as the Azure driver for CyberGoatz Platform sandbox provisioning.
It is intended to be an installable component consumed by backend-terraform-client, not a
stand-alone application.
This is not a strict AWS/OpenStack port. The implementation is intentionally Azure-shaped:
- Linux-first
- SSH-first
- Azure VM, NIC, subnet, VNet, NSG, and Public IP provisioning through OpenTofu/Terraform
- Azure-managed SSH public key resources for cloud-side key lifecycle
- compatibility acceptance of
x509keypair create/get/delete calls even though VM provisioning remains SSH-based
Key design choices
- The library implements
CrczpCloudClientBasefromcrczp-python-commons. - Sandboxes are rendered into a dedicated Azure virtual network with subnets for all topology networks.
- The MAN node receives a public IP so the existing platform can keep using
topology_instance.ipas the SSH target. - SSH keypairs are persisted as Azure SSH public key resources and then injected into rendered VM definitions during template creation.
- Legacy
x509keypair lifecycle calls are accepted as a compatibility path so higher layers can stay provider-agnostic while Azure remains SSH-first.
Expected Azure image format
Topology image references should be either:
- an Azure image resource ID
- a URN in the form
publisher:offer:sku:version
Contents
cybergoatz/azure_driver-- Azure cloud client implementationpyproject.toml-- package metadatatox.ini-- lint and test configuration
Release files for cybergoatz-azure-lib 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cybergoatz_azure_lib-1.0.3.tar.gz | 70.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cybergoatz_azure_lib-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.8 kB
Release files / cybergoatz_azure_lib-1.0.3.tar.gz
| Download URL | cybergoatz_azure_lib-1.0.3.tar.gz |
|---|---|
| Size | 70.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dedef3a17ce0213a6bde75f3c7d8cc6550a6aaeaf7523f86180f988939ae65ab
|
|
BLAKE2b-256 checksum How to use checksums |
18476dab21aa19652b45c7a5885ddc6fb7de3be4400c00f8d2fa6e0f41c62451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / cybergoatz_azure_lib-1.0.3-py3-none-any.whl
| Download URL | cybergoatz_azure_lib-1.0.3-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7be84f705629a1154cc350c66b570ef563eaa08ebe966846308137d77d6d06d
|
|
BLAKE2b-256 checksum How to use checksums |
b527cb9702861627cd7d4fb8f0b70f2d0e31c35dcf77f43960c5f5babe769803
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|