[PATCH] Updated Copyright Statements and common schema look and feel

# HG changeset patch # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> # Date 1194867556 -3600 # Node ID 20b83bfd514faa824c5565cdf8703ada146e9e56 # Parent be03306b6557177c68d4fb936cd8e38a234daff7 Updated Copyright Statements and common schema look and feel Signed-off-by: Heidi Eckhart <heidieck@linux.vnet.ibm.com> diff -r be03306b6557 -r 20b83bfd514f schema/AllocationCapabilities.mof --- a/schema/AllocationCapabilities.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/AllocationCapabilities.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,5 @@ // Copyright IBM Corp. 2007 + class Xen_AllocationCapabilities : CIM_AllocationCapabilities { }; diff -r be03306b6557 -r 20b83bfd514f schema/AllocationCapabilities.registration --- a/schema/AllocationCapabilities.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/AllocationCapabilities.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_AllocationCapabilities root/virt Virt_AllocationCapabilitiesProvider Virt_AllocationCapabilities instance KVM_AllocationCapabilities root/virt Virt_AllocationCapabilitiesProvider Virt_AllocationCapabilities instance diff -r be03306b6557 -r 20b83bfd514f schema/ComputerSystem.mof --- a/schema/ComputerSystem.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ComputerSystem.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,35 +1,26 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_ComputerSystem -// ================================================================== [Description ( "A class derived from CIM_ComputerSystem to represent " - "the Xen virtual machines/domains running on the system.")] + "the Xen virtual machines/domains running on the system.") +] class Xen_ComputerSystem : CIM_ComputerSystem { + [Description("UUID assigned to this DomU.")] string UUID; - [Description("Change domain state")] - uint32 RequestStateChange( - uint16 RequestedState, - datetime TimeoutPeriod - ); - }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_ComputerSystem -// ================================================================== [Description ( "A class derived from CIM_ComputerSystem to represent " - "the KVM virtual machines running on the system.")] + "the KVM virtual machines running on the system.") +] class KVM_ComputerSystem : CIM_ComputerSystem { + [Description("UUID assigned to this virtual machine.")] string UUID; + }; diff -r be03306b6557 -r 20b83bfd514f schema/ComputerSystem.registration --- a/schema/ComputerSystem.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ComputerSystem.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ComputerSystem root/virt Virt_ComputerSystemProvider Virt_ComputerSystem instance method -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_ComputerSystem root/virt Virt_ComputerSystemProvider Virt_ComputerSystem instance diff -r be03306b6557 -r 20b83bfd514f schema/ComputerSystemIndication.mof --- a/schema/ComputerSystemIndication.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ComputerSystemIndication.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,5 @@ // Copyright IBM Corp. 2007 + [Description ("Xen_ComputerSystem created")] class Xen_ComputerSystemCreatedIndication : CIM_InstCreation { @@ -9,7 +10,6 @@ class Xen_ComputerSystemDeletedIndicatio { }; - [Description ("KVM_ComputerSystem lifecycle")] class KVM_ComputerSystemCreatedIndication : CIM_InstCreation { diff -r be03306b6557 -r 20b83bfd514f schema/ComputerSystemIndication.registration --- a/schema/ComputerSystemIndication.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ComputerSystemIndication.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,5 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ComputerSystemCreatedIndication root/virt Virt_ComputerSystemIndicationProvider Virt_ComputerSystemIndication indication method Xen_ComputerSystemDeletedIndication root/virt Virt_ComputerSystemIndicationProvider Virt_ComputerSystemIndication indication method KVM_ComputerSystemCreatedIndication root/virt Virt_ComputerSystemIndicationProvider Virt_ComputerSystemIndication indication method diff -r be03306b6557 -r 20b83bfd514f schema/DiskPool.mof --- a/schema/DiskPool.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/DiskPool.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,6 +1,9 @@ class Xen_DiskPool : CIM_ResourcePool +// Copyright IBM Corp. 2007 + class Xen_DiskPool : CIM_ResourcePool { }; + class KVM_DiskPool : CIM_ResourcePool { }; diff -r be03306b6557 -r 20b83bfd514f schema/DiskPool.registration --- a/schema/DiskPool.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/DiskPool.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,2 +1,4 @@ Xen_DiskPool root/virt Virt_DevicePoolPr +# Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_DiskPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance KVM_DiskPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance diff -r be03306b6557 -r 20b83bfd514f schema/ElementAllocatedFromPool.mof --- a/schema/ElementAllocatedFromPool.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ElementAllocatedFromPool.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,7 +1,11 @@ // Copyright IBM Corp. 2007 + [Association] -class Xen_ElementAllocatedFromPool : CIM_ElementAllocatedFromPool { +class Xen_ElementAllocatedFromPool : CIM_ElementAllocatedFromPool +{ }; + [Association] -class KVM_ElementAllocatedFromPool : CIM_ElementAllocatedFromPool { +class KVM_ElementAllocatedFromPool : CIM_ElementAllocatedFromPool +{ }; diff -r be03306b6557 -r 20b83bfd514f schema/ElementAllocatedFromPool.registration --- a/schema/ElementAllocatedFromPool.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ElementAllocatedFromPool.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ElementAllocatedFromPool root/virt Xen_ElementAllocatedFromPoolProvider Virt_ElementAllocatedFromPool association -KVM_ElementAllocatedFromPool root/virt KVM_ElementAllocatedFromPoolProvider Virt_ElementAllocatedFromPool association \ No newline at end of file +KVM_ElementAllocatedFromPool root/virt KVM_ElementAllocatedFromPoolProvider Virt_ElementAllocatedFromPool association diff -r be03306b6557 -r 20b83bfd514f schema/ElementCapabilities.mof --- a/schema/ElementCapabilities.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ElementCapabilities.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_ElementCapabilities -// ================================================================== [Association, Description ( - "A class to associate a ManagedElement with its Capabilities." -)] + "A class to associate a ManagedElement with its Capabilities.") +] class Xen_ElementCapabilities : CIM_ElementCapabilities { }; -// ================================================================== -// KVM_ElementCapabilities -// ================================================================== [Association, Description ( - "A class to associate a ManagedElement with its Capabilities." -)] + "A class to associate a ManagedElement with its Capabilities.") +] class KVM_ElementCapabilities : CIM_ElementCapabilities { }; diff -r be03306b6557 -r 20b83bfd514f schema/ElementCapabilities.registration --- a/schema/ElementCapabilities.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ElementCapabilities.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ElementCapabilities root/virt Xen_ElementCapabilitiesProvider Virt_ElementCapabilities association KVM_ElementCapabilities root/virt KVM_ElementCapabilitiesProvider Virt_ElementCapabilities association diff -r be03306b6557 -r 20b83bfd514f schema/ElementConformsToProfile.mof --- a/schema/ElementConformsToProfile.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ElementConformsToProfile.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_ElementConformsToProfile -// ================================================================== [Association, Description ( - "A class to associate a ManagedElement with its RegisteredProfile." -)] + "A class to associate a ManagedElement with its RegisteredProfile.") +] class Xen_ElementConformsToProfile : CIM_ElementConformsToProfile { }; -// ================================================================== -// KVM_ElementConformsToProfile -// ================================================================== [Association, Description ( - "A class to associate a ManagedElement with its RegisteredProfile." -)] + "A class to associate a ManagedElement with its RegisteredProfile.") +] class KVM_ElementConformsToProfile : CIM_ElementConformsToProfile { }; diff -r be03306b6557 -r 20b83bfd514f schema/ElementConformsToProfile.registration --- a/schema/ElementConformsToProfile.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ElementConformsToProfile.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,7 +1,6 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes #Xen_ElementConformsToProfile root/virt Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile association Xen_ElementConformsToProfile root/interop Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile association -# Classname Namespace ProviderName ProviderModule ProviderTypes ... #KVM_ElementConformsToProfile root/virt Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile association KVM_ElementConformsToProfile root/interop Virt_ElementConformsToProfileProvider Virt_ElementConformsToProfile association diff -r be03306b6557 -r 20b83bfd514f schema/EnabledLogicalElementCapabilities.mof --- a/schema/EnabledLogicalElementCapabilities.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/EnabledLogicalElementCapabilities.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_EnabledLogicalElementCapabilities -// ================================================================== [Description ( "A class derived from CIM_Capabilities to represent " - "the changes that can be made to a started Xen virtual system")] + "the changes that can be made to a started Xen virtual system") +] class Xen_EnabledLogicalElementCapabilities : CIM_EnabledLogicalElementCapabilities { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_EnabledLogicalElementCapabilities -// ================================================================== [Description ( "A class derived from CIM_Capabilities to represent " - "the changes that can be made to a started KVM virtual system")] + "the changes that can be made to a started KVM virtual system") +] class KVM_EnabledLogicalElementCapabilities : CIM_EnabledLogicalElementCapabilities { }; diff -r be03306b6557 -r 20b83bfd514f schema/EnabledLogicalElementCapabilities.registration --- a/schema/EnabledLogicalElementCapabilities.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/EnabledLogicalElementCapabilities.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_EnabledLogicalElementCapabilities root/virt Virt_EnabledLogicalElementCapabilitiesProvider Virt_EnabledLogicalElementCapabilities instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_EnabledLogicalElementCapabilities root/virt Virt_EnabledLogicalElementCapabilitiesProvider Virt_EnabledLogicalElementCapabilities instance diff -r be03306b6557 -r 20b83bfd514f schema/HostSystem.mof --- a/schema/HostSystem.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostSystem.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_HostSystem -// ================================================================== [Description ( "A class derived from CIM_ComputerSystem to represent " - "the Xen host system")] + "the Xen host system.") +] class Xen_HostSystem : CIM_ComputerSystem { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_HostSystem -// ================================================================== [Description ( "A class derived from CIM_ComputerSystem to represent " - "the KVM host system.")] + "the KVM host system.") +] class KVM_HostSystem : CIM_ComputerSystem { }; diff -r be03306b6557 -r 20b83bfd514f schema/HostSystem.registration --- a/schema/HostSystem.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostSystem.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_HostSystem root/virt Virt_HostSystemProvider Virt_HostSystem instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_HostSystem root/virt Virt_HostSystemProvider Virt_HostSystem instance diff -r be03306b6557 -r 20b83bfd514f schema/HostedDependency.mof --- a/schema/HostedDependency.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostedDependency.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,19 +1,19 @@ // Copyright IBM Corp. 2007 -// ================================================================== -// Xen_HostedDependency -// ================================================================== - [Association, Version ( "2.8.0" ), - UMLPackagePath ( "CIM::Core::CoreElements" ), Description ( - "HostedDependency defines a ManagedElement in the context of " - "another ManagedElement in which it resides.")] -class Xen_HostedDependency : CIM_HostedDependency { -}; -// ================================================================== -// KVM_HostedDependency -// ================================================================== - [Association, Version ( "2.8.0" ), - UMLPackagePath ( "CIM::Core::CoreElements" ), Description ( - "HostedDependency defines a ManagedElement in the context of " - "another ManagedElement in which it resides.")] -class KVM_HostedDependency : CIM_HostedDependency { -}; + +[Association, + Description ( + "HostedDependency defines a ManagedElement in the context of " + "another ManagedElement in which it resides.") +] +class Xen_HostedDependency : CIM_HostedDependency +{ +}; + +[Association, + Description ( + "HostedDependency defines a ManagedElement in the context of " + "another ManagedElement in which it resides.") +] +class KVM_HostedDependency : CIM_HostedDependency +{ +}; diff -r be03306b6557 -r 20b83bfd514f schema/HostedDependency.registration --- a/schema/HostedDependency.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostedDependency.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_HostedDependency root/virt Virt_HostedDependencyProvider Virt_HostedDependency association -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_HostedDependency root/virt Virt_HostedDependencyProvider Virt_HostedDependency association diff -r be03306b6557 -r 20b83bfd514f schema/HostedResourcePool.mof --- a/schema/HostedResourcePool.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostedResourcePool.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,16 +1,17 @@ // Copyright IBM Corp. 2007 + [Association, Description ( - "Associates a host system to its resource pools" -)] + "Associates a host system to its resource pools") +] class Xen_HostedResourcePool : CIM_HostedResourcePool { }; [Association, Description ( - "Associates a host system to its resource pools" -)] + "Associates a host system to its resource pools") +] class KVM_HostedResourcePool : CIM_HostedResourcePool { }; \ No newline at end of file diff -r be03306b6557 -r 20b83bfd514f schema/HostedResourcePool.registration --- a/schema/HostedResourcePool.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostedResourcePool.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_HostedResourcePool root/virt Virt_HostedResourcePoolProvider Virt_HostedResourcePool association KVM_HostedResourcePool root/virt Virt_HostedResourcePoolProvider Virt_HostedResourcePool association \ No newline at end of file diff -r be03306b6557 -r 20b83bfd514f schema/HostedService.mof --- a/schema/HostedService.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostedService.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,6 +1,11 @@ // Copyright IBM Corp. 2007 -class Xen_HostedService : CIM_HostedService { + +[Association] +class Xen_HostedService : CIM_HostedService +{ }; -class KVM_HostedService : CIM_HostedService { +[Association] +class KVM_HostedService : CIM_HostedService +{ }; diff -r be03306b6557 -r 20b83bfd514f schema/HostedService.registration --- a/schema/HostedService.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/HostedService.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_HostedService root/virt Xen_HostedServiceProvider Virt_HostedService association KVM_HostedService root/virt KVM_HostedServiceProvider Virt_HostedService association diff -r be03306b6557 -r 20b83bfd514f schema/LogicalDisk.mof --- a/schema/LogicalDisk.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/LogicalDisk.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_LogicalDisk -// ================================================================== [Description ( "A class derived from CIM_LogicalDisk to represent " - "the Xen virtual disks on the system.")] + "the Xen virtual disks on the system.") +] class Xen_LogicalDisk : CIM_LogicalDisk { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_LogicalDisk -// ================================================================== [Description ( "A class derived from CIM_LogicalDisk to represent " - "the KVM virtual disks on the system.")] + "the KVM virtual disks on the system.") +] class KVM_LogicalDisk : CIM_LogicalDisk { }; diff -r be03306b6557 -r 20b83bfd514f schema/LogicalDisk.registration --- a/schema/LogicalDisk.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/LogicalDisk.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_LogicalDisk root/virt Virt_DeviceProvider Virt_Device instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_LogicalDisk root/virt Virt_DeviceProvider Virt_Device instance diff -r be03306b6557 -r 20b83bfd514f schema/Memory.mof --- a/schema/Memory.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/Memory.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,24 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// Xen_Memory -// ================================================================== +// Copyright IBM Corp. 2007 [Description ( "A class derived from CIM_Memory to represent " - "the Xen virtual memory.")] + "the Xen virtual memory.") +] class Xen_Memory : CIM_Memory { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_Memory -// ================================================================== [Description ( "A class derived from CIM_Memory to represent " - "the KVM virtual memory.")] + "the KVM virtual memory.") +] class KVM_Memory : CIM_Memory { }; diff -r be03306b6557 -r 20b83bfd514f schema/Memory.registration --- a/schema/Memory.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/Memory.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_Memory root/virt Virt_DeviceProvider Virt_Device instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_Memory root/virt Virt_DeviceProvider Virt_Device instance diff -r be03306b6557 -r 20b83bfd514f schema/MemoryPool.mof --- a/schema/MemoryPool.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/MemoryPool.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,17 +1,9 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_MemoryPool -// ================================================================== class Xen_MemoryPool : CIM_ResourcePool { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_MemoryPool -// ================================================================== class KVM_MemoryPool : CIM_ResourcePool { }; diff -r be03306b6557 -r 20b83bfd514f schema/MemoryPool.registration --- a/schema/MemoryPool.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/MemoryPool.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_MemoryPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_MemoryPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance diff -r be03306b6557 -r 20b83bfd514f schema/NetPool.mof --- a/schema/NetPool.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/NetPool.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,7 +1,9 @@ // Copyright IBM Corp. 2007 + class Xen_NetworkPool : CIM_ResourcePool { }; + class KVM_NetworkPool : CIM_ResourcePool { }; diff -r be03306b6557 -r 20b83bfd514f schema/NetPool.registration --- a/schema/NetPool.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/NetPool.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_NetworkPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance KVM_NetworkPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance \ No newline at end of file diff -r be03306b6557 -r 20b83bfd514f schema/NetworkPort.mof --- a/schema/NetworkPort.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/NetworkPort.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_NetworkPort -// ================================================================== [Description ( "A class derived from CIM_NetworkPort to represent " - "the Xen virtual network interfaces on the system.")] + "the Xen virtual network interfaces on the system.") +] class Xen_NetworkPort : CIM_NetworkPort { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_NetworkPort -// ================================================================== [Description ( "A class derived from CIM_NetworkPort to represent " - "the KVM virtual network interfaces on the system.")] + "the KVM virtual network interfaces on the system.") +] class KVM_NetworkPort : CIM_NetworkPort { }; diff -r be03306b6557 -r 20b83bfd514f schema/NetworkPort.registration --- a/schema/NetworkPort.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/NetworkPort.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_NetworkPort root/virt Virt_DeviceProvider Virt_Device instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_NetworkPort root/virt Virt_DeviceProvider Virt_Device instance diff -r be03306b6557 -r 20b83bfd514f schema/Processor.mof --- a/schema/Processor.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/Processor.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_Processor -// ================================================================== [Description ( "A class derived from CIM_Processor to represent " - "the Xen virtual processors.")] + "the Xen virtual processors.") +] class Xen_Processor : CIM_Processor { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_Processor -// ================================================================== [Description ( "A class derived from CIM_Processor to represent " - "the KVM virtual processors.")] + "the KVM virtual processors.") +] class KVM_Processor : CIM_Processor { }; diff -r be03306b6557 -r 20b83bfd514f schema/Processor.registration --- a/schema/Processor.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/Processor.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_Processor root/virt Virt_DeviceProvider Virt_Device instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_Processor root/virt Virt_DeviceProvider Virt_Device instance diff -r be03306b6557 -r 20b83bfd514f schema/ProcessorPool.mof --- a/schema/ProcessorPool.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ProcessorPool.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,17 +1,9 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_ProcessorPool -// ================================================================== class Xen_ProcessorPool : CIM_ResourcePool { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_ProcessorPool -// ================================================================== class KVM_ProcessorPool : CIM_ResourcePool { }; diff -r be03306b6557 -r 20b83bfd514f schema/ProcessorPool.registration --- a/schema/ProcessorPool.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ProcessorPool.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ProcessorPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_ProcessorPool root/virt Virt_DevicePoolProvider Virt_DevicePool instance diff -r be03306b6557 -r 20b83bfd514f schema/RegisteredProfile.mof --- a/schema/RegisteredProfile.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/RegisteredProfile.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,21 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_RegisteredProfile -// ================================================================== [Description ( "A class derived from CIM_RegisteredProfile to represent " - "an advertised conformant profile.")] + "an advertised conformant profile.") +] class Xen_RegisteredProfile : CIM_RegisteredProfile { }; -// ================================================================== -// KVM_RegisteredProfile -// ================================================================== [Description ( "A class derived from CIM_RegisteredProfile to represent " - "an advertised conformant profile.")] + "an advertised conformant profile.") +] class KVM_RegisteredProfile : CIM_RegisteredProfile { }; diff -r be03306b6557 -r 20b83bfd514f schema/RegisteredProfile.registration --- a/schema/RegisteredProfile.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/RegisteredProfile.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_RegisteredProfile root/interop Virt_RegisteredProfileProvider Virt_RegisteredProfile instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_RegisteredProfile root/interop Virt_RegisteredProfileProvider Virt_RegisteredProfile instance diff -r be03306b6557 -r 20b83bfd514f schema/ResourceAllocationFromPool.mof --- a/schema/ResourceAllocationFromPool.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourceAllocationFromPool.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,6 +1,11 @@ // Copyright IBM Corp. 2007 -class Xen_ResourceAllocationFromPool : CIM_ResourceAllocationFromPool { + +[Association] +class Xen_ResourceAllocationFromPool : CIM_ResourceAllocationFromPool +{ }; -class KVM_ResourceAllocationFromPool : CIM_ResourceAllocationFromPool { +[Association] +class KVM_ResourceAllocationFromPool : CIM_ResourceAllocationFromPool +{ }; diff -r be03306b6557 -r 20b83bfd514f schema/ResourceAllocationFromPool.registration --- a/schema/ResourceAllocationFromPool.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourceAllocationFromPool.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ResourceAllocationFromPool root/virt Xen_ResourceAllocationFromPoolProvider Virt_ResourceAllocationFromPool association KVM_ResourceAllocationFromPool root/virt KVM_ResourceAllocationFromPoolProvider Virt_ResourceAllocationFromPool association \ No newline at end of file diff -r be03306b6557 -r 20b83bfd514f schema/ResourceAllocationSettingData.mof --- a/schema/ResourceAllocationSettingData.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourceAllocationSettingData.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,14 +1,16 @@ // Copyright IBM Corp. 2007 -class Xen_ResourceAllocationSettingData : CIM_ResourceAllocationSettingData { +class Xen_ResourceAllocationSettingData : CIM_ResourceAllocationSettingData +{ }; -class KVM_ResourceAllocationSettingData : CIM_ResourceAllocationSettingData { - +class KVM_ResourceAllocationSettingData : CIM_ResourceAllocationSettingData +{ }; [Description ("Xen virtual disk configuration")] -class Xen_DiskResourceAllocationSettingData : Xen_ResourceAllocationSettingData{ +class Xen_DiskResourceAllocationSettingData : Xen_ResourceAllocationSettingData +{ [Description ("Device as seen by the guest")] string VirtualDevice; @@ -16,7 +18,8 @@ class Xen_DiskResourceAllocationSettingD }; [Description ("KVM virtual disk configuration")] -class KVM_DiskResourceAllocationSettingData : KVM_ResourceAllocationSettingData{ +class KVM_DiskResourceAllocationSettingData : KVM_ResourceAllocationSettingData +{ [Description ("Device as seen by the guest")] string VirtualDevice; @@ -24,7 +27,8 @@ class KVM_DiskResourceAllocationSettingD }; [Description ("Xen virtual network configuration")] -class Xen_NetResourceAllocationSettingData : Xen_ResourceAllocationSettingData { +class Xen_NetResourceAllocationSettingData : Xen_ResourceAllocationSettingData +{ [Description ("Interface type")] string NetworkType; @@ -32,7 +36,8 @@ class Xen_NetResourceAllocationSettingDa }; [Description ("KVM virtual network configuration")] -class KVM_NetResourceAllocationSettingData : KVM_ResourceAllocationSettingData { +class KVM_NetResourceAllocationSettingData : KVM_ResourceAllocationSettingData +{ [Description ("Interface type")] string NetworkType; @@ -40,13 +45,21 @@ class KVM_NetResourceAllocationSettingDa }; [Description ("Xen virtual processor")] -class Xen_ProcResourceAllocationSettingData : Xen_ResourceAllocationSettingData {}; +class Xen_ProcResourceAllocationSettingData : Xen_ResourceAllocationSettingData +{ +}; [Description ("KVM virtual processor")] -class KVM_ProcResourceAllocationSettingData : KVM_ResourceAllocationSettingData {}; +class KVM_ProcResourceAllocationSettingData : KVM_ResourceAllocationSettingData +{ +}; [Description ("Xen virtual memory")] -class Xen_MemResourceAllocationSettingData : Xen_ResourceAllocationSettingData {}; +class Xen_MemResourceAllocationSettingData : Xen_ResourceAllocationSettingData +{ +}; [Description ("KVM virtual memory")] -class KVM_MemResourceAllocationSettingData : KVM_ResourceAllocationSettingData {}; +class KVM_MemResourceAllocationSettingData : KVM_ResourceAllocationSettingData +{ +}; diff -r be03306b6557 -r 20b83bfd514f schema/ResourceAllocationSettingData.registration --- a/schema/ResourceAllocationSettingData.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourceAllocationSettingData.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,5 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_DiskResourceAllocationSettingData root/virt Virt_RASDProvider Virt_RASD instance Xen_NetResourceAllocationSettingData root/virt Virt_RASDProvider Virt_RASD instance Xen_ProcResourceAllocationSettingData root/virt Virt_RASDProvider Virt_RASD instance diff -r be03306b6557 -r 20b83bfd514f schema/ResourcePoolConfigurationCapabilities.mof --- a/schema/ResourcePoolConfigurationCapabilities.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourcePoolConfigurationCapabilities.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,7 +1,9 @@ // Copyright IBM Corp. 2007 -class Xen_ResourcePoolConfigurationCapabilities : CIM_ResourcePoolConfigurationCapabilities { +class Xen_ResourcePoolConfigurationCapabilities : CIM_ResourcePoolConfigurationCapabilities +{ }; -class KVM_ResourcePoolConfigurationCapabilities : CIM_ResourcePoolConfigurationCapabilities { +class KVM_ResourcePoolConfigurationCapabilities : CIM_ResourcePoolConfigurationCapabilities +{ }; diff -r be03306b6557 -r 20b83bfd514f schema/ResourcePoolConfigurationCapabilities.registration --- a/schema/ResourcePoolConfigurationCapabilities.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourcePoolConfigurationCapabilities.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ResourcePoolConfigurationCapabilities root/virt Virt_ResourcePoolConfigurationCapabilitiesProvider Virt_ResourcePoolConfigurationCapabilities instance KVM_ResourcePoolConfigurationCapabilities root/virt Virt_ResourcePoolConfigurationCapabilitiesProvider Virt_ResourcePoolConfigurationCapabilities instance \ No newline at end of file diff -r be03306b6557 -r 20b83bfd514f schema/ResourcePoolConfigurationService.mof --- a/schema/ResourcePoolConfigurationService.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourcePoolConfigurationService.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,8 +1,9 @@ // Copyright IBM Corp. 2007 -class Xen_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService { +class Xen_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService +{ }; -class KVM_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService { - -}; \ No newline at end of file +class KVM_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService +{ +}; diff -r be03306b6557 -r 20b83bfd514f schema/ResourcePoolConfigurationService.registration --- a/schema/ResourcePoolConfigurationService.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/ResourcePoolConfigurationService.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_ResourcePoolConfigurationService root/virt Virt_ResourcePoolConfigurationServiceProvider Virt_ResourcePoolConfigurationService instance method KVM_ResourcePoolConfigurationService root/virt Virt_ResourcePoolConfigurationServiceProvider Virt_ResourcePoolConfigurationService instance method \ No newline at end of file diff -r be03306b6557 -r 20b83bfd514f schema/SettingsDefineCapabilities.mof --- a/schema/SettingsDefineCapabilities.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/SettingsDefineCapabilities.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,8 +1,11 @@ // Copyright IBM Corp. 2007 + +[Association] class Xen_SettingsDefineCapabilities : CIM_SettingsDefineCapabilities { }; +[Association] class KVM_SettingsDefineCapabilities : CIM_SettingsDefineCapabilities { }; diff -r be03306b6557 -r 20b83bfd514f schema/SettingsDefineCapabilities.registration --- a/schema/SettingsDefineCapabilities.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/SettingsDefineCapabilities.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... -Xen_SettingsDefineCapabilities root/virt Xen_SettingsDefineCapabilitiesProvider Virt_SettingsDefineCapabilities association -KVM_SettingsDefineCapabilities root/virt KVM_SettingsDefineCapabilitiesProvider Virt_SettingsDefineCapabilities association +# Classname Namespace ProviderName ProviderModule ProviderTypes +Xen_SettingsDefineCapabilities root/virt Xen_SettingsDefineCapabilitiesProvider Virt_SettingsDefineCapabilities association +KVM_SettingsDefineCapabilities root/virt KVM_SettingsDefineCapabilitiesProvider Virt_SettingsDefineCapabilities association diff -r be03306b6557 -r 20b83bfd514f schema/SettingsDefineState.mof --- a/schema/SettingsDefineState.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/SettingsDefineState.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,6 +1,11 @@ // Copyright IBM Corp. 2007 -class Xen_SettingsDefineState : CIM_SettingsDefineState { + +[Association] +class Xen_SettingsDefineState : CIM_SettingsDefineState +{ }; -class KVM_SettingsDefineState : CIM_SettingsDefineState { +[Association] +class KVM_SettingsDefineState : CIM_SettingsDefineState +{ }; \ No newline at end of file diff -r be03306b6557 -r 20b83bfd514f schema/SettingsDefineState.registration --- a/schema/SettingsDefineState.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/SettingsDefineState.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_SettingsDefineState root/virt Xen_SettingsDefineStateProvider Virt_SettingsDefineState association KVM_SettingsDefineState root/virt KVM_SettingsDefineStateProvider Virt_SettingsDefineState association diff -r be03306b6557 -r 20b83bfd514f schema/SystemDevice.mof --- a/schema/SystemDevice.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/SystemDevice.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,44 +1,32 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ******************************************************************* -// Associations -// ******************************************************************* - -// ================================================================== -// Xen_SystemDevice -// ================================================================== [Association, Description ( - "A class to associate a Xen_ComputerSystem with its devices" -)] + "A class to associate a Xen_ComputerSystem with its devices." ) +] class Xen_SystemDevice : CIM_SystemDevice { + [Override ( "GroupComponent" )] Xen_ComputerSystem REF GroupComponent; [Override ( "PartComponent" )] CIM_LogicalDevice REF PartComponent; + }; -// Copyright 2007 IBM. All rights reserved. - -// ******************************************************************* -// Associations -// ******************************************************************* - -// ================================================================== -// KVM_SystemDevice -// ================================================================== [Association, Description ( - "A class to associate a KVM_ComputerSystem with its devices" -)] + "A class to associate a KVM_ComputerSystem with its devices." ) +] class KVM_SystemDevice : CIM_SystemDevice { + [Override ( "GroupComponent" )] KVM_ComputerSystem REF GroupComponent; [Override ( "PartComponent" )] CIM_LogicalDevice REF PartComponent; + }; diff -r be03306b6557 -r 20b83bfd514f schema/SystemDevice.registration --- a/schema/SystemDevice.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/SystemDevice.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_SystemDevice root/virt Xen_SystemDeviceProvider Virt_SystemDevice association KVM_SystemDevice root/virt KVM_SystemDeviceProvider Virt_SystemDevice association diff -r be03306b6557 -r 20b83bfd514f schema/VSSD.mof --- a/schema/VSSD.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VSSD.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,16 +1,21 @@ // Copyright IBM Corp. 2007 + [Description ( "A class derived from CIM_VirtualSystemSettingData to represent " - "the config of Xen virtual machines/domains running on the system.")] + "the config of Xen virtual machines/domains running on the system.") +] class Xen_VirtualSystemSettingData : CIM_VirtualSystemSettingData { + string Bootloader; string BootloaderArgs; + }; [Description ( "A class derived from CIM_VirtualSystemSettingData to represent " - "the config of KVM virtual machines/domains running on the system.")] + "the config of KVM virtual machines/domains running on the system.") +] class KVM_VirtualSystemSettingData : CIM_VirtualSystemSettingData { }; diff -r be03306b6557 -r 20b83bfd514f schema/VSSD.registration --- a/schema/VSSD.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VSSD.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_VirtualSystemSettingData root/virt Virt_VSSDProvider Virt_VSSD instance KVM_VirtualSystemSettingData root/virt Virt_VSSDProvider Virt_VSSD instance diff -r be03306b6557 -r 20b83bfd514f schema/VSSDComponent.mof --- a/schema/VSSDComponent.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VSSDComponent.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,6 +1,11 @@ // Copyright IBM Corp. 2007 -class Xen_VirtualSystemSettingDataComponent : CIM_Component { + +[Association] +class Xen_VirtualSystemSettingDataComponent : CIM_Component +{ }; -class KVM_VirtualSystemSettingDataComponent : CIM_Component { +[Association] +class KVM_VirtualSystemSettingDataComponent : CIM_Component +{ }; diff -r be03306b6557 -r 20b83bfd514f schema/VSSDComponent.registration --- a/schema/VSSDComponent.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VSSDComponent.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,4 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_VirtualSystemSettingDataComponent root/virt Xen_VSSDComponentProvider Virt_VSSDComponent association KVM_VirtualSystemSettingDataComponent root/virt KVM_VSSDComponentProvider Virt_VSSDComponent association diff -r be03306b6557 -r 20b83bfd514f schema/VirtualSystemManagementCapabilities.mof --- a/schema/VirtualSystemManagementCapabilities.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VirtualSystemManagementCapabilities.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,23 +1,17 @@ -// Copyright 2007 IBM. All rights reserved. +// Copyright IBM Corp. 2007 -// ================================================================== -// Xen_VirtualSystemManagementCapabilities -// ================================================================== [Description ( "A class derived from CIM_Capabilities to represent " - "the management capabilities of a Xen virtual system")] + "the management capabilities of a Xen virtual system") +] class Xen_VirtualSystemManagementCapabilities : CIM_VirtualSystemManagementCapabilities { }; -// Copyright 2007 IBM. All rights reserved. - -// ================================================================== -// KVM_VirtualSystemManagementCapabilities -// ================================================================== [Description ( "A class derived from CIM_Capabilities to represent " - "the management capabilities of a KVM virtual system.")] + "the management capabilities of a KVM virtual system.") +] class KVM_VirtualSystemManagementCapabilities : CIM_VirtualSystemManagementCapabilities { }; diff -r be03306b6557 -r 20b83bfd514f schema/VirtualSystemManagementCapabilities.registration --- a/schema/VirtualSystemManagementCapabilities.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VirtualSystemManagementCapabilities.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,5 +1,4 @@ # Copyright IBM Corp. 2007 -# Classname Namespace ProviderName ProviderModule ProviderTypes ... +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_VirtualSystemManagementCapabilities root/virt Virt_VirtualSystemManagementCapabilitiesProvider Virt_VirtualSystemManagementCapabilities instance -# Classname Namespace ProviderName ProviderModule ProviderTypes ... KVM_VirtualSystemManagementCapabilities root/virt Virt_VirtualSystemManagementCapabilitiesProvider Virt_VirtualSystemManagementCapabilities instance diff -r be03306b6557 -r 20b83bfd514f schema/VirtualSystemManagementService.mof --- a/schema/VirtualSystemManagementService.mof Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VirtualSystemManagementService.mof Mon Nov 12 12:39:16 2007 +0100 @@ -1,6 +1,9 @@ // Copyright IBM Corp. 2007 -class Xen_VirtualSystemManagementService : CIM_VirtualSystemManagementService { + +class Xen_VirtualSystemManagementService : CIM_VirtualSystemManagementService +{ }; -class KVM_VirtualSystemManagementService : CIM_VirtualSystemManagementService { +class KVM_VirtualSystemManagementService : CIM_VirtualSystemManagementService +{ }; diff -r be03306b6557 -r 20b83bfd514f schema/VirtualSystemManagementService.registration --- a/schema/VirtualSystemManagementService.registration Mon Nov 12 12:16:21 2007 +0100 +++ b/schema/VirtualSystemManagementService.registration Mon Nov 12 12:39:16 2007 +0100 @@ -1,3 +1,4 @@ # Copyright IBM Corp. 2007 +# Classname Namespace ProviderName ProviderModule ProviderTypes Xen_VirtualSystemManagementService root/virt Virt_VirtualSystemManagementService Virt_VirtualSystemManagementService method instance KVM_VirtualSystemManagementService root/virt Virt_VirtualSystemManagementService Virt_VirtualSystemManagementService method instance

