Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions vsphere-samples/vsphere-automation-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ samples require the vSphere Management SDK packages (pyVmomi) to be installed on
The samples have been developed to work with python 3.9+

## Supported OnPrem vCenter Releases
vCenter 7.0, 7.0U1, 7.0U2, 7.0U3 , 8.0, 8.0U1, 8.0U2, 8.0U3, 9.0
vCenter 7.0, 7.0U1, 7.0U2, 7.0U3 , 8.0, 8.0U1, 8.0U2, 8.0U3, 9.0.0.0
Please refer to the notes in each sample for detailed compatibility information.

## Quick Start Guide
Expand Down Expand Up @@ -48,7 +48,7 @@ Install/Update setuptools
```cmd
pip install --upgrade setuptools
```
Install SDK packages from Gitlab.
Install SDK packages from GitHub.
```cmd
pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git
```
Expand Down Expand Up @@ -99,8 +99,7 @@ Type "help", "copyright", "credits" or "license" for more information.

## Run SDK Samples

In this section we will walk you through the steps to run the sample code for vSphere
and VMware Cloud on AWS APIs.
In this section, we will walk you through the steps to run the sample code for vSphere.

### First, set PYTHONPATH to use SDK helper methods

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This directory contains samples for the Compute Policy APIs.
- 1 vCenter server.
- 1 cluster on the vCenter server with DRS enabled.
- At least 2 hosts and 1 virtual machine in the cluster.
- A tag that can be associated with virtual machines and a tag that can be associated with hosts. Please refer to the [tagging samples](https://gitlab-vmw.devops.broadcom.net/core-build/vsphere-automation-sdk-python/tree/cloud/samples/vsphere/tagging) for more information on creating categories, tags and tag associations.
- A tag that can be associated with virtual machines and a tag that can be associated with hosts. Please refer to the [tagging samples](https://github.com/vmware/vsphere-automation-sdk-python/tree/master/samples/vsphere/tagging) for more information on creating categories, tags and tag associations.

## Running the sample for compute_policy_workflow.py
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
config["DISK_DATACENTER_NAME"] = config["VM_DATACENTER_NAME"]
config["DISK_DATASTORE_ROOT_PATH"] = config["BACKENDS_DATASTORE_ROOT_PATH"] + "/disk"

config["ISO_SRC_URL"] = "https://packages.vcfd.broadcom.net/artifactory/vmlib-generic-virtual/exit15/home/ISO-Images/OS/Linux/Photon/5.0/GA/photon-5.0-dde71ec57.x86_64.iso"
config["ISO_SRC_URL"] = "https://packages.vmware.com/photon/3.0/Rev3/iso/photon-minimal-3.0-a383732.iso"
config["ISO_DATACENTER_NAME"] = config["VM_DATACENTER_NAME"]
config["ISO_DATASTORE_ROOT_PATH"] = config["BACKENDS_DATASTORE_ROOT_PATH"] + "/iso"
config["ISO_DATASTORE_PATH"] = config["ISO_DATASTORE_ROOT_PATH"] + "/photonOS.iso"
Expand All @@ -83,7 +83,7 @@
config["PARALLEL_PORT_DATASTORE_ROOT_PATH"] = config["BACKENDS_DATASTORE_ROOT_PATH"] + "/parallel"
config["PARALLEL_PORT_DATASTORE_PATH"] = config["PARALLEL_PORT_DATASTORE_ROOT_PATH"] + "/parallel.log"

config["FLOPPY_SRC_URL"] = "https://usw5.packages.broadcom.com/ui/native/dp-lwd-generic-virtual/drs/hotplugbootimage/hotPlug.flp"
config["FLOPPY_SRC_URL"] = "http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.0/fdboot.img"
config["FLOPPY_DATACENTER_NAME"] = config["VM_DATACENTER_NAME"]
config["FLOPPY_DATASTORE_ROOT_PATH"] = config["BACKENDS_DATASTORE_ROOT_PATH"] + "/floppy"
config["FLOPPY_DATASTORE_PATH"] = config["FLOPPY_DATASTORE_ROOT_PATH"] + "/fdboot.img"
Expand Down