vtk_feature

vtk_feature_checkout

Usage:         
vtk_feature_checkout featureId [OPTIONS]

Description:   
Procedure to check-out a certain number of tokens of a feature using the 
VOV built-in license server emulator. This procedure is also called vtkle_feature_checkout. 

Options:
* -queue             If not enough tokens are available, queue the request. 
* -now               If not enough tokens are available, fail. 
* -tokens <N>        Specify number of tokens (positive, default 1). 
* -account Account   Specify account (like LM_PROJECT or RLM_PROJECT).

vtk_feature_delete

Usage:         
vtk_feature_delete id

Description:   
Destroy a feature from the VOV built-in license emulator. 

Example:
vtk_feature_delete 0012344

vtk_feature_find

Usage:         
vtk_feature_find daemonId name [array]

Description:   
Find a feature for a daemon by name. Returns the VovId of the feature or 0 if the feature cannot be found. 
If the third argument 'array' is provided, the array is filled with the information about the feature.

vtk_feature_get

Usage:         
vtk_feature_get id array

Description:   
Get information about a feature. Fill given array with the information.

vtk_feature_get_or_create

Usage:         
vtk_feature_get_or_create daemonId name total version

Description:   
Create or modify a feature with a specified name, total capacity and version. 

Note: 
This procedure should be renamed to vtk_feature_create_or_modify

Example:
vtk_feature_get_or_create $daemonId "my_spice" 22 "1.0" "matlab"
000123456

Returns:       
The id of feature

vtk_feature_get_version_pool

No information for this procedure.

vtk_feature_set

Usage:         
vtk_feature_set featureId array

Description:   
Update information about a feature in the VOV built-in license emulator. 
Only expire, version, and total can be updated. 
              
(This procedure should be renamed to vtk_feature_modify). 

Example:       
set info(expire) [expr $now + 100000]
set info(total)  123
vtk_feature_set $featureId info

Returns:       
Nothing

vtk_feature_set_version_pool

No information for this procedure.