Skip to main content

Code Craft AI Interop - NSX-T

The codecraftai-restclient-nsx package is the dedicated NSX-T interop client for the ccai suite. It is a sibling to codecraftai-interop-vsphere, deliberately kept separate because NSX users are a strict subset of vSphere users and the API surfaces are large enough that bundling makes the simple (no-NSX) case worse. The package is composed by codecraftai-provisioning/venues/vsphere when NSX is present, and the vSphere provisioner degrades cleanly when it is absent.

Scope: v2 (post-v1 baseline). This repository exists in v1 only as a skeleton with a populated specs/ folder. No source code lands until v2.

Highlights

  • NsxClient — a RestClientBase subclass talking to the NSX-T Manager Policy API (/policy/api/v1/).

  • Curated Policy API surface — logical switches and segments, T0/T1 routers, distributed firewall rules and policies, security groups, NS groups, and services.

  • Load balancers and inventory — load balancers (when used by codecraftai-provisioning venue-vsphere) and inventory of VMs, virtual interfaces, and IP discovery.

  • Asynchronous realization — every mutating call returns an NsxRealizationHandle (conforming to ITaskHandle) that polls realization state until a terminal state is reached.

  • Hand-authored DTOs — per IMPLEMENTATION-PLAN.md §9.2a, the NSX-T DTOs and request specs are hand-authored, not machine-generated, to keep the model tree sized to what venue-vsphere composition needs.

Repository Structure

  • source/packages/ccai/restclient/nsx/ - Package source code.

  • source/testroots/testbase/ccai/tests/restclient/nsx/ - TestBase test roots.

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

Running Tests

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

Standards and Conventions

Coding standards, naming conventions, and code organization standards follow the Code Craft AI suite-wide conventions. See Agents.md for the project rules and the referenced standards documents.

Additional Resources

  • Project rules and references: Agents.md

  • Codegen decision: Agents.md (Codegen Decision section)

Metadata

Release files for codecraftai-restclient-nsx 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-restclient-nsx 1.2.0
File Size Uploaded Provenance
codecraftai_restclient_nsx-1.2.0.tar.gz 24.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for codecraftai-restclient-nsx 1.2.0
File Interpreter ABI Platform
codecraftai_restclient_nsx-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 64.5 kB

Release files / codecraftai_restclient_nsx-1.2.0.tar.gz

Download URL codecraftai_restclient_nsx-1.2.0.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8e5247c99677ca1065c3631c9df65d86958f0dfb55182670b283ebaada4a29ba
BLAKE2b-256 checksum
How to use checksums
c901aa42e33bd0450124cf6f42c4128cb43af2f031da22f9c0037dccceacd631
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 19, 2026.

Transparency log

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

Download URL codecraftai_restclient_nsx-1.2.0-py3-none-any.whl
Size 39.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
678b75ab6e06beacbdfc0d93593d9272bf1ccfeb4fc63089c11692677b9d686a
BLAKE2b-256 checksum
How to use checksums
aee6b21d07efccda9fceea6c8c9797182842d0085b2a02e9062c4e605f4b307d
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 19, 2026.

Transparency log

Security for codecraftai-restclient-nsx 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_restclient_nsx-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 19, 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