Skip to main content

ESXi Server and Xen Server control script.

Requirements

  • Python 2.7

Features

  • nonthing

ESXi Sub Commands

  • list

  • ip

  • on

  • off

  • destroy

  • import

ESXi Examples

VM List.

$ esxi list -H [IPv4 Address of Server] -u [User name] -p [Password]

VM powered on.

$ esxi on -H [IPv4 Address of Server] -u [User name] -p [Password] [VM name1] [VM name2] ...

Get IPv4 address of VM.(Installed VMware tools)

$ esxi ip -H [IPv4 Address of Server] -u [User name] -p [Password] -n [VM name]

Import OVF or OVA file with File path.

$ esxi import -H [IPv4 Address of Server] -u [User name] -p [Password] --file [OVF or OVA File path] [New VM name1] [new VM name2] ...

Import OVA file with URL.

$ esxi import -H [IPv4 Address of Server] -u [User name] -p [Password] --url [OVA URL] [New VM name1] [New VM name2] ...

Xen Sub Commands

  • list

  • ip

  • on

  • off

  • reboot

  • suspend

  • paused

  • destroy

  • install

Xen Examples

VM List.

$ xen list -U [URL of Server] -u [User name] -p [Password]

VM powered on.

$ xen on -U [URL of Server] -u [User name] -p [Password] [VM name1] [VM name2] ...

Get IPv4 address of VM.(Installed Xen tools)

$ xen ip -U [URL of Server] -u [User name] -p [Password] -n [VM name]

Xen VM install with template.

$ xen install -U [URL of Server] -u [User name] -p [Password] -t [Template name] [New VM name1] [New VM name2] ...

Xen VM install with template.(Create multiple VM)

$ xen install -U [URL of Server] -u [User name] -p [Password] -t [Template name] [New VM name1] [New VM name2] ...

Multiple VM control commands

  • Powered commands(esxi -> on off, xen -> on off reboot suspend paused)

  • Import commands(esxi -> import, xen -> install)

  • Destroy commands(destroy)

Installation

easy_install:

$ easy_install pyxenter

pip:

$ pip install pyxenter

License

Copyright (c) 2013, Kazuki Hasegawa All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Metadata

Release files for pyxenter 1.1.0

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

Source distribution (sdist)

Source distribution for pyxenter 1.1.0
File Size Uploaded
pyxenter-1.1.0.zip 24.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyxenter 1.1.0
File Interpreter ABI Platform
pyxenter-1.1.0.win-amd64.exe Details

Total release size: 280.3 kB

Release files / pyxenter-1.1.0.zip

Download URL pyxenter-1.1.0.zip
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c4c2c3b979ebc56d9c47fdcf5b6d23d698033fa316ca05d3f4e998ae33e29d28
BLAKE2b-256 checksum
How to use checksums
6c46bd5f4346280e4cbe173197164ffa2d90d93ab980bea9c8c7005d395d7d17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyxenter-1.1.0.win-amd64.exe

Download URL pyxenter-1.1.0.win-amd64.exe
Size 256.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d739b191b75ecedfb99cb11b48f33d95758f51c979820673a60222c540c9fd93
BLAKE2b-256 checksum
How to use checksums
6f3ce0286a974b75fd5921875a79654ee0c3336fcaea74c1f964c821072fa0b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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