Visit Platform at http://www.platform.com

extern LIBVEM_API int vem_startcontainer(vem_handle_t *, vem_startcontainerreq_t *, vem_container_id_t *)

Start a workload container with VEM

Starts a workload container on the specified host. This function can only be used on a handle that is currently registered.

Fields in vem_startcontainerreq_t: "allocId" specifies the allocation that the container is started in. "hostname" is where the container is to be started. The host must be previously allocated to the allocation specified in allocId. name serves as an identifier and does not impact the execution of the container. "spec" is the workload container execution context specification. "options" currently not used.

On success, vem_container_t will return the assigned container ID.

Returns:
0 is returned. < 0 otherwise.


     
Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 2001-2007 Platform Computing Corporation. All rights reserved.