Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MOAB plugin for Waldur Site Agent

Manages accounts in Moab Accounting Manager (MAM) by running the mam-* command-line tools on the agent host. A Waldur resource becomes a MAM account with a fund; its limit is a deposit into that fund.

At a glance

Entry point Group Role
moab waldur_site_agent.backends order processing, membership sync, reporting

Modes: order_process, membership_sync, report, event_process.

Operation Behaviour
Create resource mam-create-account (name, description, organization) and mam-create-fund
Terminate resource mam-delete-account and mam-delete-fund
Update limits mam-deposit of the deposit limit into the account's fund
Add / remove members mam-modify-account --add-user / --del-user
Pause / downscale / restore No-op — returns False, nothing changes in MAM
Usage reporting mam-list-usagerecords, summed per user and account

The agent host must have the MAM client tools on PATH and credentials that may create accounts and funds.

Configuration

offerings:
  - name: "MOAB cluster"
    waldur_api_url: "https://waldur.example.com/api/"
    waldur_api_token: "<token>"
    waldur_offering_uuid: "<offering uuid>"
    backend_type: "moab"
    order_processing_backend: "moab"
    membership_sync_backend: "moab"
    reporting_backend: "moab"
    backend_settings:
      customer_prefix: "c_"
      project_prefix: "p_"
      allocation_prefix: "a_"
    backend_components:
      deposit:
        limit: 1000
        measured_unit: "EUR"
        unit_factor: 1
        accounting_type: "limit"
        label: "Deposit"

Backend settings

The plugin reads no settings of its own. The keys above are read by the agent core for every backend (resource and project id prefixes, default_account, soft_delete, backend-id uniqueness); see Configuration. They are validated by waldur_site_agent_moab.schemas.MoabBackendSettingsSchema, so a misspelt key is logged as a warning when the agent loads its configuration.

Components

The backend uses exactly one component, deposit, and requires it: the backend fails to start without it. Its unit_factor is forced to 1.

Tests

cd plugins/moab && uv run pytest tests/

Metadata

Release files for waldur-site-agent-moab 1.0.8rc12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for waldur-site-agent-moab 1.0.8rc12
File Size Uploaded Provenance Actions
waldur_site_agent_moab-1.0.8rc12.tar.gz 5.8 kB Without provenance Details for waldur_site_agent_moab-1.0.8rc12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for waldur-site-agent-moab 1.0.8rc12
File Interpreter ABI Platform Actions
waldur_site_agent_moab-1.0.8rc12-py3-none-any.whl Python 3 none any Details for waldur_site_agent_moab-1.0.8rc12-py3-none-any.whl

Total release size: 13.1 kB

Release files / waldur_site_agent_moab-1.0.8rc12.tar.gz

Download URL waldur_site_agent_moab-1.0.8rc12.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cff92b660e30b9a0d843dff23bbded06d2baee6b67b1e95c636de77751b8ce31
BLAKE2b-256 checksum
How to use checksums
dd10c7c51d27ea6b8e9f58c683610f27f2c87d2ea020ca28e49cdb9ac4e86e13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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_moab-1.0.8rc12-py3-none-any.whl

Download URL waldur_site_agent_moab-1.0.8rc12-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f88180697afcd79e2bf93fb4371455e1d756b74f25acb4cbaf233f60ece4436
BLAKE2b-256 checksum
How to use checksums
1e17172cd426d9c5e093db1e38e98932dcd9f210ebe306e48fcdcc514b01654d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","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-moab 1.0.8rc12

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.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page