mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-26 11:19:59 -05:00
Update README.md
This commit is contained in:
parent
68d4480ecc
commit
7e75730fc5
16
README.md
16
README.md
@ -66,13 +66,13 @@ Before executing the samples we'll need to setup the vSphere test environment us
|
||||
|
||||
First, from the command line change to the SDK ./bin folder.
|
||||
|
||||
```
|
||||
```cmd
|
||||
$ cd /path/to/vsphere-automation-sdk-python-samples/bin
|
||||
```
|
||||
|
||||
Next, using a text editor open ../samples/vsphere/vcenter/setup/testbed.py and edit the following settings replace everything in < > brackets with your environment information. Leave the rest of the settings in this file at their default values.
|
||||
|
||||
```
|
||||
```python
|
||||
config["SERVER"] = "<vcenter_hostname_or_ip>"
|
||||
config["USERNAME"] = "<vsphere_username>"
|
||||
config["PASSWORD"] = "<vsphere_password>"
|
||||
@ -107,14 +107,14 @@ This script will perform the following:
|
||||
|
||||
**To view the available command-line options:**
|
||||
|
||||
```
|
||||
$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -h
|
||||
```cmd
|
||||
$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -h
|
||||
```
|
||||
|
||||
**To run the setup script:**
|
||||
|
||||
```
|
||||
$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -sv
|
||||
```cmd
|
||||
$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -sv
|
||||
```
|
||||
|
||||
After completion you will see from the output and also the vSphere Webclient that the environment has now been fully setup and is ready to easily run further samples.
|
||||
@ -124,8 +124,8 @@ This SDK includes a sample script which can be used to perform a number of actio
|
||||
|
||||
**Run the vAPI vCenter sample suite:**
|
||||
|
||||
```
|
||||
$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -riv
|
||||
```cmd
|
||||
$ ./run_sample.sh ../samples/vsphere/vcenter/setup/main.py -riv
|
||||
```
|
||||
|
||||
## API Documentation
|
||||
|
Loading…
Reference in New Issue
Block a user