xenolog / l23network

L23Network -- Puppet module for configuring network interfaces, 802.1q vlans, bonds on 2 and 3 level.
18 stars 11 forks source link

Update l2/port.pp vlan interface name regexp. #303

Closed xenolog closed 8 years ago

xenolog commented 8 years ago

Previously only interfaces with aaaNNN.XXX were recognized as vlan subinterfaces where NNN and XXX are digits and NNN is required. It doesn't allow to create vlan subinterfaces with names like aaa-bbb.XXX. This patch updates regexp to recognize names like: aaaNNN.XXX aaa-bbb.XXX aaa.XXX aaa-bbb-NNN.XXX

FUEL-Closes-Bug: #1593142 FUEL-Change-Id: Ic3d97cf5f32cb1107c185fc9ce6c980303e0fc92

Closes: #302