stmfSetStmfProp - set default stmf properties for luns and targets
cc [ flag... ] file... –lstmf [ library... ] #include <libstmf.h> int stmfSetStmfProp(uint8_t propType, char *propVal);
a property type value. See DESCRIPTION for valid values.
a property value
This function sets the default properties for the specified property type. All property values are expressed in human-readable form. The propType argument can be one of the following values:
Set the default state for luns. The new setting will only take effect after a service enable/restart on the stmf service. Valid propVal values are “online” or “offline”.
Sets the default state for target ports The new setting will only take effect after a service enable/restart on the stmf service. Valid propVal values are “online” or “offline”.
The following values are returned:
The API call was successful.
The propType argument is invalid.
See attributes(5) for descriptions of the following attributes:
|