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.6

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fabrictestbed-2.0.6.tar.gz
Algorithm Hash digest
SHA256 5102d672492cbbe78d5db9e801a6bd620b67fa29c82557b030c81a285a6cda03
MD5 e3533da0bafb93bf69532863e48d47d9
BLAKE2b-256 d3e3a2e0263304446c68e9a71ec174778b8751d07ce20e6f2c1222dce3cdc484

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fabrictestbed-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 75ebc81b4361c4653ca13e49e106bb991aed83ba49b4382d70e4eecd4cd1ad61
MD5 c8aae5fd02582ca97e953cc8011aaf6b
BLAKE2b-256 1a334b2ff7ca0e9864b3dcdd8cd37edc801e2d099b1f5c474e9b96cd47fa317e

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