mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 02:48:37 +00:00
newdevice: Juniper SA support #4328
This commit is contained in:
parent
163a171a75
commit
56ec5cbbd9
@ -10,6 +10,6 @@
|
|||||||
* the source code distribution for details.
|
* the source code distribution for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (str_contains($sysDescr, array('Pulse Connect Secure', 'Pulse Secure'))) {
|
if (str_contains($sysDescr, array('Pulse Connect Secure', 'Pulse Secure', 'Juniper Networks,Inc,VA-DTE', 'VA-SPE'))) {
|
||||||
$os = 'pulse';
|
$os = 'pulse';
|
||||||
}
|
}
|
||||||
|
@ -1115,6 +1115,11 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
|
|||||||
public function testPulse()
|
public function testPulse()
|
||||||
{
|
{
|
||||||
$this->checkOS('pulse');
|
$this->checkOS('pulse');
|
||||||
|
$this->checkOS('pulse', 'pulse-mag2600');
|
||||||
|
$this->checkOS('pulse', 'pulse-sa2500');
|
||||||
|
$this->checkOS('pulse', 'pulse-sa6500');
|
||||||
|
$this->checkOS('pulse', 'pulse-vaspe');
|
||||||
|
$this->checkOS('pulse', 'pulse-sa');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testQnap()
|
public function testQnap()
|
||||||
|
2
tests/snmpsim/pulse-sa.snmprec
Normal file
2
tests/snmpsim/pulse-sa.snmprec
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1.3.6.1.2.1.1.1.0|4|Juniper Networks,Inc,VA-DTE,7.2R4 (build 21697)
|
||||||
|
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.12532.0.0.0
|
Loading…
Reference in New Issue
Block a user