Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -9577,7 +9577,8 @@ def _ComputeNics(op, cluster, default_ip, cfg, proc): ...@@ -9577,7 +9577,8 @@ def _ComputeNics(op, cluster, default_ip, cfg, proc):
   
check_params = cluster.SimpleFillNIC(nicparams) check_params = cluster.SimpleFillNIC(nicparams)
objects.NIC.CheckParameterSyntax(check_params) 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 return nics
   
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment