Bug 190386 - The /XMLRPC handler needs to, uh, handle having the UUID in a hardware profile
Summary: The /XMLRPC handler needs to, uh, handle having the UUID in a hardware profile
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Backend
Version: rhn420
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Pete Vetere
QA Contact: Brandon Perkins
URL:
Whiteboard:
Depends On:
Blocks: 189917
TreeView+ depends on / blocked
 
Reported: 2006-05-01 20:50 UTC by John Wregglesworth
Modified: 2007-04-18 17:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-14 15:28:24 UTC
Embargoed:


Attachments (Terms of Use)

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().


Note You need to log in before you can comment on or make changes to this bug.