summaryrefslogtreecommitdiff
path: root/resources/initcfg
diff options
context:
space:
mode:
Diffstat (limited to 'resources/initcfg')
-rw-r--r--resources/initcfg/cluster.text5
-rw-r--r--resources/initcfg/droplets.text44
-rw-r--r--resources/initcfg/events.text10
-rw-r--r--resources/initcfg/hypervisors.text17
4 files changed, 76 insertions, 0 deletions
diff --git a/resources/initcfg/cluster.text b/resources/initcfg/cluster.text
new file mode 100644
index 0000000..9d94cad
--- /dev/null
+++ b/resources/initcfg/cluster.text
@@ -0,0 +1,5 @@
+dirs: "/var/lib/libvirt/images"
+dirs: "/home/isos"
+dirs: "/home/nfs"
+dirs: "/home/ceph"
+dirs: "/home"
diff --git a/resources/initcfg/droplets.text b/resources/initcfg/droplets.text
new file mode 100644
index 0000000..fae130a
--- /dev/null
+++ b/resources/initcfg/droplets.text
@@ -0,0 +1,44 @@
+droplets: {
+ hostname: "git.wit.org"
+ cpus: 16
+ memory: 103079215104
+ preferred_hypervisor: "farm04"
+ qemu_machine: "pc-q35-9.0"
+ networks: {
+ mac: "22:22:22:22:22:03"
+ name: ""
+ }
+ disks: {
+ filename: "git.wit.org.qcow2"
+ filepath: "/home/nfs3"
+ }
+}
+droplets: {
+ hostname: "go.wit.com"
+ cpus: 2
+ memory: 2147483648
+ preferred_hypervisor: "farm04"
+ qemu_machine: "pc-q35-9.0"
+ networks: {
+ mac: "22:22:22:22:22:05"
+ name: ""
+ }
+ disks: {
+ filename: "go.wit.com.qcow2"
+ filepath: "/home/nfs"
+ }
+}
+droplets: {
+ hostname: "wekan.foo.com"
+ cpus: 2
+ memory: 2147483648
+ qemu_machine: "pc-q35-9.1"
+ networks: {
+ mac: "22:22:22:22:22:08"
+ name: ""
+ }
+ disks: {
+ filename: "wekan.foo.com.qcow2"
+ filepath: "/home/nfs"
+ }
+}
diff --git a/resources/initcfg/events.text b/resources/initcfg/events.text
new file mode 100644
index 0000000..12a7515
--- /dev/null
+++ b/resources/initcfg/events.text
@@ -0,0 +1,10 @@
+events: {
+ droplet: "www.foo.org"
+ start: {
+ seconds: 1729895589
+ nanos: 425114400
+ }
+ field_name: "Droplet.Memory"
+ orig_val: "1073741824"
+ new_val: "2147483648"
+}
diff --git a/resources/initcfg/hypervisors.text b/resources/initcfg/hypervisors.text
new file mode 100644
index 0000000..7817eb0
--- /dev/null
+++ b/resources/initcfg/hypervisors.text
@@ -0,0 +1,17 @@
+hypervisors: {
+ uuid: "11111111-2222-3333-4444-555555555555"
+ hostname: "hyper01"
+ active: true
+ cpus: 16
+ memory: 8796093022208
+ comment: "this is a fake hypervisor"
+ autoscan: true
+}
+hypervisors: {
+ hostname: "hyper02"
+ active: true
+ cpus: 16
+ memory: 8796093022208
+ comment: "this is a fake hypervisor"
+ autoscan: true
+}