1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

B #3520: Add NIC field to Template schema in GOCA (#3521)

This commit is contained in:
Eric Ripa 2019-09-24 14:56:36 +02:00 committed by Ruben S. Montero
parent 697efec1d2
commit 946439fac9

View File

@ -46,6 +46,7 @@ type TemplateTpl struct {
Memory int `xml:"MEMORY"`
Context *Context `xml:"CONTEXT"`
Disk []Disk `xml:"DISK"`
NIC []NIC `xml:"NIC"`
Graphics *Graphics `xml:"GRAPHICS"`
NICDefault *NicDefault `xml:"NIC_DEFAULT"`
OS *OS `xml:"OS"`
@ -61,6 +62,10 @@ type Disk struct {
Dynamic dyn.UnmatchedTagsSlice `xml:",any"`
}
type NIC struct {
Dynamic dyn.UnmatchedTagsSlice `xml:",any"`
}
type Graphics struct {
Dynamic dyn.UnmatchedTagsSlice `xml:",any"`
}