A common lib for Dell Server management via out of band management controller. The library is written in Java language to support Webservice Management - WSMAN protocol, a DMTF standard protocol for systems management.
The smi-lib-wsman has factory classes that establish a connection over the https protocol to the target compute node exposing standard SOAP based webservices for management and monitoring.
Under Construction. Not available via Maven Central yet....
<dependency>
<groupId>com.dell.isg.smi</groupId>
<artifactId>wsmanclient</artifactId>
<version>1.0.1</version>
</dependency>
compile(group: 'com.dell.isg.smi', name: 'wsmanclient', version: '1.0.1')
Once Jar is downloaded or built from source code, the lib is ready for use e.g.
DcimEnumerationCmd raidEnumCmd =null;
raidEnumCmd = new DcimEnumerationCmd(ipAddress, userName(), password, WSManClassEnum.DCIM_RAIDEnumeration.name());
List<DcimEnumCmdView> raidEnumViews = raidEnumCmd.execute();
DcimIntegerCmd raidIntegerCmd = new DcimIntegerCmd((ipAddress, userName(), password, WSManClassEnum.DCIM_RAIDInteger.name());
List<DcimIntegerCmdView> raidIntegerViews = raidIntegerCmd.execute();
if (raidIntegerViews!=null && raidIntegerViews.size()>0){
//custom logic
}
1- Developer can check out the source code from github into IDE of choice and start contributing to the project.
2- Download dependencies
https://github.com/rackhd-epf/wsmanlib.git
Alternativly dependencies can be downloaded from artifactory
https://gtie-artifactory.us.dell.com/artifactory/libs-release-local)
3- Install and configure latest Gradle build tool
4- Go to the project root directory and run
gradle build
This build script will download the dependencies from central maven and start building liberary
Please file bugs and issues at the GitHub issues page. The code and documentation are released with no warranties or SLAs and are intended to be supported through a community driven process.
Slack Channel: codecommunity.slack.com