source for "Provider HowTo"
by John Dennis
Here is the source for the "OpenLMI CIM Provider HOWTO" which we
discussed last week. It should be imported into the openlmi-providers
git repo. That way the team can edit it and format it for publication
(i.e. on the web, mediawiki, html, etc.).
http://jdennis.fedorapeople.org/cim-provider-howto.md
I folded in the comments/corrections/suggestions I received with one
exception, I did not included an appendix of all the links in the
document explicitly showing the link targets. I tried that and it didn't
seem practical for a variety of reasons, we can revisit that if folks
feel it's important.
The document is written in markdown with pandoc extensions which is a
universal format. pandoc can format it in just about every imaginable
format you can think of, html, mediawiki, pdf being the most likely. The
fact it's written in markdown also means we're restricted on fancy
formatting options which can be used and still retain the ability to
generate different formats.
The pandoc website is: http://johnmacfarlane.net/pandoc/
You'll find instructions on how to format from markdown to different
formats there as well as doc on the markdown syntax.
Generating the pdf I sent out was as simple as:
% pandoc --toc -o cim-provider-howto.pdf cim-provider-howto.md
The --toc options adds a table of contents.
--
John Dennis <jdennis(a)redhat.com>
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
11 years
konkret file generator(.c and .h)
by George varghese
Hi,
Here, I am trying to implement CIM provider
I have created mof file named test.mof and its content is copied here.
class GK_UnixProcess : CIM_UnixProcess
{
[Description("Send signal to the process.")]
uint32 Signal(
[Description("Number of the signal."),
ValueMap{"1", "2", "3", "4", "6", "8", "9", ".."},
Values{"SIGHUP", "SIGINT", "SIGQUIT", "SIGILL", "SIGABRT",
"SIGFPE", "SIGKILL", "Reserved"}]
uint16 Number
);
};
[ Association,
Description("This association connects a process with all its children.")]
class GK_ProcessChild
{
[Key, Description("Parent process.")]
GK_UnixProcess REF Parent;
[Key, Description("Child process.")]
GK_UnixProcess REF Child;
};
Then I trying to generate .c and .h file using konkrete
*$ konkret -s GK_UnixProcess -m ../mof/test.mof GK_UnixProcess=UnixProcess*
* *But I got error,
* Using:*
*error: ../mof/LMI_test.mof(3): undefined qualifier: "Description"*
* *Please help me,
Regards,
George
11 years
software update profile support
by George varghese
Hi,
I want to implement Software Update Profile in to my board.
I have installed openwsman, CIMOM as SFCB , OpenLMI-Provider, CMPI-base
providers,konkretCMPI.
I read CIM provider document of OpenLMI. Its good document.
for software update, Have these kind of classes are defined(
https://fedorahosted.org/openlmi/wiki/software ).
if we implement a new CIM provider for software update, shall I derive
existing CIM_ classes to my new classes?
if so, I shall creating a .c and .h file using konkretcmpi tool. In these
classes have some methods.. which method is need implementation? is
enumclass method?
I have used mod_wsman apache plugin for openwsman. if have, sample wsman
soap request for software update, please..
please advise me for implement this.
Regards,
George
11 years
Review Request 244: openlmi-networking [1/6] Simplify creation of IPAssignmentSettingData
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/244/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-networking
Description
-------
Simplify creation of IPAssignmentSettingData
Use one common function to create instances of all following classes:
* LMI_IPAssignmentSettingData
* LMI_ExtendedStaticIPAssignmentSettingData
* LMI_DHCPSettingData
Diffs
-----
src/LMI_DHCPSettingDataProvider.c 6c3f2fc56d52395d6babe57ef3c1e350f188a157
src/CMakeLists.txt f0f1ea7f22e85298f69074aa7ce6a9c6c26eb38e
src/LMI_ExtendedStaticIPAssignmentSettingDataProvider.c c17b93921cc035352be7e733760d34a03f29a30a
src/LMI_IPAssignmentSettingDataProvider.c 96b70f67db210023e939dcfe2a20ba598802bc46
src/ipassignmentsettingdata.h PRE-CREATION
src/ipassignmentsettingdata.c PRE-CREATION
Diff: http://reviewboard-openlmi.rhcloud.com/r/244/diff/
Testing
-------
Thanks,
Radek Novacek
11 years
Review Request 245: openlmi-networking [2/6] New model for creating connections
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/245/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-networking
Description
-------
New model for creating connections
Now all network connections are created via LMI_CreateIPSetting method of
LMI_IPNetworkConnectionCapabilities. Modifications are done using ModifyInstance
method (will be part of subsequent commit) of the instances of
IPAssignmentSettingData (and subclasses).
Diffs
-----
mof/LMI_Networking.mof 3d82806e0b92a7fcba3b118f52f1f9144397173c
src/LMI_IPConfigurationServiceProvider.c 7e18d9474164812900bbe2f4e5a8785d3706517c
src/LMI_IPNetworkConnectionCapabilitiesProvider.c PRE-CREATION
src/LMI_IPNetworkConnectionElementCapabilitiesProvider.c PRE-CREATION
src/network_nm.c c5426362030ffd8f5735043861580bb77ba87a7e
Diff: http://reviewboard-openlmi.rhcloud.com/r/245/diff/
Testing
-------
Thanks,
Radek Novacek
11 years
Review Request 246: openlmi-networking [3/6] Renumber internal enums to match the schema
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/246/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-networking
Description
-------
Renumber internal enums to match the schema
Use same indexes for internal ConnectionType and SettingMethod enums as for
LMI_CreateIPSetting parameters and AddressOrigin properties.
Diffs
-----
src/LMI_DNSSettingDataProvider.c 21ce72a8de167f478cedc311c302a9860160eff1
src/LMI_OrderedIPAssignmentComponentProvider.c 1052cbc0a9703f987155f80eaace8ce5cb21b65d
src/connection_nm.c 64468ade5b3ea288229e3323de68f001962d6796
src/globals.h 362aa60a87ebdd628bddc9463408a078de20f81e
src/ref_factory.c 5eec08a7e9a6b9236185dc79ed35719520eac190
src/setting_nm.c ded22a421cf776ec6047c0a92c532791a14e57a7
Diff: http://reviewboard-openlmi.rhcloud.com/r/246/diff/
Testing
-------
Thanks,
Radek Novacek
11 years