Skip to main content

python-esiclient

python-esiclient extends the OpenStack CLI to provide simplified user workflows, encapsulating multiple OpenStack CLI commands into a single CLI command.

To install as a package:

  • pip install python-esiclient

To install from source:

  • clone this repository
  • install all requirements: pip install -r requirements.txt
  • install: python setup.py install

openstack esi node network <command>

These commands manage network connections to nodes.

openstack esi node network list

List node/network attachments.

openstack esi node network list
   [--node <node>]
   [--network <network>]
  • --node <node>: Filter by node (name or UUID)
  • --network <network>: Filter by network (name or UUID)

openstack esi node network attach

Attach network to a node.

openstack esi node network attach
   (--network <network> | --port <port> | --trunk <trunk>)
   [--mac-address <mac-address>]
   <node>
  • --network <network>: Network (name or UUID)
  • --port <port>: Neutron port (name or UUID)
  • --trunk <trunk>: Neutron trunk (name or UUID)
  • --mac-address <mac-address>: Node MAC address to attach the network to.
  • node: Node (name or UUID)

openstack esi node network detach

Detach network from a node.

openstack esi node network detach
   <node>
   <port>
  • node: Node (name or UUID)
  • port: Port (name or UUID)

openstack esi trunk <command>

These commands manage trunk ports.

openstack esi trunk list

List trunk ports.

openstack esi trunk list

openstack esi trunk create

Create a trunk port.

openstack esi trunk create
   [--native-network <native-network>]
   [--tagged-networks <tagged-network>]
   <name>
  • --native-network <native-network>: Native network (name or UUID)
  • --tagged-networks <tagged-network>: Tagged network (name or UUID); can specify multiple
  • name: Name of the trunk port

openstack esi trunk add network

Add a network to a trunk port.

openstack esi trunk add network
   [--tagged-networks <tagged-network>]
   <name>
  • --tagged-networks <tagged-network>: Tagged network (name or UUID); can specify multiple
  • name: Name of the trunk port

openstack esi trunk remove network

Remove a network from a trunk port.

openstack esi trunk remove network
   [--tagged-networks <tagged-network>]
   <name>
  • --tagged-networks <tagged-network>: Tagged network (name or UUID); can specify multiple
  • name: Name of the trunk port

openstack esi trunk delete

Delete a trunk port.

openstack esi trunk delete
   <name>
  • name: Name of the trunk port

openstack esi node volume attach

Boot a node with a volume

openstack esi node volume attach
   (--network <network> | --port <port>)
   [--mac-address <mac-address>]
   <node> <volume>
  • --network <network>: Network (name or UUID)
  • --port <port>: Neutron port (name or UUID)
  • node: Node (name or UUID)
  • volume: Volume (name or UUID)

openstack esi switch <command>

These commands allow you to treat ESI as a switch.

openstack esi switch vlan list

List VLANs and associated switch ports on a switch.

openstack esi switch vlan list <switch>
  • switch: Switch

openstack esi switch port list

List switch ports and associated VLANs on a switch.

openstack esi switch port list <switch>
  • switch: Switch

openstack esi switch port enable access

Attach VLAN to a switchport on a switch.

openstack esi switch port enable access
   <switch>
   <switchport>
   <vlan>
  • switch: Switch
  • switchport: Switchport
  • vlan: VLAN

openstack esi switch port disable access

Disable VLAN access to a switchport on a switch.

openstack esi switch port disable access
   <switch>
   <switchport>   
  • switch: Switch
  • switchport: Switchport

openstack esi switch port enable trunk

Attach VLAN to a switchport as the native VLAN of a trunk on a switch.

openstack esi switch port enable trunk
   <switch>
   <switchport>
   <vlan>
  • switch: Switch
  • switchport: Switchport
  • vlan: VLAN

openstack esi switch port disable trunk

Disable trunk on a switchport on a switch.

openstack esi switch port disable trunk
   <switch>
   <switchport>
  • switch: Switch
  • switchport: Switchport

openstack esi switch trunk add vlan

Add VLAN to a trunk on a switchport.

openstack esi switch trunk add vlan
   <switch>
   <switchport>
   <vlan>
  • switch: Switch
  • switchport: Switchport
  • vlan: VLAN

openstack esi switch trunk remove vlan

Remove VLAN from a trunk on a switchport.

openstack esi switch trunk remove vlan
   <switch>
   <switchport>
   <vlan>
  • switch: Switch
  • switchport: Switchport
  • vlan: VLAN

Metadata

Release files for python-esiclient 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-esiclient 0.2.4
File Size Uploaded
python-esiclient-0.2.4.tar.gz 37.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-esiclient 0.2.4
File Interpreter ABI Platform
python_esiclient-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 95.2 kB

Release files / python-esiclient-0.2.4.tar.gz

Download URL python-esiclient-0.2.4.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f200a5d648ae605084ea7369077cb6217581ab0fefa0565eabea571943b11dc9
BLAKE2b-256 checksum
How to use checksums
df05bdac944f1e9ab8a69c5e85d0e95de5762156f3c97e1d24796be26af906eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Release files / python_esiclient-0.2.4-py3-none-any.whl

Download URL python_esiclient-0.2.4-py3-none-any.whl
Size 57.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c35082f5f2ded0e9b0858c6a0f3f2fc8195f76435c9888af1a48ad54540509d
BLAKE2b-256 checksum
How to use checksums
132f4c154444feb510afaeae4eb059cd8b30c5f368578283dd25a81825bd8504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Release history Release notifications | RSS feed

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2.0

2 release files

0.1.2

2 release files

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