Adjust the Interface struct domain api schema
Additional attributes are needed to make the Interface struct representation
more complete.
Adding TrustGuestRxFilters as an attribute.
Add missing Mode to the InterfaceSource
@@ -313,6 +313,7 @@ type ConsoleSource struct {
type Interface struct {
Address *Address `xml:"address,omitempty"`
Type string `xml:"type,attr"`
+ TrustGuestRxFilters string `xml:"trustGuestRxFilters,attr,omitempty"`
Source InterfaceSource `xml:"source"`
Target *InterfaceTarget `xml:"target,omitempty"`
Model *Model `xml:"model,omitempty"`
@@ -347,6 +348,7 @@ type InterfaceSource struct {
Network string `xml:"network,attr,omitempty"`
Device string `xml:"dev,attr,omitempty"`
Bridge string `xml:"bridge,attr,omitempty"`
+ Mode string `xml:"mode,attr,omitempty"`
}
type Model struct {
