fix up some iface stuff
This commit is contained in:
@@ -83,10 +83,17 @@
|
||||
|
||||
<xs:simpleType name="t_linux_iface_name">
|
||||
<xs:restriction base="xs:token">
|
||||
<!-- https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_id.c.
|
||||
I have no idea if this will work. TODO: simplify, validate in-code. -->
|
||||
<!-- I have no idea if this will work. TODO: simplify, validate in-code. -->
|
||||
<!--
|
||||
"New" predictable iface naming.
|
||||
https://github.com/systemd/systemd/blob/master/src/udev/udev-builtin-net_id.c.
|
||||
-->
|
||||
<xs:pattern
|
||||
value="((en|sl|wl|ww)(b[0-9]+|c[a-z0-9]|o[0-9]+(n.*(d.*)?)?|s[0-9]+(f.*)?([nd].*)?|x([A-Fa-f0-9]:){5}[A-Fa-f0-9]|(P.*)?p[0-9]+s[0-9]+(([fnd].*)|u.*)?))"/>
|
||||
<!--
|
||||
Legacy naming.
|
||||
-->
|
||||
<xs:pattern value="(eth|wl(an)?)[0-9]*"/>
|
||||
<xs:whiteSpace value="collapse"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
Reference in New Issue
Block a user