HP StorageWorks MSA2312fc HP StorageWorks MSA2000 G2 SMI-S Proxy Provider User - Page 37
Table 4 Pegasus CIMOM operations, interface to interact with the Pegasus CIMOM through CIM operations.
View all HP StorageWorks MSA2312fc manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 37 highlights
int main(int argc, char** argv) { char *address_string = NULL; Boolean localConnection = false; Boolean useSSL = false; Uint32 timeout = 60000; char host[20], userName[20], password[20]; Uint32 portNumber; char ch; std::cout > host; std::cout > portNumber; std::cout > userName; std::cout > password; CIMClient* client; client = new CIMClient(); connectClient(client, String(host), portNumber, String(userName), String(password), useSSL, localConnection, timeout); // clean up delete client; } Also, OpenPegasus releases provide simple CIM utilities that can be used for interacting with the Pegasus CIMOM and the providers. Cimcli is a CLI tool that provides an interactive/non-interactive interface to interact with the Pegasus CIMOM through CIM operations. Table 4 Pegasus CIMOM operations ni enumerateInstanceNames Enumerate instancenames of niall enumallInstanceNames Enumerate all instancenames in namespace ei enumerateInstances Enumerate instances of nc enumerateClassNames Enumerate Class Names of [ ] ec enumerateClasses Enumerate classes of [ ] gc getClass Get class of gi getInstance Get instance of | ci createInstance Create one Instance of * di deleteInstance Delete Instance of or interactive of cc createClass Not supported mi modifyInstance Not supported dc deleteClass Delete Class of gp getProperty TBD sp setProperty TBD gq getQualifier Get Qualifier of MSA2000 G2 SMI-S Proxy Provider User Guide 37