Dan Kenigsberg has submitted this change and it was merged.

Change subject: Simplify netinfo get.
......................................................................


Simplify netinfo get.

This patch refactors netinfo to have the network data fetching on
a separate function. This reduces the get() complexity and will
allow the possibility of reusing the new method (via a future patch
wrapping of it) for more fine-grained information retrieval, e.g.,
update just a network info of a Netinfo instance.

Change-Id: I5c3e617d10308d0bfa4deaed329b2e10ef54077c
Signed-off-by: Antoni S. Puimedon <[email protected]>
---
M vdsm/netinfo.py
1 file changed, 31 insertions(+), 45 deletions(-)

Approvals:
  Mark Wu: Looks good to me, but someone else must approve
  Dan Kenigsberg: Verified; Looks good to me, approved
  Igor Lvovsky: Looks good to me, but someone else must approve


--
To view, visit http://gerrit.ovirt.org/11080
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c3e617d10308d0bfa4deaed329b2e10ef54077c
Gerrit-PatchSet: 10
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Igor Lvovsky <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
Gerrit-Reviewer: Mark Wu <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to