Python SDK for VMware vCloud Director
rajeshk2013 VP-1183,1200: Provided support for Convert to Advanced gateway and En…
…able Distributed Routing (#319)

* VP-1183,1200: Provided support for Convert to Advanced gateway and Enable Distributed Routing

VP-1183,1200: Provided support for Convert to Advanced gateway and Enable Distributed Routing

    It comprises of two use case:
    1: User can convert the legacy gateway to Advanced
    2: User can enable distributed routing for Advanced gateway

Testing Done: Added test case in gateway_test for testing both use cases

* Incorporated review comments
Latest commit 73bd3c5 Nov 14, 2018
Permalink
Failed to load latest commit information.
docs [VCDA-752] Update doc generation source files (#300) Sep 28, 2018
examples Change occurrence of yaml.load() to yaml.safe_load() in pyvcloud samp… Sep 28, 2018
pyvcloud VP-1183,1200: Provided support for Convert to Advanced gateway and En… Nov 14, 2018
support [VCDA-689] Integrate generalized Jenkins build script (#263) Jul 12, 2018
system_tests VP-1183,1200: Provided support for Convert to Advanced gateway and En… Nov 14, 2018
tests [VDP-1665, VCDA-642] Implemented enable, disable, detach VC (#260) Jul 5, 2018
.gitignore [VCDA-689] Integrate generalized Jenkins build script (#263) Jul 12, 2018
.gitlab-ci.yml power-on/off Sep 20, 2017
.travis.yml travis fix (#215) Mar 8, 2018
AUTHORS [VCDA-764] Update OSL files for pyvcloud. (#298) Oct 1, 2018
CODE_OF_CONDUCT.md Add code of conduct and PR/issue templates (#156) Jan 3, 2018
CONTRIBUTING.md [VCDA-550] Remove slack reference from contributing.md (#280) Sep 4, 2018
ChangeLog Update Changelog for pyvcloud v20.0.1 (#305) Oct 22, 2018
Dockerfile publish Oct 11, 2017
Dockerfile.dev publish Oct 11, 2017
ISSUE_REQUEST.md Add code of conduct and PR/issue templates (#156) Jan 3, 2018
LICENSE.txt Updated license files (#203) Mar 8, 2018
MANIFEST.in [VCDA-764] Update OSL files for pyvcloud. (#298) Oct 1, 2018
NOTICE.txt Updated license files (#203) Mar 8, 2018
PULL_REQUEST_TEMPLATE.md Add code of conduct and PR/issue templates (#156) Jan 3, 2018
README.md VCDA-180: Add detailed installation instructions for pyvcloud (#189) Jan 24, 2018
cleanup.sh VCDA-213 cleanup pyvcloud repository Dec 21, 2017
format-code.sh VCDA-409: validate PEP8 compliance (#183) Jan 23, 2018
open_source_license_pyvCloud_20.0.0_GA.txt [VCDA-764] Update OSL files for pyvcloud. (#298) Oct 1, 2018
publish.sh VCDA-213 cleanup pyvcloud repository Dec 21, 2017
requirements.txt [VCDA-756] Update version of lxml to 4.2.1 to avoid failure during in… Sep 20, 2018
setup.cfg [VCDA-764] Update OSL files for pyvcloud. (#298) Oct 1, 2018
setup.py VCDA-454: Updated copyrights for release (#204) Feb 13, 2018
test-requirements.txt VCDA-474: consider name and namespace in api extension (#201) Feb 7, 2018
tox.ini VCDA-409: validate PEP8 compliance (#183) Jan 23, 2018

README.md

pyvcloud

License Stable Version Build Status

pyvcloud is the Python SDK for VMware vCloud Director.

Installation

In general, pyvcloud can be installed with the following command:

$ pip install --user pyvcloud

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

Testing

Contributions to pyvcloud are welcome and it should include unit tests. See the contributing guide for details.

Check out the latest version and install:

git clone https://github.com/vmware/pyvcloud.git
cd pyvcloud
virtualenv .venv
source .venv/bin/activate
python setup.py develop

Sample test parameters are in file tests/config.yml. Create a copy to specify your own settings and use the VCD_TEST_CONFIG_FILE env variable.

cd tests
cp config.yml private.config.yml
# customize credentials and other parameters
export VCD_TEST_CONFIG_FILE=private.config.yml
# run unit test
python -m unittest vcd_login vcd_catalog_setup
# run just a test method
python -m unittest vcd_catalog_setup.TestCatalogSetup.test_validate_ova

See tests for a list of current unit tests written for the new SDK implementation.

Notes

Please note that this project is under development and the interfaces might change over time.

pyvcloud is used by vcd-cli, the Command Line Interface for VMware vCloud Director. It requires Python 3.

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

Contributing

The pyvcloud project team welcomes contributions from the community. Before you start working with pyvcloud, 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