[PATCH 01/10] conf: DHCP - add state for DHCP Relay and On/Off switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: TJ <linux@xxxxxx>
---
 src/conf/network_conf.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/conf/network_conf.h b/src/conf/network_conf.h
index c509915..8400eab 100644
--- a/src/conf/network_conf.h
+++ b/src/conf/network_conf.h
@@ -144,6 +144,10 @@ struct _virNetworkIpDef {
     char *bootfile;
     virSocketAddr bootserver;
 +    /* when false no DHCP server is started */
+    bool dhcp_enabled;
+    /* when true ranges are ignored and a DHCP relay-agent started */
+    bool dhcp_relay;
    };
  typedef struct _virNetworkForwardIfDef virNetworkForwardIfDef;
@@ -234,6 +238,7 @@ typedef virNetworkObj *virNetworkObjPtr;
 struct _virNetworkObj {
     virMutex lock;
 +    pid_t dhcprelayPid;
     pid_t dnsmasqPid;
     pid_t radvdPid;
     unsigned int active : 1;
-- 
1.8.1.2.433.g9808ce0.dirty


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]