summaryrefslogtreecommitdiff
path: root/subplot/vmadm.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-02-20 08:55:17 +0200
committerLars Wirzenius <liw@liw.fi>2021-02-20 19:39:24 +0200
commita315fab485429c0e4dfd665ced86f51130e3ac3c (patch)
tree8e320e2a4595befaff447005868d47ad266c0463 /subplot/vmadm.yaml
parent0d10bc096bb4d791b6528d7ca6d450c83cfd1778 (diff)
downloadvmadm-a315fab485429c0e4dfd665ced86f51130e3ac3c.tar.gz
feat: vmadm command to create, list, and delete virtual machines
Includes test suite.
Diffstat (limited to 'subplot/vmadm.yaml')
-rw-r--r--subplot/vmadm.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/subplot/vmadm.yaml b/subplot/vmadm.yaml
new file mode 100644
index 0000000..40fce49
--- /dev/null
+++ b/subplot/vmadm.yaml
@@ -0,0 +1,9 @@
+- given: "an installed vmadm"
+ function: install_vmadm
+
+- when: "I invoke vmadm new {filename}"
+ function: create_vm
+ cleanup: delete_vm
+
+- when: "I invoke ssh -F {config} {target} {args:text}"
+ function: run_hostname_over_ssh