Remove useless code in backend for network hooks
authorDimitris Aragiorgis <dimara@grnet.gr>
Sat, 16 Feb 2013 13:19:39 +0000 (15:19 +0200)
committerHelga Velroyen <helgav@google.com>
Mon, 18 Feb 2013 10:06:22 +0000 (11:06 +0100)
commitaee9a8a08e25eb70086eaa7f3eb63e88e62f2ffb
treeee865d55b903aef0c6b01f1fe50f48c76cb84442
parent68c13560c36c08270e5fbcd11b33a106c27be2f6
Remove useless code in backend for network hooks

In backend NICs arrive with netinfo filled. If nic.network is not None
nic.netinfo is not too. Thus all the info is derived from HooksDict()
and nic.network must not be checked.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Helga Velroyen <helgav@google.com>
lib/backend.py