-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build instructions for govc and vcsim
Signed-off-by: Michael Gasch <[email protected]>
- Loading branch information
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,11 @@ The code is under active development and only suitable for testing at this point | |
* Run the vCenter Simulator | ||
|
||
```bash | ||
./vcsim -tls=false | ||
# Note: the following steps assume a correctly configured GO environment (using GOPATH) | ||
go get -u -d github.com/vmware/govmomi | ||
cd $GOPATH/src/github.com/vmware/govmomi/vcsim | ||
go build -o vcsim main.go | ||
./vcsim -tls=false | ||
``` | ||
|
||
* Run the connector | ||
|
@@ -41,8 +45,11 @@ The `stack.yml` contains an annotation of `topic=vm.powered.on`, to change this | |
|
||
* Generate some events: | ||
|
||
``` | ||
GOVC_INSECURE=true GOVC_URL=http://user:[email protected]:8989/sdk govc vm.power -off '*' | ||
```bash | ||
# Note: the following steps assume you have already downloaded the govmomi sources as described above in the vcsim section | ||
cd $GOPATH/src/github.com/vmware/govmomi/govc | ||
go build -o govc main.go | ||
GOVC_INSECURE=true GOVC_URL=http://user:[email protected]:8989/sdk ./govc vm.power -off '*' | ||
``` | ||
|
||
* Check the logs of the `echo-fn` function | ||
|