All Projects → vmware → Vcd Cli

vmware / Vcd Cli

Licence: other
Command Line Interface for VMware vCloud Director

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Vcd Cli

N8n
Free and open fair-code licensed node based Workflow Automation Tool. Easily automate tasks across different services.
Stars: ✭ 19,252 (+13362.94%)
Mutual labels:  iaas, cli
Formd
A Markdown formatting tool
Stars: ✭ 141 (-1.4%)
Mutual labels:  cli
Gomainr
Terminal cli app that checks the availability of domains for different configurations of keywords.
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
Node Promptly
Simple command line prompting utility for nodejs
Stars: ✭ 140 (-2.1%)
Mutual labels:  cli
Rosid
Just-in-time development server and static site generator.
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
Qov
The terminal presentation tool.
Stars: ✭ 141 (-1.4%)
Mutual labels:  cli
Climake
The simplistic, dependency-free cli library ✨
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
Gf Cli
GoFrame Command Line Interface, which is your helpmate for building GoFrame application with convenience.
Stars: ✭ 143 (+0%)
Mutual labels:  cli
Swiftplate
Easily generate cross platform Swift framework projects from the command line
Stars: ✭ 1,746 (+1120.98%)
Mutual labels:  cli
Alienfx
AlienFX is a CLI and GUI utility to control the lighting effects of your Alienware computer.
Stars: ✭ 140 (-2.1%)
Mutual labels:  cli
Cli
Manage and configure Akamai from the Command Line.
Stars: ✭ 140 (-2.1%)
Mutual labels:  cli
Wireless Tools
Wireless tools for Node.js
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
My Token
📈Track token prices of your favorite exchanges in terminal!
Stars: ✭ 141 (-1.4%)
Mutual labels:  cli
Ghbackup
Embarrassingly simple GitHub backup tool
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
Swift For Scripting
📋A hand-curated collection of useful and informative Swift Scripting materials.
Stars: ✭ 142 (-0.7%)
Mutual labels:  cli
Peep
The CLI text viewer tool that works like less command on small pane within the terminal window.
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
Spring Cloud Cli
Spring Cloud CLI features
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
Yacspin
Yet Another CLi Spinner; providing over 70 easy to use and customizable terminal spinners for multiple OSes
Stars: ✭ 139 (-2.8%)
Mutual labels:  cli
Python Cfonts
Sexy fonts for the console
Stars: ✭ 143 (+0%)
Mutual labels:  cli
Cli Menu
🖥 Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.
Stars: ✭ 1,776 (+1141.96%)
Mutual labels:  cli

vcd-cli

License Stable Version Build Status

vcd-cli is the Command Line Interface for VMware vCloud Director.

Installation

In general vcd-cli can be installed with the following command:

$ pip install --user vcd-cli

Depending on your operating system and distribution you may need additional packages to install successfully. See install.md for full details.

Quick Start

Below is a sample vcd-cli interaction with vCloud Director to create a virtual machine and start using it.

Detailed command syntax and usage can be found in the vcd-cli site, along with the installation instructions.

    $ vcd login myserviceprovider.com org1 usr1 --password ******** -w -i
    usr1 logged in, org: 'org1', vdc: 'vdc1'

    $ vcd catalog create catalog1
    task: 893bff31-4bf6-48a6-84b8-55cee97e8349, Created Catalog catalog1(cc0a2b88-9e5a-4391-936f-df6e7902504b), result: success

    $ vcd catalog upload catalog1 photon-custom-hw11-2.0-304b817.ova
    upload 113,169,920 of 113,169,920 bytes, 100%
    property    value
    ----------  ----------------------------------
    file        photon-custom-hw11-2.0-304b817.ova
    size        113207424

    $ vcd vapp create vapp1 --catalog catalog1 --template photon-custom-hw11-2.0-304b817.ova \
      --network net1 --accept-all-eulas
    task: 0f98685a-d11c-41d0-8de4-d3d4efad183a, Created Virtual Application vapp1(8fd8e774-d8b3-42ab-800c-a4992cca1fc2), result: success

    $ vcd vapp list
    isDeployed    isEnabled      memoryAllocationMB  name      numberOfCpus    numberOfVMs  ownerName    status        storageKB  vdcName
    ------------  -----------  --------------------  ------  --------------  -------------  -----------  ----------  -----------  ---------
    true          true                         2048  vapp1                1              1  usr1         POWERED_ON     16777216  vdc1

    $ vcd vapp info vapp1
    property                     value
    ---------------------------  -------------------------------------
    name                         vapp1
    owner                        ['usr1']
    status                       Powered on
    vapp-net-1                   net1
    vapp-net-1-mode              bridged
    vm-1: 1 virtual CPU(s)       1
    vm-1: 2048 MB of memory      2,048
    vm-1: Hard disk 1            17,179,869,184 byte
    vm-1: Network adapter 0      DHCP: 10.150.221.213
    vm-1: computer-name          PhotonOS-001
    vm-1: password               ********

    $ ssh [email protected]
    ...

The OVA used in the example can be downloaded with the command:

   $ wget http://dl.bintray.com/vmware/photon/2.0/GA/ova/photon-custom-hw11-2.0-304b817.ova

Documentation

See the vcd-cli site for detailed documentation and installation instructions.

Please note that this project is under development, the commands, parameters and options might change over time.

vcd-cli uses pyvcloud, the Python SDK for VMware vCloud Director. It requires Python 3.6 or higher.

Previous versions and deprecated code can be found in this repository under tag 19.2.3.

Development

If you want to develop, follow these steps:

  • Fork the repository
  • Clone the forked respoitory
  • Install vcd-cli from the local sources pip3 install --user -e vcd-cli/
  • Add the path ~/.local/bin to the PATH

If you change the source, it is directly accessible with the vcd command

Contributing

The vcd-cli project team welcomes contributions from the community. Before you start working with vcd-cli, please read our Developer Certificate of Origin. All contributions to this repository must be signed as described on that page. Your signature certifies that you wrote the patch or have the right to pass it on as an open-source patch. For more detailed information, refer to CONTRIBUTING.md.

License

Apache-2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].