Change in vdsm[master]: BZ#732272 Activate nics in the correct order
Saggi Mizrahi
smizrahi at redhat.com
Mon Aug 22 13:49:41 UTC 2011
Saggi Mizrahi has posted comments on this change.
Change subject: BZ#732272 Activate nics in the correct order
......................................................................
Patch Set 1: I would prefer that you didn't submit this
(1 inline comment)
....................................................
File vdsm/configNetwork.py
Line 115: nic_sre = re.match("([A-Za-z]+)([0-9]+)", nic_name)
Compile the regex to a constant to save on compile time.
then nics_list.sort(lambda item: int(re.match(item).group(2)))
--
To view, visit http://gerrit.usersys.redhat.com/835
To unsubscribe, visit http://gerrit.usersys.redhat.com/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If7048d01780d8e7dbb03a87b478b578ae34cb582
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Eduardo Warszawski <ewarszaw at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
More information about the vdsm-patches
mailing list