Files
ubicloud/spec/routes/api/cli/golden-files/vm eu-central-h1_test-vm show.txt
Jeremy Evans b0502bdf05 Refactor cli golden factor specs
Instead of parsing file names and basing the commands on those,
store the commands in files, so that you can edit files to change
which commands are run.  This makes the file names for the golden
files match the command being run, other than replacing / with _.

To add commands for golden files, edit the files in the
spec/routes/api/cli/golden-file-commands folder.
2025-02-19 10:25:42 -08:00

23 lines
605 B
Plaintext

id: vmdzyppz6j166jh5e9t2dwrfas
name: test-vm
state: creating
location: eu-central-h1
size: standard-2
unix_user: ubi
storage_size_gib: 0
ip6:
ip4_enabled: true
ip4: 128.0.0.1
private_ipv4: 10.67.141.133
private_ipv6: fda0:d79a:93e7:d4fd:1c2::2
subnet: default-eu-central-h1
firewall 1:
id: fw4gj2v4h1fe3q28q0hnf7g8n1
name: default-eu-central-h1-default
description: Default firewall
location: eu-central-h1
path: /location/eu-central-h1/firewall/default-eu-central-h1-default
rules:
1: fra7jvrz94be7qy8qrq8n1jrp1 0.0.0.0/0 0..65535
2: fr7cv7h5bz324maazy93ykn8s4 ::/0 0..65535