mirror of https://github.com/apache/cloudstack.git
account for vxlan interfaces named vx<vni>
This commit is contained in:
parent
88a5202eea
commit
5df50297ef
|
|
@ -1073,7 +1073,7 @@ ServerResource {
|
|||
String fname = interfaces[i].getName();
|
||||
s_logger.debug("matchPifFileInDirectory: file name '"+fname+"'");
|
||||
if (fname.startsWith("eth") || fname.startsWith("bond")
|
||||
|| fname.startsWith("vlan") || fname.startsWith("vxlan") || fname.startsWith("em")
|
||||
|| fname.startsWith("vlan") || fname.startsWith("vx") || fname.startsWith("em")
|
||||
|| fname.matches("^p\\d+p\\d+.*")) {
|
||||
return fname;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue