baremetal and host request IP from on premise network

This commit is contained in:
Qiu Jian
2019-02-19 19:11:56 +08:00
parent 3b9db6a25b
commit c0c8817459
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -724,7 +724,7 @@ func (h *SHostInfo) fetchAccessNetworkInfo() {
}
params := jsonutils.NewDict()
params.Set("ip", jsonutils.NewString(masterIp))
params.Set("is_private", jsonutils.JSONTrue)
params.Set("is_on_premise", jsonutils.JSONTrue)
params.Set("limit", jsonutils.NewInt(0))
wire, err := hostutils.GetWireOfIp(context.Background(), params)
if err != nil {