Skip to main content

FABRIC Python Client Library

Project description

PyPI

FABRIC TESTBED USER LIBRARY

FABRIC Python client library for managing testbed resources.

Overview

This package supports User facing APIs for interacting with FABRIC testbed services.

  • Tokens: Token management
  • Slices: Slice management
  • Slivers: Sliver management
  • Resources: Resource management

Note: The CLI (fabric-cli) has moved to fabrictestbed-extensions.

API

SliceManager class implements the API supporting the operations listed above. Check example in Usage below.

Requirements

Python 3.9+

Installation

$ pip install fabrictestbed

For development, install from GitHub:

$ pip install git+https://github.com/fabric-testbed/fabrictestbed.git

Usage

User API supports token and orchestrator commands. Please refer to Jupyter Notebooks here for examples.

Configuration

The following environment variables can be set:

export FABRIC_ORCHESTRATOR_HOST=orchestrator.fabric-testbed.net
export FABRIC_CREDMGR_HOST=cm.fabric-testbed.net
export FABRIC_TOKEN_LOCATION=<location of the token file downloaded from the Portal>
export FABRIC_PROJECT_ID=<Project Id of the project for which resources are being provisioned>

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fabrictestbed-2.0.7b0.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fabrictestbed-2.0.7b0-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

Details for the file fabrictestbed-2.0.7b0.tar.gz.

File metadata

  • Download URL: fabrictestbed-2.0.7b0.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for fabrictestbed-2.0.7b0.tar.gz
Algorithm Hash digest
SHA256 9d9045685ee0efe656ac4f16a5cfaef9eded6b1d2ce745e4b90351bb2987c528
MD5 9fed4823ec015f30d7b362cbcb6aece8
BLAKE2b-256 f8c4fb43015d6813a9d31a756cc62ee29d9daa89b918f849861b8213b18467d9

See more details on using hashes here.

File details

Details for the file fabrictestbed-2.0.7b0-py3-none-any.whl.

File metadata

File hashes

Hashes for fabrictestbed-2.0.7b0-py3-none-any.whl
Algorithm Hash digest
SHA256 feeec2ed93f61cc2fec17aa0fae00f89695a274c2ccffe36e68c09d9a51b7b6b
MD5 e733e93301bae7b8c95ddf905e4bfa9a
BLAKE2b-256 b9f0f722e72975b31c4c5baff1df45248738d2bf27c9aad2ec8ce0aa67eff183

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page