Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
Description
diff
Index: includes/polling/os/zte.inc.php
|
===================================================================
|
--- includes/polling/os/zte.inc.php (revision 8446) |
+++ includes/polling/os/zte.inc.php (working copy)
|
@@ -43,11 +43,12 @@ |
$version = $matches['version'] . ', ROS '.$matches['ros_version']; |
$hardware = end(explode(' ', $matches['hw1'])); |
}
|
-else if (preg_match('/^ZTE (ZXR10 )?(?<hardware>[\w-]+) Software, .+ Version: V(?<version>\d[\w\.]+)/', $poll_device['sysDescr'], $matches)) |
+else if (preg_match('/^ZTE (ZXR10 )?(?<hardware>[\w-]+( STACK)?) Software, .+ Version: V(?<version>\d[\w\.]+)/', $poll_device['sysDescr'], $matches)) |
{
|
// ZTE ZXR10 8905E Software, 8900&8900E Version: V3.01.01.B15, RELEASE SOFTWARE
|
// ZTE 5952E Software, 5900 Version: V3.00.11.B18, RELEASE SOFTWARE
|
// ZTE 5950-56TM-H Software, 5900 Version: V3.00.11.B18, RELEASE SOFTWARE
|
+ // ZTE ZXR10 5960 STACK Software, 5900 Version: V3.02.20.B32.P02, RELEASE SOFTWARE |
|
$version = $matches['version']; |
$hardware = $matches['hardware']; |
Attachments
Issue Links
- relates to
-
OBS-2283 ZTE version and hardware detection - ZTE PON and switch
- Closed