Smarts: What are the valid ASL and dmctl parameters for GA_Driver::getMyParameter() operations?
search cancel

Smarts: What are the valid ASL and dmctl parameters for GA_Driver::getMyParameter() operations?

book

Article ID: 304017

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

What are the valid ASL parameters for the GA_Driver::getMyParameter() operations?
What are the valid dmctl parameters for the GA_Driver::getMyParameter() operations?




The following sections explain the ASL and dmctl parameter requirements for calling the getMyParameter function.

ASL parameter requirements for the getMyParameters function 
When using ASL, the  parameters to the getMyParameters function can be omitted as in the following example:

paramObj = driver->getMyParameters();

dmctl parameter requirements for the getMyParameters function 
When using the dmctl command, a parameter for the getMyParameters function is required. The following two options are available:

  • RETAIN_PARAMETERS
  • PURGE_PARAMETERS

The RETAIN_PARAMETERS parameter is the same as leaving parameter blank in ASL.


Additional Information

The getMyParameters function call in the source code is as follows:

getMyParameters( in get_params_mode_e mode = PURGE_PARAMETERS )
        "Create a GA_Parameters object for use by the calling thread.  The "
        "parameters object is considered 'owned' by the calling thread.  Any "
        "attempt to access the parameters by another thread will result in "
        "an error.  The argument mode controls whether to retain the "
        "parameters before returning the GA_Parameters object or purge it "
        "before returning";