
# HG changeset patch # User Richard Maciel <richardm@br.ibm.com> # Date 1228248506 7200 # Node ID d0e5e8ae4c243dd119f1d539c5cb258301891cee # Parent 21a9102b8eefde69aad9ec2dc0481db5f888ab96 Added ServiceAccessBySAP association (ConsoleRedirectionService <-> KVMRedirectionSAP) * Created mof and registration files * Changed Makefile to use newly created files Changes for submission #2 * Removed registration for CIMV2 in ServiceAccessBySAP.registration file Changes for submission #3 * Fixed indents in the Makefile.am Changes for submission #4 * Fixed all wrong indents in the Makefile.am Signed-off-by: Richard Maciel <richardm@br.ibm.com> diff -r 21a9102b8eef -r d0e5e8ae4c24 Makefile.am --- a/Makefile.am Thu Dec 04 20:15:50 2008 -0200 +++ b/Makefile.am Tue Dec 02 18:08:26 2008 -0200 @@ -4,47 +4,47 @@ SUBDIRS = libxkutil src doc base_schema MOFS = \ - schema/ComputerSystem.mof \ - schema/LogicalDisk.mof \ - schema/NetworkPort.mof \ - schema/Memory.mof \ - schema/Processor.mof \ - schema/SystemDevice.mof \ - schema/VSSD.mof \ - schema/HostSystem.mof \ - schema/HostedDependency.mof \ - schema/VirtualSystemManagementService.mof \ - schema/VirtualSystemManagementCapabilities.mof \ - schema/EnabledLogicalElementCapabilities.mof \ - schema/AllocationCapabilities.mof \ - schema/SettingsDefineCapabilities.mof \ - schema/MemoryPool.mof \ - schema/ElementCapabilities.mof \ - schema/ProcessorPool.mof \ - schema/DiskPool.mof \ - schema/HostedResourcePool.mof \ - schema/RegisteredProfile.mof \ - schema/ElementConformsToProfile.mof \ - schema/ComputerSystemIndication.mof \ - schema/ComputerSystemMigrationIndication.mof \ - schema/Virt_ResourceAllocationSettingData.mof \ - schema/ResourceAllocationSettingData.mof \ - schema/ResourcePoolConfigurationService.mof \ - schema/ResourcePoolConfigurationCapabilities.mof \ - schema/VSSDComponent.mof \ - schema/SettingsDefineState.mof \ - schema/NetPool.mof \ - schema/ResourceAllocationFromPool.mof \ - schema/ElementAllocatedFromPool.mof \ - schema/HostedService.mof \ - schema/ElementSettingData.mof \ - schema/VSMigrationCapabilities.mof \ - schema/VSMigrationService.mof \ - schema/VSMigrationSettingData.mof \ - schema/VirtualSystemSnapshotService.mof \ - schema/VirtualSystemSnapshotServiceCapabilities.mof \ - schema/ConcreteComponent.mof \ - schema/ConsoleRedirectionService.mof \ + schema/ComputerSystem.mof \ + schema/LogicalDisk.mof \ + schema/NetworkPort.mof \ + schema/Memory.mof \ + schema/Processor.mof \ + schema/SystemDevice.mof \ + schema/VSSD.mof \ + schema/HostSystem.mof \ + schema/HostedDependency.mof \ + schema/VirtualSystemManagementService.mof \ + schema/VirtualSystemManagementCapabilities.mof \ + schema/EnabledLogicalElementCapabilities.mof \ + schema/AllocationCapabilities.mof \ + schema/SettingsDefineCapabilities.mof \ + schema/MemoryPool.mof \ + schema/ElementCapabilities.mof \ + schema/ProcessorPool.mof \ + schema/DiskPool.mof \ + schema/HostedResourcePool.mof \ + schema/RegisteredProfile.mof \ + schema/ElementConformsToProfile.mof \ + schema/ComputerSystemIndication.mof \ + schema/ComputerSystemMigrationIndication.mof \ + schema/Virt_ResourceAllocationSettingData.mof \ + schema/ResourceAllocationSettingData.mof \ + schema/ResourcePoolConfigurationService.mof \ + schema/ResourcePoolConfigurationCapabilities.mof \ + schema/VSSDComponent.mof \ + schema/SettingsDefineState.mof \ + schema/NetPool.mof \ + schema/ResourceAllocationFromPool.mof \ + schema/ElementAllocatedFromPool.mof \ + schema/HostedService.mof \ + schema/ElementSettingData.mof \ + schema/VSMigrationCapabilities.mof \ + schema/VSMigrationService.mof \ + schema/VSMigrationSettingData.mof \ + schema/VirtualSystemSnapshotService.mof \ + schema/VirtualSystemSnapshotServiceCapabilities.mof \ + schema/ConcreteComponent.mof \ + schema/ConsoleRedirectionService.mof \ schema/ConsoleRedirectionServiceCapabilities.mof \ schema/ServiceAffectsElement.mof \ schema/KVMRedirectionSAP.mof \ @@ -52,70 +52,71 @@ schema/PointingDevice.mof \ schema/GraphicsPool.mof \ schema/InputPool.mof \ + schema/HostedAccessPoint.mof \ + schema/ServiceAccessBySAP.mof + +INTEROP_MOFS = \ + schema/ComputerSystem.mof \ + schema/HostSystem.mof \ + schema/RegisteredProfile.mof \ + schema/DiskPool.mof \ + schema/MemoryPool.mof \ + schema/NetPool.mof \ + schema/ProcessorPool.mof \ + schema/VSMigrationService.mof \ + schema/ElementConformsToProfile.mof \ + schema/ReferencedProfile.mof + +CIMV2_MOFS = \ + schema/HostedResourcePool.mof \ + schema/ElementCapabilities.mof \ + schema/HostedService.mof \ + schema/HostedDependency.mof \ + schema/RegisteredProfile.mof \ + schema/ComputerSystem.mof \ + schema/ElementConformsToProfile.mof \ schema/HostedAccessPoint.mof -INTEROP_MOFS = \ - schema/ComputerSystem.mof \ - schema/HostSystem.mof \ - schema/RegisteredProfile.mof \ - schema/DiskPool.mof \ - schema/MemoryPool.mof \ - schema/NetPool.mof \ - schema/ProcessorPool.mof \ - schema/VSMigrationService.mof \ - schema/ElementConformsToProfile.mof \ - schema/ReferencedProfile.mof - -CIMV2_MOFS = \ - schema/HostedResourcePool.mof \ - schema/ElementCapabilities.mof \ - schema/HostedService.mof \ - schema/HostedDependency.mof \ - schema/RegisteredProfile.mof \ - schema/ComputerSystem.mof \ - schema/ElementConformsToProfile.mof \ - schema/HostedAccessPoint.mof - REGS = \ - schema/ComputerSystem.registration \ - schema/LogicalDisk.registration \ - schema/NetworkPort.registration \ - schema/Memory.registration \ - schema/Processor.registration \ - schema/SystemDevice.registration \ - schema/VSSD.registration \ - schema/HostSystem.registration \ - schema/HostedDependency.registration \ - schema/VirtualSystemManagementService.registration \ - schema/VirtualSystemManagementCapabilities.registration \ - schema/EnabledLogicalElementCapabilities.registration \ - schema/AllocationCapabilities.registration \ - schema/SettingsDefineCapabilities.registration \ - schema/MemoryPool.registration \ - schema/ElementCapabilities.registration \ - schema/ProcessorPool.registration \ - schema/DiskPool.registration \ - schema/HostedResourcePool.registration \ - schema/ComputerSystemIndication.registration \ - schema/ComputerSystemMigrationIndication.registration \ - schema/ResourceAllocationSettingData.registration \ - schema/ResourcePoolConfigurationService.registration \ - schema/ResourcePoolConfigurationCapabilities.registration \ - schema/VSSDComponent.registration \ - schema/SettingsDefineState.registration \ - schema/NetPool.registration \ - schema/ResourceAllocationFromPool.registration \ - schema/ElementAllocatedFromPool.registration \ - schema/HostedService.registration \ - schema/ElementSettingData.registration \ - schema/VSMigrationCapabilities.registration \ - schema/VSMigrationService.registration \ - schema/ElementConformsToProfile.registration \ - schema/VSMigrationSettingData.registration \ - schema/VirtualSystemSnapshotService.registration \ - schema/VirtualSystemSnapshotServiceCapabilities.registration \ - schema/ConcreteComponent.registration \ - schema/ConsoleRedirectionService.registration \ + schema/ComputerSystem.registration \ + schema/LogicalDisk.registration \ + schema/NetworkPort.registration \ + schema/Memory.registration \ + schema/Processor.registration \ + schema/SystemDevice.registration \ + schema/VSSD.registration \ + schema/HostSystem.registration \ + schema/HostedDependency.registration \ + schema/VirtualSystemManagementService.registration \ + schema/VirtualSystemManagementCapabilities.registration \ + schema/EnabledLogicalElementCapabilities.registration \ + schema/AllocationCapabilities.registration \ + schema/SettingsDefineCapabilities.registration \ + schema/MemoryPool.registration \ + schema/ElementCapabilities.registration \ + schema/ProcessorPool.registration \ + schema/DiskPool.registration \ + schema/HostedResourcePool.registration \ + schema/ComputerSystemIndication.registration \ + schema/ComputerSystemMigrationIndication.registration \ + schema/ResourceAllocationSettingData.registration \ + schema/ResourcePoolConfigurationService.registration \ + schema/ResourcePoolConfigurationCapabilities.registration \ + schema/VSSDComponent.registration \ + schema/SettingsDefineState.registration \ + schema/NetPool.registration \ + schema/ResourceAllocationFromPool.registration \ + schema/ElementAllocatedFromPool.registration \ + schema/HostedService.registration \ + schema/ElementSettingData.registration \ + schema/VSMigrationCapabilities.registration \ + schema/VSMigrationService.registration \ + schema/ElementConformsToProfile.registration \ + schema/VSMigrationSettingData.registration \ + schema/VirtualSystemSnapshotService.registration \ + schema/VirtualSystemSnapshotServiceCapabilities.registration \ + schema/ConcreteComponent.registration \ + schema/ConsoleRedirectionService.registration \ schema/ConsoleRedirectionServiceCapabilities.registration \ schema/ServiceAffectsElement.registration \ schema/KVMRedirectionSAP.registration \ @@ -123,20 +124,21 @@ schema/PointingDevice.registration \ schema/GraphicsPool.registration \ schema/InputPool.registration \ - schema/HostedAccessPoint.registration + schema/HostedAccessPoint.registration \ + schema/ServiceAccessBySAP.registration INTEROP_REGS = \ - schema/RegisteredProfile.registration \ - schema/ElementConformsToProfile.registration \ - schema/ReferencedProfile.registration + schema/RegisteredProfile.registration \ + schema/ElementConformsToProfile.registration \ + schema/ReferencedProfile.registration CIMV2_REGS = \ - schema/HostedResourcePool.registration \ - schema/ElementCapabilities.registration \ - schema/HostedService.registration \ - schema/HostedDependency.registration \ - schema/ElementConformsToProfile.registration \ - schema/HostedAccessPoint.registration + schema/HostedResourcePool.registration \ + schema/ElementCapabilities.registration \ + schema/HostedService.registration \ + schema/HostedDependency.registration \ + schema/ElementConformsToProfile.registration \ + schema/HostedAccessPoint.registration pkgdata_DATA = $(MOFS) $(REGS) $(INTEROP_MOFS) $(INTEROP_REGS) pkgdata_SCRIPTS = provider-register.sh diff -r 21a9102b8eef -r d0e5e8ae4c24 schema/ServiceAccessBySAP.mof --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/ServiceAccessBySAP.mof Tue Dec 02 18:08:26 2008 -0200 @@ -0,0 +1,22 @@ +// Copyright IBM Corp. 2007 + +[Association, + Provider("cmpi::Virt_ServiceAccessBySAP") +] +class Xen_ServiceAccessBySAP : CIM_ServiceAccessBySAP +{ +}; + +[Association, + Provider("cmpi::Virt_ServiceAccessBySAP") +] +class KVM_ServiceAccessBySAP : CIM_ServiceAccessBySAP +{ +}; + +[Association, + Provider("cmpi::Virt_ServiceAccessBySAP") +] +class LXC_ServiceAccessBySAP : CIM_ServiceAccessBySAP +{ +}; diff -r 21a9102b8eef -r d0e5e8ae4c24 schema/ServiceAccessBySAP.registration --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/schema/ServiceAccessBySAP.registration Tue Dec 02 18:08:26 2008 -0200 @@ -0,0 +1,6 @@ +# Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes +Xen_ServiceAccessBySAP root/virt Virt_ServiceAccessBySAP Virt_ServiceAccessBySAP association +KVM_ServiceAccessBySAP root/virt Virt_ServiceAccessBySAP Virt_ServiceAccessBySAP association +LXC_ServiceAccessBySAP root/virt Virt_ServiceAccessBySAP Virt_ServiceAccessBySAP association +