Skip to main content

Code Craft AI Interop - XCP-ng / XenServer

The codecraftai-interop-xen package is the venue-specific client for XCP-ng and Citrix Hypervisor (XenServer) via the XAPI XML-RPC API exposed on the pool master. Although XAPI rides over HTTPS, its serialization is XML-RPC — not REST — and its session model relies on opaque per-call object references. For v1 this package uses direct XAPI bindings; the “one transport per package” rule still applies.

Highlights

  • XenClient — the venue client speaking XAPI XML-RPC; session login/logout plus host and pool enumeration.

  • Network and storage management — network and PIF/VIF management, storage repository (SR) and virtual disk image (VDI) management.

  • VM lifecycle — template enumeration and VM provisioning from template, start/clean shutdown/hard shutdown/reboot/destroy, and VBD/VIF attach-detach.

  • Snapshots and task handles — snapshot management and task tracking via XAPI’s first-class task objects; the ref-based object model is hidden behind typed records on the way out.

  • Aspects-driven transport — authentication uses XenSessionCredential (pool master URL + username + password); every behaviour-bearing call accepts aspects: AspectsXapi = DEFAULT_XEN_ASPECTS.

Repository Structure

  • development/ - Runtime environment scripts.

  • repository-setup/ - Repository homing and setup scripts.

  • source/packages/ccai/interop/xen/ - Package source code.

  • source/testroots/testbase/ccai/tests/interop/xen/ - TestBase test roots.

  • specs/ - Requirements, design, and task documentation (Kiro-style).

  • userguide/ - Standards, conventions, and documentation.

Environment Setup

When working in a Codex container:

./development/setup-agent-container

For local development:

./repository-setup/rehome-repository
./development/setup-environment

Running Tests

source .venv/bin/activate
testbase testing run --root ./source/testroots/testbase --includes=testbase.ccai.tests

Standards and Conventions

  • Naming conventions: userguide/10-02-naming-conventions.rst

  • Code organization: userguide/10-01-code-organization.rst

  • Coding standards: userguide/10-00-coding-standards.rst

Additional Resources

  • User guide entry point: userguide/userguide.rst

Metadata

Release files for codecraftai-interop-xen 1.2.0

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

Source distribution (sdist)

Source distribution for codecraftai-interop-xen 1.2.0
File Size Uploaded Provenance
codecraftai_interop_xen-1.2.0.tar.gz 28.4 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-interop-xen 1.2.0
File Interpreter ABI Platform
codecraftai_interop_xen-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 79.3 kB

Release files / codecraftai_interop_xen-1.2.0.tar.gz

Download URL codecraftai_interop_xen-1.2.0.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b16625658da671921df0d85bccda7315a1307332d80e66575b6de296cbc3c4af
BLAKE2b-256 checksum
How to use checksums
8ac2376ff6e08853735c38469db3bcd82e3d7be0f0835818b2ea1d41873227df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / codecraftai_interop_xen-1.2.0-py3-none-any.whl

Download URL codecraftai_interop_xen-1.2.0-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b49f0d6e3007963c9d9e77be47133dda40aa4f42c766bfe04efb44818c0249c
BLAKE2b-256 checksum
How to use checksums
e66b9b87008257850ee775f84e3fda084e6c9b4bdbaf9f6ffb46b0971ebb5481
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for codecraftai-interop-xen 1.2.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codecraftai_interop_xen-1.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files Full provenance

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