1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 17:39:59 -05:00
Commit Graph

83 Commits

Author SHA1 Message Date
Jobin George
543615518d Re-organise imports for DRaaS Samples
Signed-off-by: Jobin George<jgeorge@vmware.com>
2019-09-16 16:14:27 +05:30
Jobin George
d427cdd589 DRaaS Samples
Signed-Off-by: Jobin George<jgeorge@vmware.com>
2019-09-16 16:10:11 +05:30
Anusha Hegde
2d2f32b923 differentiating required and optional arguments in the help text for … (#175)
* differentiating required and optional arguments in the help text for vmc samples
Signed-off-by: Anusha Hegde <hegdeanusha25@gmail.com>
2019-08-20 14:54:24 +08:00
Shweta Purohit
08a6c02555 New sample for appliance Health
updated Health appliance sample

cleaned up health appliance sample

Signed-off-by: aspurohit <spurohit@vmware.com>

Removed unused objects

Signed-off-by: aspurohit <spurohit@vmware.com>

modified as per sample_template_basic

updated as per review comments

updated the sample as per review comments

updated the sample as per import standards
2019-08-14 12:34:20 +05:30
chandrashekh-vmw
56754e064b fixes in print to work in python3
Signed-off-by: chandrashekh-vmw <chandrashekh@vmware.com>
2019-07-22 15:07:15 +00:00
chandrashekh-vmw
ac26bfa26d Fixing CI error about blank line at the end of the file
Signed-off-by: chandrashekh-vmw <chandrashekh@vmware.com>
2019-07-22 07:21:52 +00:00
chandrashekh-vmw
e8fb50585b Examples for L3VPN CRUD operations
Signed-off-by: chandrashekh-vmw <chandrashekh@vmware.com>
2019-07-22 07:02:47 +00:00
Tianhao He
1884e64a37 Add get sddc id by name when deleting sddc
Don't print region as some testing sddcs don't have region info.
2019-07-22 12:26:58 +08:00
Tianhao He
8799c5d6b5 Don't pass account link sddc config when no connected account available 2019-07-22 12:19:58 +08:00
Tianhao He
63dbb27b50 New sample to demonstrates the VMTX push sync workflow to publish and subscribe VMTX items 2019-06-25 12:17:10 +08:00
Tripti Attavar
34fae9cf1c Add NSXT sample for DFW firewall
CRUD Group
CRUD Communication Map
CRUD DFW Firewall

Signed-Off-By: Tripti Attavar <tattavar@vmware.com>
2019-06-07 15:59:29 -07:00
Tripti Attavar
39658ffa77 Add NSXT sample for NAT and CGW firewall
CRUD Public IP
CRUD NAT Rule
CRUD Group
CRUD CGW Firewall

Signed-Off-By: Tripti Attavar <tattavar@vmware.com>
2019-06-05 17:53:52 -07:00
Tianhao He
a1dac8616e API bindings for VMware Cloud on AWS 1.7 release
Signed-off-by: Tianhao He <het@vmware.com>
2019-05-28 10:41:05 -07:00
Ajoy Aswadhati
8b55a3f96d fixed year in Copyright
Signed-off-by: Ajoy Aswadhati <aaswadhati@vmware.com>
2019-04-16 13:49:32 -07:00
Ajoy Aswadhati
32b136c980 Added NSXT sample that demonstrates the following operations:
- GET Infra, Tier1s
- GET segments
- GET domains
- Firewall CRUD operations

Signed-off-by: Ajoy Aswadhati <aaswadhati@vmware.com>
2019-04-15 13:49:27 -07:00
Tianhao He
6195ed7948 add list vmc task sample
Signed-off-by: Tianhao He <het@vmware.com>
2019-03-14 18:09:02 +08:00
Tianhao He
e610a71b97 add cancel task sample
Signed-off-by: Tianhao He <het@vmware.com>
2019-03-13 16:39:54 +08:00
Tianhao He
e15ee32793
Merge pull request #138 from tianhao64/master
add security group crud samples
2019-03-12 11:25:59 +08:00
Gordon Good
5e2ebfe1d4 Add networks_nsxt dir, simple example
Define a directory for NSX-T sample code. Add a basic
example that shows how to authenticate to VMC/NSX-T and
make a simple read call.

Signed-Off-By: Gordon Good <ggood@vmware.com>
2019-03-11 12:40:39 -07:00
Tianhao He
64eeae9299 add security group crud samples
Signed-off-by: Tianhao He <het@vmware.com>
2019-03-11 20:50:07 +08:00
Tianhao He
3d1a6d8c14 change network samples folder name to network_nsxv 2019-03-07 12:01:34 +08:00
Tianhao He
e7af04409a Remove try/catch block from sample_base.py
There is an bug in the catch block where the exception didn't get
re-raised when cleanup is false. When something goes wrong, it's better
to leave the setup as is for dubugging. Thus removing the try/catch.

Signed-off-by: Tianhao He <het@vmware.com>
2019-02-26 17:39:24 +08:00
Tianhao He
dd078bb9f7 update vmc add remove host sample
Signed-off-by: Tianhao He <het@vmware.com>
2019-02-12 10:33:31 +08:00
Tianhao He
7ad32f66fd fix format for vc_import_history_common.py
Signed-off-by: Tianhao He <het@vmware.com>
2019-02-11 15:37:20 +08:00
Tianhao He
58968f2ee1 fix network helper method - 2 2019-02-05 17:30:05 +08:00
Tianhao He
8c44352bab fix network helper method 2019-02-05 12:43:09 +08:00
Tianhao He
912fb0bcbf update ethernet sample and add opaque network
Signed-off-by: Tianhao He <het@vmware.com>
2019-01-31 16:47:42 +08:00
Tianhao He
4032e4cbb0 Add opaque network to deployed ovf
Signed-off-by: Tianhao He <het@vmware.com>
2019-01-31 13:34:15 +08:00
het
7a87682546 update vsphere sample readme 2018-11-28 23:12:26 +08:00
het
18b2ed120a Remove tabulate from the dependency list
Signed-off-by: het <het@vmware.com>
2018-11-22 15:51:29 +08:00
het
4849111842 Rewrite tagging sample to use vsphere client
Add API call to retrieve category and tag name and description.

Signed-off-by: het <het@vmware.com>
2018-11-21 21:31:19 +08:00
Steve Trefethen
5892cdab58
Remove mistaken commit 2018-11-10 10:31:08 -08:00
Steve Trefethen
93b58772d3
Remove mistaken commit 2018-11-10 10:30:57 -08:00
Steve Trefethen
0c8112653c
Create VM snippet 2018-11-10 10:09:57 -08:00
Steve Trefethen
3be789db29
Create README.md 2018-11-10 10:08:10 -08:00
het
88af7c3ba7 signed ova import sample
Signed-off-by: het <het@vmware.com>
2018-11-08 16:10:02 +08:00
het
48a9388c45 fix a formatting issue 2018-09-25 10:17:12 -07:00
het
cfa9acdb88 Add tests to make sure vsphere client stubs are present
Add unittests for vsphere client
Fixed some format issues
Run the tests as part of travis ci
2018-09-21 13:38:40 -07:00
het
5ba4450b3b VMware Cloud on AWS 1.5
Updated VMware Cloud on AWS Console API bindings
Updated VMware Cloud on AWS SDDC API bindings
Added Compute Policy API bindings
Add compute Policy API samples
Remove doc folder. The API specs are hosted on gh-pages branch now. The API doc links can be found on the main README.

Signed-off-by: het <het@vmware.com>
2018-09-20 13:41:20 -07:00
Tianhao He
285a06b261
Update deploy_ovf_template.py 2018-08-23 15:35:03 -07:00
Jobin George
911c3e3bc9 Addressed the Review comments. Signed-off-by:jobingeo jgeorge@vmware.com 2018-06-25 21:13:31 +05:30
Jobin George
1e631f7061 A sample to list the Services in the vCenter Server. Signed-off-by:jobingeo jgeorge@vmware.com 2018-06-25 17:15:00 +05:30
Tianhao He
6b344229ce add account linking config when creating sddc
Signed-off-by: Tianhao He <het@vmware.com>
2018-06-15 13:25:11 +08:00
pgbidkar
100d723904 dict.itervalues is deprecated in Python3. Fixing samples to call method dict.values() works for Python 2.7 & 3 2018-06-13 16:57:42 +05:30
Alan Renouf
b7d7c57448
Updated VMC Readme
API is no longer in preview
2018-06-12 10:29:19 -07:00
Tianhao He
a60dcd567b Add README to describe VMC sddc samples and their prerequisites.
Signed-off-by: Tianhao He <het@vmware.com>
2018-06-06 14:13:13 -07:00
Tianhao He
40564950a2 add deploy ovf template in cloud sddc sample
Signed-off-by: Tianhao He <het@vmware.com>
2018-06-01 07:59:03 +08:00
Tianhao He
346f5b1cd6 VMware Cloud on AWS 1.4
- Updated bindings and samples for VMware Cloud on AWS APIs
- Added bindings for NSX APIs
- Added HVC samples
2018-05-15 20:56:21 -07:00
Tianhao He
60aa0d8266 update api docs
Signed-off-by: Tianhao He <het@vmware.com>
2018-04-26 16:30:40 -07:00
Tianhao He
4959e85281 add expose vm to public internet sample
Sample execution output:

/Users/het/virenv/py36/bin/python /Users/het/github/vsphere-automation-sdk-python/samples/vmc/networks/expose_public_ip.py -r <refreh_token> -o <org_id> -s <sddc_id> --i <private_ip> -c

Wait for task ff09bd7b-22bd-439f-b4cd-154c270a5937 to finish
Checking task status every 2 seconds
Estimated time remaining: -1 minutes

Task ff09bd7b-22bd-439f-b4cd-154c270a5937 finished successfully

 # New firewall rule "Sample firewall rule 100" is added

 # New NAT rule "Sample NAT rule 72" is added

Signed-off-by: Tianhao He <het@vmware.com>
2018-04-23 19:02:20 -07:00