Skip to content

Python Configuration Examples

The configuration package provides read-only examples for UX 2.0 Configuration Groups, Feature Profiles, and parcels.

List SD-WAN Configuration Groups or retrieve one by ID:

Terminal window
uv run -m configuration.config_groups --insecure list
uv run -m configuration.config_groups --insecure get <config-group-id>

The list operation calls GET /v1/config-group?solution=sdwan. The get operation calls GET /v1/config-group/{id}.

See Create a Configuration Group for the resource model and complete CRUD endpoint set.

List all SD-WAN Feature Profiles:

Terminal window
uv run -m configuration.feature_profiles --insecure list

Retrieve one profile by ID. The script discovers its profile type from the list response unless --type is provided:

Terminal window
uv run -m configuration.feature_profiles --insecure get <profile-id>
uv run -m configuration.feature_profiles --insecure get <profile-id> --type transport

Supported profile type arguments are system, transport, service, cli, and policy-object.

Retrieve a BFD parcel from a System Feature Profile:

Terminal window
uv run -m configuration.feature_profiles --insecure bfd <profile-id> <parcel-id>

See Feature Profiles - System for parcel structure and creation workflows.

The Python configuration commands are deliberately read-only. Use them to inspect resources and learn the shared client structure. The Configuration Guide and Bruno collection remain the step-by-step workflows for creating parcels, assembling Configuration Groups, associating devices, and deploying configuration.

This separation makes it safe to run list and get while leaving mutation and deployment operations explicit in the guided lab.