| Top |
| OsinfoOs * | os | Read / Write / Construct Only |
| OsinfoPlatform * | platform | Read / Write / Construct Only |
OsinfoDeployment is an entity representing an virtualization deployment. Deployments have a list of supported devices
OsinfoDeployment * osinfo_deployment_new (const gchar *id,OsinfoOs *os,OsinfoPlatform *platform);
Create a new deployment entity
OsinfoOs *
osinfo_deployment_get_os (OsinfoDeployment *deployment);
Get the operating system for the deployment
OsinfoPlatform *
osinfo_deployment_get_platform (OsinfoDeployment *deployment);
Get the platform for the deployment
OsinfoDevice * osinfo_deployment_get_preferred_device (OsinfoDeployment *deployment,OsinfoFilter *filter);
Get the preferred device matching a given filter
OsinfoDeviceLink * osinfo_deployment_get_preferred_device_link (OsinfoDeployment *deployment,OsinfoFilter *filter);
Get the preferred device link matching a given filter and platform. The filter matches against attributes on the link, not the device.
OsinfoDeviceList * osinfo_deployment_get_devices (OsinfoDeployment *deployment,OsinfoFilter *filter);
Retrieve all the associated devices matching the filter. The filter matches against the device, not the link.
OsinfoDeviceLinkList * osinfo_deployment_get_device_links (OsinfoDeployment *deployment,OsinfoFilter *filter);
Retrieve all the associated devices matching the filter. The filter matches against the link, not the device.
OsinfoDeviceLink * osinfo_deployment_add_device (OsinfoDeployment *deployment,OsinfoDevice *dev);
Associate a device with a deployment. The returned OsinfoDeviceLink can be used to record extra metadata against the link
“os” property“os” OsinfoOs *
The operating system to be deployed
Owner: OsinfoDeployment
Flags: Read / Write / Construct Only
“platform” property“platform” OsinfoPlatform *
The platform to deploy on
Owner: OsinfoDeployment
Flags: Read / Write / Construct Only