Skip to content

Commit

Permalink
Add namespaces to VM extra config methods (#691)
Browse files Browse the repository at this point in the history
Signed-off-by: abarreiro <abarreiro@vmware.com>
  • Loading branch information
adambarreiro authored Jul 2, 2024
1 parent a180727 commit e415876
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .changes/v2.25.0/666-features.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* Added `VM` methods `GetExtraConfig`, `UpdateExtraConfig`, `DeleteExtraConfig` to manage VM extra-configuration [GH-666]
* Added `VM` methods `GetExtraConfig`, `UpdateExtraConfig`, `DeleteExtraConfig` to manage VM extra-configuration [GH-666, GH-691]
2 changes: 2 additions & 0 deletions govcd/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -2175,6 +2175,8 @@ func (vm *VM) updateExtraConfig(update []*types.ExtraConfigMarshal, wantDelete b
Ovf: types.XMLNamespaceOVF,
Rasd: types.XMLNamespaceRASD,
Vssd: types.XMLNamespaceVSSD,
Ns2: types.XMLNamespaceVCloud,
Ns3: types.XMLNamespaceVCloud,
Ns4: types.XMLNamespaceVCloud,
Vmw: types.XMLNamespaceVMW,
Xmlns: types.XMLNamespaceVCloud,
Expand Down
2 changes: 2 additions & 0 deletions types/v56/vm_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ type RequestVirtualHardwareSection struct {
Ovf string `xml:"xmlns:ovf,attr"`
Vssd string `xml:"xmlns:vssd,attr"`
Rasd string `xml:"xmlns:rasd,attr"`
Ns2 string `xml:"xmlns:ns2,attr"`
Ns3 string `xml:"xmlns:ns3,attr"`
Ns4 string `xml:"xmlns:ns4,attr"`
Vmw string `xml:"xmlns:vmw,attr"`

Expand Down

0 comments on commit e415876

Please sign in to comment.