Change in vdsm[master]: netinfo: make getNicsVlanAndBondingForNetwork more readable, ...

nsoffer at redhat.com nsoffer at redhat.com
Wed Aug 19 19:49:14 UTC 2015


Nir Soffer has posted comments on this change.

Change subject: netinfo: make getNicsVlanAndBondingForNetwork more readable, drop asserts
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.ovirt.org/#/c/45095/4/lib/vdsm/netinfo.py
File lib/vdsm/netinfo.py:

Line 917
Line 918
Line 919
Line 920
Line 921
> All asserts were correct under the assumption that I described in the new c
I guess your assumptions are correct, and having a test is great, but having an assert or AssertionError that fail loudly if our assumptions are incorrect (maybe the bug in the kernel?) is even better.


-- 
To view, visit https://gerrit.ovirt.org/45095
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If8535dbd29314c97e4519b160a47c9ea6489b5a3
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Ondřej Svoboda <osvoboda at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list