summaryrefslogtreecommitdiff
path: root/subplot
AgeCommit message (Collapse)AuthorFilesLines
2022-01-21refactor: use lib/runcmd's steps instead of custom onesLars Wirzenius2-83/+0
Subplot's lib/runcmd provides a "when I run ..." step that we can use, instead of having a custom "when I invoke ..." step. Less code, fewer bugs. Sponsored-by: author
2021-11-10fix: prepend Cargo target directory to PATHLars Wirzenius1-1/+5
Sponsored-by: author
2021-10-06fix(subplot/vmadm.yaml): update bindings file to use new syntaxLars Wirzenius1-11/+31
Current Subplot requires a different form for the YAML: the impl key. Sponsored-by: author
2021-08-05feat: if no networks are specified, use defaultLars Wirzenius1-0/+3
Also, drop lan, wan from test config, because we can't assume they're available in the environment the tests are run in. Sponsored-by: author
2021-07-25test: verify both dicts have the same keyLars Wirzenius1-0/+2
Sponsored-by: author
2021-07-25test: make equality check more genericLars Wirzenius1-2/+17
Sponsored-by: author
2021-07-25test: make tilde expansion be more genericLars Wirzenius1-6/+12
Sponsored-by: author
2021-07-25test: verify that "vmadm config" worksLars Wirzenius2-0/+27
Sponsored-by: author
2021-07-25chore: drop vendored Subplot librariesLars Wirzenius4-555/+0
This way we always use the latest. Previously we would always need to update the vendored copy when Subplot's copy changes. The old way would be better if Subplot was stable and vmadm itself was also stable. We may want to return to that some day. Sponsored-by: author
2021-03-25fix: put back most of the VM creation scenarioLars Wirzenius1-0/+3
Oops.
2021-03-14fix: VMs can be restartedLars Wirzenius2-0/+22
Previously, the temporary file for the cloud-init configuration ISO was left attached to the VM. This meant the VM couldn't be turned off and back on again: the temporary no longer existed. Now we detach the ISO file after the VM has booted. As a side effect, vmadm has gained start and shutdown subcommands, so that the fix can be tested.
2021-03-04feat: use configured defaults to unspecified machine attributesLars Wirzenius2-5/+6
2021-03-04feat! allow specification files to have any number of machinesLars Wirzenius1-4/+4
2021-03-04feat: configurable image_directory where VM images go by defaultLars Wirzenius2-3/+4
Also, specification file doesn't need to specify an image file anymore. Instead the image will be named after the VM and put into the image directory named in the configuration.
2021-03-03test: make path to Debian cloud image be configurableLars Wirzenius2-0/+17
2021-02-28feat: export cloud-init config, set SSH host keysLars Wirzenius2-0/+36
2021-02-20delete take spec file, not VM nameLars Wirzenius1-7/+2
2021-02-20feat: vmadm command to create, list, and delete virtual machinesLars Wirzenius6-0/+614
Includes test suite.