diff options
author | Jan Synacek <jsynacek@redhat.com> | 2013-07-25 15:12:35 +0200 |
---|---|---|
committer | Jan Synacek <jsynacek@redhat.com> | 2013-07-25 15:35:04 +0200 |
commit | ed078aa12fa4932bf915886d4c64eae6375d0172 (patch) | |
tree | e6e099fe7162b5570fbf879c9d0972c4f0f2a6b9 /src | |
parent | 5e4d1ea25b66830c428f00f6a9db3b650dcd1696 (diff) | |
download | openlmi-providers-ed078aa12fa4932bf915886d4c64eae6375d0172.tar.gz openlmi-providers-ed078aa12fa4932bf915886d4c64eae6375d0172.tar.xz openlmi-providers-ed078aa12fa4932bf915886d4c64eae6375d0172.zip |
logicalfile: add profile registration
Diffstat (limited to 'src')
-rw-r--r-- | src/logicalfile/90_LMI_LogicalFile_Profile.mof.skel | 20 | ||||
-rw-r--r-- | src/logicalfile/CMakeLists.txt | 4 |
2 files changed, 24 insertions, 0 deletions
diff --git a/src/logicalfile/90_LMI_LogicalFile_Profile.mof.skel b/src/logicalfile/90_LMI_LogicalFile_Profile.mof.skel new file mode 100644 index 0000000..4ea42e0 --- /dev/null +++ b/src/logicalfile/90_LMI_LogicalFile_Profile.mof.skel @@ -0,0 +1,20 @@ +instance of PG_ProviderProfileCapabilities +{ + CapabilityID = "@CLASS@"; + + ProviderModuleName = "cmpiLMI_LogicalFile"; + + ProviderName = "@CLASS@"; + + RegisteredProfile = 0; + + OtherRegisteredProfile = "OpenLMI-LogicalFile"; + OtherProfileOrganization = "OpenLMI"; + + ProfileVersion = "@VERSION@"; + + ConformingElements = { + "@CLASS@" + }; +}; + diff --git a/src/logicalfile/CMakeLists.txt b/src/logicalfile/CMakeLists.txt index d770080..3a09a4a 100644 --- a/src/logicalfile/CMakeLists.txt +++ b/src/logicalfile/CMakeLists.txt @@ -35,5 +35,9 @@ target_link_libraries(${LIBRARY_NAME} openlmicommon # Create registration file cim_registration(${PROVIDER_NAME} ${LIBRARY_NAME} ${MOF} share/openlmi-providers) +set(TARGET_MOF "${CMAKE_BINARY_DIR}/mof/90_LMI_LogicalFile_Profile.mof") +profile_mof_generate("90_LMI_LogicalFile_Profile.mof.skel" "${TARGET_MOF}" "${CIM_CLASSES}") + install(TARGETS ${LIBRARY_NAME} DESTINATION lib${LIB_SUFFIX}/cmpi) install(PROGRAMS ${CIMPROVAGT_SCRIPT} DESTINATION libexec/pegasus) +install(FILES ${TARGET_MOF} DESTINATION share/openlmi-providers/) |