Issue Details (XML | Word | Printable)

Key: ABICLOUD-281
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Xavier Fernandez
Reporter: Albert Puig
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Abiquo

Any of the OVF packages on the public RemoteRepositorie (abispace on s3) have the icon properly set

Created: 21/Oct/09 12:43 PM   Updated: 21/Jul/10 11:25 AM
Component/s: Appliances Library
Affects Version/s: Abiquo-1.6.5
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
The icons are only defined on the OVFIndex (it was hardcoded there) but the OVF envelope document have no reference to the icon, to set it can do the follow:

on the top level virtual system, get its product section (these informations is used on OVFIndex) and set the fileRef attribute of the icon element as:
option1) the full path : fileRef="http://abispace.s3.amazonaws.com/ubuntu-9.04/ubuntu_logo.png"
option2) a package relative path : fileRef="icon" and then define a new File on the references section with the same id ("icon") and with attribute hRef="ubuntu_logo.png" (assuming these file is on the same package folder)


the option2 is more standard compliant.


Albert Puig added a comment - 21/Oct/09 01:06 PM
e.g for the option 2


        <ProductSection>

<Info>mw</Info>

            <Product>mw</Product>

            <Vendor>mw</Vendor>

            <Version>5.0</Version>

            <ProductUrl>http://www.abiquo.com/&lt;/ProductUrl>

            <Icon ovf:mimeType="image/jpeg" ovf:fileRef="icon"/>

        </ProductSection>



and the reference section as :

  <References>

        <File ovf:id="image_mw" ovf:href="AbiquoMW.vdi" ovf:size="111150592"/>

<File ovf:id="icon" ovf:href="icon.png" ovf:size="5646"/>

    </References>

the file 'icon.png' should be on the same folder as the OVF description

Albert Puig added a comment - 22/Oct/09 03:14 PM
revison 1241 make unnecessary this task (but is an ugly workaround: if the icon not found on OVF envelope document try to look at the ovfindex)

Diego Parrilla added a comment - 26/Nov/09 10:44 PM
Downgraded to minor: it does not affect the behaviour of the system