Merge pull request #4579 from crcro/snmpsim-ios-xe-check

tests: ios-xe asr1000 test
This commit is contained in:
Neil Lathwood
2016-09-25 10:38:59 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -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(

View File

@@ -663,6 +663,7 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
public function testIosxe()
{
$this->checkOS('iosxe');
$this->checkOS('iosxe', 'iosxe-asr1000');
}
public function testIosxr()