Change in vdsm[master]: net: native ovs: check for nic existence

edwardh at redhat.com edwardh at redhat.com
Thu Apr 21 20:46:28 UTC 2016


Edward Haas has posted comments on this change.

Change subject: net: native ovs: check for nic existence
......................................................................


Patch Set 6:

(1 comment)

https://gerrit.ovirt.org/#/c/56448/6/lib/vdsm/network/ovs/validator.py
File lib/vdsm/network/ovs/validator.py:

PS6, Line 53: if nic is not None:
            :             if nic not in kernel_nics
> I think you can use: if not nic and nic not in kernel_nics
Sorry: if nic and ...


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icd1ae02f7e65f305f2f21101fae0303baafe1ea6
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Edward Haas <edwardh at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list