Skip to content

Commit

Permalink
Build instructions for govc and vcsim
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Gasch <[email protected]>
  • Loading branch information
embano1 authored and alexellis committed Jan 11, 2019
1 parent d0bae61 commit 2193e47
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2193e47

Please sign in to comment.