|
|
|
|
|
|
|
|
|
|
xen-cim
RE: [Xen-cim] Xen_HostedComputerSystem and miscellanous patch
>So, will it be all right to
move similar patches to the other XenHostedXXXX files (like XenHostedDisk
etc)?
Yup
>What can we start working
on next?
Getting the second set of SettingData
would be good; ie the RecordedSettingData's and CurrentSettingData's for
the Virtual System and each of the virtual resources.
>Any comments on the Gap document?
Yup - working thru it today. Thnx for
putting that together. I had to put a bit in on a house yesterday afternoon
so I've been rather busy... :-)
- Gareth
Dr. Gareth S. Bestor
IBM Linux Technology Center
M/S DES2-01
15300 SW Koll Parkway, Beaverton, OR 97006
503-578-3186, T/L 775-3186, Fax 503-578-3186
"Subrahmanian, Raj"
<raj.subrahmanian@xxxxxxxxxx>
05/18/2006 04:57 AM
|
To
| Gareth S Bestor/Beaverton/IBM@IBMUS,
<xen-cim@xxxxxxxxxxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [Xen-cim] Xen_HostedComputerSystem
and miscellanous patch |
|
Gareth,
So, will it be all right to move
similar patches to the other XenHostedXXXX files (like XenHostedDisk etc)?
What can we start working on next?
Any comments on the Gap document?
thanks
Raj
From: Gareth S Bestor [mailto:bestor@xxxxxxxxxx]
Sent: Thursday, May 18, 2006 1:36 AM
To: Subrahmanian, Raj; xen-cim@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-cim] Xen_HostedComputerSystem and miscellanous patch
All these patches are appropriate, and great! Thanks!!
- Changes Xen_HostedComputerSystem.c to
- Decide the targetclass
by using CMClassNameIsA rather than strcmp
Yup - this is the correct approach. I must confess that Xen_HostedComputerSystem
was one of the first associations I coded up (quickly)
and I did the class comparison the quick-and-dirty strcmp way [well, OK,
I did know *precisely* the target classname that our in-house mgmt app
would be using, so I guess it wasnt THAT dirty...]. Some of the later association
providers do the classname check correctly, as above.
Jim - Can you/are you committing these patches? If you recall, I can only
commit patches coming from IBM...
- Gareth
Dr. Gareth S. Bestor
IBM Linux Technology Center
M/S DES2-01
15300 SW Koll Parkway, Beaverton, OR 97006
503-578-3186, T/L 775-3186, Fax 503-578-3186
"Subrahmanian, Raj"
<raj.subrahmanian@xxxxxxxxxx>
Sent by: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
05/17/2006 01:34 PM
|
To
| <xen-cim@xxxxxxxxxxxxxxxxxxx>,
"Jim Fehlig" <jfehlig@xxxxxxxxxx>
|
cc
|
|
Subject
| [Xen-cim] Xen_HostedComputerSystem and
miscellanous patch |
|
This patch contains the following changes
- Changes Xen_ComputerSystem.mof to inherit from CIM_ComputerSystem
rather than CIM_VirtualComputerSystem
- Changes Xen_HostedComputerSystem.mof to make the antecedent
CIM_ComputerSystem, rather than Linux_ComputerSystem
- Changes Xen_HostedComputerSystem.c to
- Decide the targetclass
by using CMClassNameIsA rather than
strcmp
- Eliminate the
Xen_ComputerSystem from the classes returned
from the CIMOM. I did this by returning only those classes that do not
match the source class rather than returning the class that exactly
match the target class
Raj
_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
|
|
|
|
|