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

This version

2.0.7

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.7.tar.gz (53.5 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.7-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fabrictestbed-2.0.7.tar.gz
Algorithm Hash digest
SHA256 4a766c2c407a80b8926ce7d4cccc7a4732f4a65d2aa43b22ae87fa7adf27cfe2
MD5 9f3986a2ae9067886072813f11cc3de0
BLAKE2b-256 ef2ef6e40ed30a750c08f1cf070b9b3c80de4f3f45f047f241f0108f0df7ea5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabrictestbed-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 62.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for fabrictestbed-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 550d440ee66b581a40e5def8e4cfd677d1e55821bf744a235d8306c7e361b875
MD5 42bac54bb403f4937809d1597344a846
BLAKE2b-256 30477b6edd8c9e896e8a93e842c73842e37ee1d456cf008ef7ed6ef0fc19eaf2

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