Alex Lourie has posted comments on this change.
Change subject: packaging: setup: support VLAN network interfaces
......................................................................
Patch Set 2:
Tested like this:
In [2]: r=re.compile('[0-9]+\s*:\s*(?P<interface>\w+(\.\w+(@\w+)?)?):')
In [3]: f='17: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master ov'
In [4]: r.match(f).group('interface')
Out[4]: 'vnet0'
In [5]: f='17: vnet0.333: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast master ov'
In [6]: r.match(f).group('interface')
Out[6]: 'vnet0.333'
In [7]: f='17: vnet0.333@VLAN3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc pfifo_fast master ov'
In [8]: r.match(f).group('interface')
Out[8]: 'vnet0.333@VLAN3'
--
To view, visit http://gerrit.ovirt.org/16115
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I1a53543671b02dcb9c66a2973ba40d238eb5220f
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches