Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
typedef enum {
VIR_NETWORK_PORT_CREATE_RECLAIM = (1 << 0), /* reclaim existing used resources */
+ VIR_NETWORK_PORT_CREATE_VALIDATE = (1 << 1), /* Validate the XML document against schema */
} virNetworkPortCreateFlags;
virNetworkPortPtr
* virNetworkPortCreateXML:
* @net: pointer to the network object
* @xmldesc: an XML description of the port
- * @flags: currently unused, pass 0
+ * @flags: bitwise-OR of virNetworkPortCreateFlags
*
* Create a new network port, based on an XML description
* similar to the one returned by virNetworkPortGetXMLDesc()