summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid2019-05-29 18:46:25 +0000
committeradmin2019-05-29 18:46:25 +0000
commitb8570d735d1ba52ee9c6d8bb1f93d5f9608c34c1 (patch)
tree9f2e565cdbfc18ee10b31e26955227497aa3d8d2
parentb1c8aa980dd81be8c56ca5bcb0d1c5ea1ef69d8e (diff)
-rw-r--r--doc/todo/dhcp_support_for_Propellor.Property.Libvirt.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/todo/dhcp_support_for_Propellor.Property.Libvirt.mdwn b/doc/todo/dhcp_support_for_Propellor.Property.Libvirt.mdwn
new file mode 100644
index 00000000..dd1a80d9
--- /dev/null
+++ b/doc/todo/dhcp_support_for_Propellor.Property.Libvirt.mdwn
@@ -0,0 +1,14 @@
+I'd like a convenient way to add dhcp info for libvirt guests (to libvirt's internal dhcp server).
+
+I'm thinking something along the lines of
+
+ Libvirt.dhcp "default" (MAC "52:54:00:00:00:01") (IPv4 "192.168.122.31")
+
+where I guess the MAC (or a better name?) has to be defined. "default" is the libvirt network name.
+That property (and the undo) would translate into some call to "virsh net-update".
+
+This presumably needs a way to assign a matching MAC to the guest. We could maybe provide a convenience API that did both to avoid mismatches.
+
+I don't so far see a nice way to update the mac address on the guest. There is a --network mac= for virt-install, so maybe an optional parameter for defined? I guess it needs to be different function, called by defined to avoid breaking API?
+
+