fix(region): server add set network num queues (#24168)

This commit is contained in:
wanyaoqi
2026-02-01 20:13:11 +08:00
committed by GitHub
parent f7cb8a9b9e
commit 86475595af
4 changed files with 41 additions and 0 deletions

View File

@@ -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"`