CIM-SPL Samples What is it? ----------- A command line utility to manage CIM-SPL policies on a CIM Server like OpenPegasus. Several samples illustrating the use of the CIM-SPL language. Prerequisites ------------- 1. SBLIM CIM client jars: Download the latest SBLIM Java CIM client jars from http://sblim.wiki.sourceforge.net/CimClient 2. A CIM Server: Like OpenPegasus 2.7.x download and install from http://www.openpegasus.org Build ------ 1. Install the SBLIM jar into the Maven local repository using the following commands mvn install:install-file -Dfile=c:/sblim.jar -DgroupId=sblim \ -DartifactId=sblimCIMClient -Dversion=1.0.0 -Dpackaging=jar 2. In the top level directory issue the command ant cimspl.runtime The Latest Version ------------------ Details of the latest version can be found on the Apache Imperius Project web site . Documentation ------------- Documentation is available online at the project website Samples -------- Sample polices are located under the /samples folder. To run the policies you need to 1. Install and run a SBLIM compatible CIM-server like OpenPegasus 2. Register the /samples/mofs/testElement.mof using the command cimmof -n root/cimv2 testElement.mof Refer to the OpenPegasus documentation for details on executing the cimmof command. 3. Set environment variable SBLIM_HOME 4. run the cimsplcmdline.bat / .sh Usage is as follows: [-s ] [-p ] [-u ] [-p ] -l (DISPLAYS THE POLICY) OR -c (CREATES A POLICY) OR -m (MODIFIES A POLICY) OR -d (DELETES A POLICY) OR -x (EXECUTES A POLICY) OR -i (LISTS ALL POLICIES) OR -a (LISTS ALL POLICY NAMES) Licensing --------- This software is licensed under the terms you may find in the file named "LICENSE" in this directory. Thanks for using Imperius. The Apache Imperius Project