Re: [pve-devel] [PATCH storage 7/9] ovf: implement parsing nics

2024-04-18 Thread Fiona Ebner
Am 16.04.24 um 15:19 schrieb Dominik Csapak: > @@ -355,9 +361,21 @@ ovf:Item[rasd:InstanceID='%s']/rasd:ResourceType", > $controller_id); > > $qm->{boot} = "order=" . join(';', @$boot); > > +my $nic_id = dtmf_name_to_id('Ethernet Adapter'); > +my $xpath_find_nics = > "/ovf:Envelo

Re: [pve-devel] [PATCH storage 7/9] ovf: implement parsing nics

2024-04-17 Thread Dominik Csapak
On 4/17/24 14:09, Fiona Ebner wrote: Am 16.04.24 um 15:19 schrieb Dominik Csapak: by iterating over the relevant parts and trying to parse out the 'ResourceSubType'. The content of that is not standardized, but I only ever found examples that are compatible with vmware, meaning it's either 'e100

Re: [pve-devel] [PATCH storage 7/9] ovf: implement parsing nics

2024-04-17 Thread Fiona Ebner
Am 16.04.24 um 15:19 schrieb Dominik Csapak: > by iterating over the relevant parts and trying to parse out the > 'ResourceSubType'. The content of that is not standardized, but I only > ever found examples that are compatible with vmware, meaning it's > either 'e1000', 'e1000e' or 'vmxnet3' (in va

[pve-devel] [PATCH storage 7/9] ovf: implement parsing nics

2024-04-16 Thread Dominik Csapak
by iterating over the relevant parts and trying to parse out the 'ResourceSubType'. The content of that is not standardized, but I only ever found examples that are compatible with vmware, meaning it's either 'e1000', 'e1000e' or 'vmxnet3' (in various capitalizations; thus the `lc()`) As a fallbac