You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67
Original file line number
Diff line number
Diff line change
@@ -86,3 +86,70 @@ Here are the keys that vmfloaty currently supports:
86
86
## vmpooler API
87
87
88
88
This cli tool uses the [vmpooler API](https://github.com/puppetlabs/vmpooler/blob/master/API.md).
89
+
90
+
## Using the Pooler class
91
+
92
+
If you want to write some ruby scripts around the vmpooler api, vmfloaty provides a `Pooler` and `Auth` class to make things easier. The ruby script below shows off an example of a script that gets a token, grabs a vm, runs some commands through ssh, and then destroys the vm.
0 commit comments