Bug 190386

Summary: The /XMLRPC handler needs to, uh, handle having the UUID in a hardware profile
Product: [Retired] Red Hat Network Reporter: John Wregglesworth <wregglej>
Component: RHN/BackendAssignee: Pete Vetere <pvetere>
Status: CLOSED NOTABUG QA Contact: Brandon Perkins <bperkins>
Severity: medium Docs Contact:
Priority: medium    
Version: rhn420CC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-14 15:28:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 189917    

Description John Wregglesworth 2006-05-01 20:50:09 UTC
Description of problem: The server-side XMLRPC handler for up2date, located at
/XMLRPC, needs to be able to handle having a Xen UUID in the hardware profile.

After looking through the code, it looks like the following modification will
have to be made:

In backend/server/rhnServer/server_hardware.py
     * Add XenDevice class that subclasses Device.
     * XenDevice class should accept receiving the 'class' and 'uuid' fields.
     * Once a table is defined for the Xen stuff, it's name will have to be
passed into the Device class constructor.
     * Change add_hardware so it knows about the "xen" class of hardware and
makes class_type and instance of XenDevice.
     * Change reload_hardware_byid so it will load info about the Xen
"hardware". May have to add a special case to __load_from_db().