Got it. BTW, the moniker for Hyper-V is most annoying. If only it were 'HyperV' and not 'Hyperv', grep would be so much more helpful.
> -----Original Message----- > From: Jessica Wang > Sent: 25 January 2013 22:15 > To: Pranav Saxena; cloudstack-dev@incubator.apache.org > Cc: Brian Federle; Donal Lafferty > Subject: RE: Updating Register Template UI > > Right. > > -----Original Message----- > From: Pranav Saxena > Sent: Friday, January 25, 2013 12:26 PM > To: cloudstack-dev@incubator.apache.org; Jessica Wang > Cc: Brian Federle; Donal Lafferty > Subject: RE: Updating Register Template UI > > 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:brian.fede...@citrix.com] > Sent: Saturday, January 26, 2013 1:06 AM > To: cloudstack-dev@incubator.apache.org; 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" <donal.laffe...@citrix.com> > 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