I had to resend the patch as I forgot to take care of the new HostedService association in the first one. -- Regards Heidi Eckhart Software Engineer Linux Technology Center - Open Hypervisor heidieck@linux.vnet.ibm.com ************************************************** IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschaeftsfuehrung: Herbert Kircher Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294

HE> # HG changeset patch HE> # User Heidi Eckhart <heidieck@linux.vnet.ibm.com> HE> # Date 1194867556 -3600 HE> # Node ID 20b83bfd514faa824c5565cdf8703ada146e9e56 HE> # Parent be03306b6557177c68d4fb936cd8e38a234daff7 HE> Updated Copyright Statements and common schema look and feel This doesn't apply cleanly for me. It rejects the entire HostedDependency.mof file. Can you check to make sure this applies cleanly against the up-to-date tree? Thanks! -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

Dan Smith wrote:
This doesn't apply cleanly for me. It rejects the entire HostedDependency.mof file. Can you check to make sure this applies cleanly against the up-to-date tree?
Mhh, applied the patch against the up-to-date tree (clean check out some minutes ago) without any rejects. But I can imagine that I introduced an ordering problem, as I created the "Register association ElementCapabilities to root/virt namespace" patch before this one. Maybe this was causing some problems ? [heidineu@localhost libvirt-cim]$ hg log -l 2 changeset: 58:146a93bf2b92 branch: default tag: tip user: Kaitlin Rupert <karupert@us.ibm.com> date: Mon Nov 12 17:53:00 2007 -0800 summary: This fixes a potential crash if _get_domain() is unable to properly parse the dom XML. changeset: 57:c3aebc961483 user: Dan Smith <danms@us.ibm.com> date: Mon Nov 12 14:08:35 2007 -0800 summary: Fix crash if create_system() returns a NULL instance -- Regards Heidi Eckhart Software Engineer Linux Technology Center - Open Hypervisor heidieck@linux.vnet.ibm.com ************************************************** IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschaeftsfuehrung: Herbert Kircher Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294

HE> Mhh, applied the patch against the up-to-date tree (clean check HE> out some minutes ago) without any rejects. I looked into it, and the HostedDependency.mof file in the repo was CRLF terminated, but your patch was not. Maybe the act of emailing it stripped those off. Either way, I commited a little changeset to strip the CR's off the end of that mof before I committed your patch and it went fine. Thanks! -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com

Dan Smith wrote:
HE> Mhh, applied the patch against the up-to-date tree (clean check HE> out some minutes ago) without any rejects.
I looked into it, and the HostedDependency.mof file in the repo was CRLF terminated, but your patch was not. Maybe the act of emailing it stripped those off.
Either way, I commited a little changeset to strip the CR's off the end of that mof before I committed your patch and it went fine.
Thanks!
Thanks :) -- Regards Heidi Eckhart Software Engineer Linux Technology Center - Open Hypervisor heidieck@linux.vnet.ibm.com ************************************************** IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschaeftsfuehrung: Herbert Kircher Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294
participants (2)
-
Dan Smith
-
Heidi Eckhart