mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/yunionio/cloudpods.git
synced 2026-09-20 08:03:53 +08:00
fix(region): server add set network num queues (#24168)
This commit is contained in:
@@ -1618,6 +1618,16 @@ func (o *ServerScreenDumpOptions) Params() (jsonutils.JSONObject, error) {
|
||||
return jsonutils.Marshal(o), nil
|
||||
}
|
||||
|
||||
type ServerSetNetworkNumQueues struct {
|
||||
ServerIdOptions
|
||||
MacAddr string `help:"server network mac addr"`
|
||||
NumQueues int `help:"network num queues"`
|
||||
}
|
||||
|
||||
func (o *ServerSetNetworkNumQueues) Params() (jsonutils.JSONObject, error) {
|
||||
return jsonutils.Marshal(o), nil
|
||||
}
|
||||
|
||||
type ServerIsoOptions struct {
|
||||
ServerIdOptions
|
||||
Ordinal int `help:"server iso ordinal, default 0"`
|
||||
|
||||
Reference in New Issue
Block a user