ESI client
Project description
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 multiplename
: 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 multiplename
: 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 multiplename
: 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
: Switchswitchport
: Switchportvlan
: 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
: Switchswitchport
: 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
: Switchswitchport
: Switchportvlan
: VLAN
openstack esi switch port disable trunk
Disable trunk on a switchport on a switch.
openstack esi switch port disable trunk
<switch>
<switchport>
switch
: Switchswitchport
: 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
: Switchswitchport
: Switchportvlan
: 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
: Switchswitchport
: Switchportvlan
: VLAN
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
Built Distribution
Hashes for python_esiclient-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 154d35c9b134dc1da4cc2471b11aae19d2a2ad9cab6e72a0f9cde413d43a8e2c |
|
MD5 | 569931f078d3d2f4ef628e5a09d501cd |
|
BLAKE2b-256 | 785dfc2a724ee42eed8197f374579a0c272b2612fc4ae874c6c74dcf8ee8b65f |