Commit ae152ab1 authored by Michal Privoznik's avatar Michal Privoznik
Browse files

network: Add 'register' attribute of <domain/>

The <domain/> element has one mandatory attribute ('name') and
two optional attributes: 'localOnly' and 'register' (introduced
in libvirt's commit of v10.1.0-rc1~93). The latter is not exposed
in NetworkDomain struct.

Resolves: #11


Signed-off-by: default avatarMichal Privoznik <mprivozn@redhat.com>
parent 32ba28c9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ type NetworkVirtualPortParamsMidoNet struct {
type NetworkDomain struct {
	Name      string `xml:"name,attr,omitempty"`
	LocalOnly string `xml:"localOnly,attr,omitempty"`
	Register  string `xml:"register,attr,omitempty"`
}

type NetworkForwardNATAddress struct {