Commit 538427e6 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis Committed by Iustin Pop
Browse files

Fix _ComputeNics to include network slot



This bug was introduced after rebasing master branch.
Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 1fa2c40b
......@@ -9577,7 +9577,8 @@ def _ComputeNics(op, cluster, default_ip, cfg, proc):
 
check_params = cluster.SimpleFillNIC(nicparams)
objects.NIC.CheckParameterSyntax(check_params)
nics.append(objects.NIC(mac=mac, ip=nic_ip, nicparams=nicparams))
nics.append(objects.NIC(mac=mac, ip=nic_ip,
network=net, nicparams=nicparams))
 
return nics
 
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment