
Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1194024510 25200 # Node ID d48584b1c90c499dea3940c1718ef0e97ae5ef9e # Parent 854d848bae0b56420e483ac7522775b6b3080aaa Fix enum_domains() to generate a correct ObjectPath for returned Instances
This fixes the fact that HostedDependency is returning ComputerSystem instances with the wrong class name.
- Modified enum_domains() to take a namespace instead of an object path and actually create the correct OP for the instances - Removed an unnecessary parameter from instance_from_dom()
Nice fix - HostedDependency now returns a correctly formatted Xen_ComputerSystem instance on my system. And good catch on the extra param for instance_from_dom(). +1 -- Kaitlin Rupert IBM Linux Technology Center karupert@us.ibm.com