Skip to content

Commit d25f318

Browse files
author
Pradeep Ramachandra
committed
Update govc/USAGE.md
Signed-off-by: Pradeep Ramachandra <[email protected]>
1 parent b67bf1a commit d25f318

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

govc/USAGE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ but appear via `govc $cmd -h`:
159159
- [firewall.ruleset.find](#firewallrulesetfind)
160160
- [folder.create](#foldercreate)
161161
- [folder.info](#folderinfo)
162+
- [folder.place](#folderplace)
162163
- [gpu.host.info](#gpuhostinfo)
163164
- [gpu.host.profile.ls](#gpuhostprofilels)
164165
- [gpu.vm.add](#gpuvmadd)
@@ -2754,6 +2755,29 @@ Usage: govc folder.info [OPTIONS] [PATH]...
27542755
Options:
27552756
```
27562757

2758+
## folder.place
2759+
2760+
```
2761+
Usage: govc folder.place [OPTIONS] PATH...
2762+
2763+
Get a placement recommendation for an existing VM
2764+
2765+
Examples:
2766+
govc folder.place -rp $rp1Name -rp $rp2Name -rp $rp3Name -vm $vmName -type relocate -candidate-networks "netA|netB" -candidate-networks "netC"
2767+
Each use of the "-candidate-networks" flag corresponds to one NIC of the VM.
2768+
Within the value of each flag, use "|" to specify multiple candidate networks for that NIC.
2769+
For example:
2770+
-candidate-networks "netA|netB" → NIC 0 can connect to either netA or netB.
2771+
-candidate-networks "netC" → NIC 1 can connect only to netC.
2772+
2773+
2774+
Options:
2775+
-candidate-networks=[] Candidate network names (repeat for multiple nics)
2776+
-pool=[] Resource Pools to use for placement.
2777+
-type= Placement type (createAndPowerOn|relocate|reconfigure)
2778+
-vm= Virtual machine [GOVC_VM]
2779+
```
2780+
27572781
## gpu.host.info
27582782

27592783
```

0 commit comments

Comments
 (0)