08-12-2014 08:54 AM
is there some way to find out in general the parameters for a certain method?
or is there a API documentation for the full list?
for example I don't know what needs to be passed to the method "attachToPolicies".
# does not work
Apologies if this is a rather newbie question. but I simply couldn't find the answer anywhere including in the Platform developer Guide.
08-15-2014 07:16 PM
The only place I've found this documented is in the twister docs https://CORE/twister/
In particular, the attachToPolicies document is https://CORE/twister/docs/com/opsware/swmgmt/Patch
08-16-2014 09:45 AM
I just say an update from HP. In HPSA 9.15 and all of the newer 10.x versions they have added a help option to OGFS. See QCCR1D164325 for more details.
09-25-2014 05:20 AM
Try using --help on any OGFS method and it will report some primitive argument usage information.
More detail can be obtained from the twister docs (as stated prior)
[brett@auric method](505) $ ./startInstallSoftware --help Usage: JobRef startInstallSoftware(SoftwareInstallJobArgument jobArgs) [brett@auric method](506) $ ./setCustAttr --help Usage: void setCustAttr(CustomAttributeReference self, String namespace, String key, String value) void setCustAttr(CustomAttributeReference self, String key, String value) [brett@auric method](507) $