Networking functions in libvirt

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

 



Hello,

I am now starting to investigate the networking driver callback
functions in libvirt.
struct _virNetworkDriver {
   virDrvOpen          open;
   virDrvClose         close;
   virDrvNumOfNetworks     numOfNetworks;
   virDrvListNetworks      listNetworks;
   virDrvNumOfDefinedNetworks  numOfDefinedNetworks;
   virDrvListDefinedNetworks   listDefinedNetworks;
   virDrvNetworkLookupByUUID   networkLookupByUUID;
   virDrvNetworkLookupByName   networkLookupByName;
   virDrvNetworkCreateXML      networkCreateXML;
   virDrvNetworkDefineXML      networkDefineXML;
   virDrvNetworkUndefine       networkUndefine;
   virDrvNetworkCreate     networkCreate;
   virDrvNetworkDestroy        networkDestroy;
   virDrvNetworkDumpXML        networkDumpXML;
   virDrvNetworkGetBridgeName  networkGetBridgeName;
   virDrvNetworkGetAutostart   networkGetAutostart;
   virDrvNetworkSetAutostart   networkSetAutostart;
};


My question is from the point of view of the Virtual Manager GUI.

From the controls available in the GUI, what actions are intended
to be done, via the network callback functions?

Are the actions only client related?  Create a vnet, vdisk, etc?

Or are they also intended for server actions, create a switch service,
disk service, etc?

There is no example in the test.c program, so I don't have any example
to look at.

Also, is there any documentation describing the network callback functions?

TIA,

-Bruce Evans
Sun Microsystems
Systems Virtualization

--
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]