ClearFoundation Tracker - ClearOS
View Issue Details
0005801ClearOSapp-network - Network Settingspublic2015-10-29 15:352016-01-28 09:08
dloper 
user2 
lowfeaturealways
closedfixed 
7.1.0 
7.2.07.1.0 Updates 
0005801: Add 'netw' as a valid match interface to the network API
There are occasions in clustering where network interfaces must be similarly named. When using differing hardware the interfaces may need to be made to match names. For this purpose, the non-valid name 'network' should be added to the list of interfaces for applications requiring the aliasing of addresses. (See. http://ask.xmodulo.com/change-network-interface-name-centos7.html [^])
In /usr/clearos/apps/network/libraries/Iface.php:

[root@vm1 libraries]# diff -Naur Iface.php.orig Iface.php > /root/app-network-networkaliaspatch.txt
[root@vm1 libraries]# cat /root/app-network-networkaliaspatch.txt
--- Iface.php.orig 2015-10-30 00:29:06.856286889 +0300
+++ Iface.php 2015-10-30 00:32:14.633862801 +0300
@@ -1355,6 +1355,7 @@
             || preg_match('/^p\d+p/', $this->iface)
             || preg_match('/^br/', $this->iface)
             || preg_match('/^bond/', $this->iface)
+ || preg_match('/^network/', $this->iface)
             || (preg_match('/^ppp/', $this->iface) && $this->is_configured())
         ) {
             return TRUE;
No tags attached.
Issue History
2015-10-29 15:35dloperNew Issue
2015-11-02 18:22user2Statusnew => resolved
2015-11-02 18:22user2Fixed in Version => 7.1.0 Updates
2015-11-02 18:22user2Resolutionopen => fixed
2015-11-02 18:22user2Assigned To => user2
2015-11-02 18:31user2SummaryAdd 'network' as a valid match interface to the network API => Add 'netw' as a valid match interface to the network API
2015-11-23 12:13user2Target Version7.1.0 Updates => 7.2.0 Beta 1
2016-01-01 12:59user2Target Version7.2.0 Beta 1 => 7.2.0
2016-01-28 09:08user2Statusresolved => closed

There are no notes attached to this issue.