mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #4579 from crcro/snmpsim-ios-xe-check
tests: ios-xe asr1000 test
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
if (str_contains($sysDescr, array('Cisco Internetwork Operating System Software', 'IOS (tm)', 'Cisco IOS Software', 'Global Site Selector')) && !str_contains($sysDescr, 'IOS-XE')) {
|
||||
if (str_contains($sysDescr, array('Cisco Internetwork Operating System Software', 'IOS (tm)', 'Cisco IOS Software', 'Global Site Selector')) && !str_contains($sysDescr, array('IOS-XE', 'X86_64_LINUX_IOSD'))) {
|
||||
$os = 'ios';
|
||||
|
||||
$extra_mibs = array(
|
||||
|
@@ -663,6 +663,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
||||
public function testIosxe()
|
||||
{
|
||||
$this->checkOS('iosxe');
|
||||
$this->checkOS('iosxe', 'iosxe-asr1000');
|
||||
}
|
||||
|
||||
public function testIosxr()
|
||||
|
Reference in New Issue
Block a user