v1.10.0
This commit is contained in:
@@ -29,6 +29,9 @@ type RecordNode struct {
|
||||
// NeedReboot
|
||||
NeedReboot bool `json:"needReboot"`
|
||||
|
||||
// Netaddr
|
||||
NetAddr NetAddr `json:"netaddr"`
|
||||
|
||||
// Nic Info
|
||||
NicInfo ListNicInfo `json:"nicInfo"`
|
||||
|
||||
@@ -314,3 +317,12 @@ type ListNodes struct {
|
||||
// Entry count
|
||||
EntryCount uint64 `json:"entryCount"`
|
||||
}
|
||||
|
||||
// Net address
|
||||
type NetAddr struct {
|
||||
// Name
|
||||
Name string `json:"name"`
|
||||
|
||||
// IP list backplane1 node
|
||||
IP []string `json:"ip"`
|
||||
}
|
||||
|
||||
@@ -24,6 +24,10 @@ type SetVFsNumberRequest struct {
|
||||
// Trust
|
||||
// Required: true
|
||||
Trust bool `url:"trust" json:"trust" validate:"required"`
|
||||
|
||||
// Enable spoof checking
|
||||
// Required: true
|
||||
Spoofchk bool `url:"spoofchk" json:"spoofchk" validate:"required"`
|
||||
}
|
||||
|
||||
// SetVFsNumber sets number of VFs for individual NIC on node
|
||||
|
||||
Reference in New Issue
Block a user