I think , the UI code needs to be updated here . Currently the type of image
formats are hardcoded based on the hypervisor types as shown below -
if(args.hypervisor == "XenServer") {
items.push({id:'VHD', description: 'VHD'});
}
Once the format type is passed to the API call then the API logic would take it
further . So Donal , in your case , I believe, you are probably asking with
reference to Hyper-V in mind , you would need to update the UI code or one of
us can do it for you.
Regards,
Pranav
-----Original Message-----
From: Brian Federle [mailto:[email protected]]
Sent: Saturday, January 26, 2013 1:06 AM
To: [email protected]; Jessica Wang
Subject: Re: Updating Register Template UI
I believe this would have to be added in the API so that the vhdx file type
would appear in the drop down. I don't think any frontend JS code would need to
be modified. Jessica, can you confirm this?
On Jan 25, 2013, at 10:03 AM, "Donal Lafferty" <[email protected]>
wrote:
> I'd like to add a vhdx image type to the Register template UI.
>
> Is anyone familiar with what this would involve?
>
> E.g. do I need to update a UI, or are RegisterTemplate settings built from
> the database, or do they come from an enum.
>
>
> DL