module Network:sig..end
Network.t is the
network object.type 'rw t
ro Network.t and
read-write handles have type rw Network.t.val lookup_by_name : 'a Libvirt.Connect.t -> string -> 'a tval lookup_by_uuid : 'a Libvirt.Connect.t -> Libvirt.uuid -> 'a tval lookup_by_uuid_string : 'a Libvirt.Connect.t -> string -> 'a tval create_xml : [> `W ] Libvirt.Connect.t -> Libvirt.xml -> Libvirt.rw tval define_xml : [> `W ] Libvirt.Connect.t -> Libvirt.xml -> Libvirt.rw tval undefine : [> `W ] t -> unitval create : [> `W ] t -> unitval destroy : [> `W ] t -> unitval free : [> `R ] t -> unitfree network frees the network object in memory.
The network object is automatically freed if it is garbage
collected. This function just forces it to be freed right
away.
val get_name : [> `R ] t -> stringval get_uuid : [> `R ] t -> Libvirt.uuidval get_uuid_string : [> `R ] t -> stringval get_xml_desc : [> `R ] t -> Libvirt.xmlval get_bridge_name : [> `R ] t -> stringval get_autostart : [> `R ] t -> boolval set_autostart : [> `W ] t -> bool -> unitval const : [> `R ] t -> Libvirt.ro tconst network turns a read/write network handle into a read-only
network handle. Note that the opposite operation is impossible.