From f301cf5efd79c1e3b363bd20ded7fdca803a7611 Mon Sep 17 00:00:00 2001 From: David Bell Date: Thu, 9 Feb 2017 12:16:03 +0000 Subject: [PATCH] newdevice: Initial discovery for Vubiq Haulpass V60s#5745 * Initial discovery for Vubiq Haulpass V60s * Add missing files --- html/images/os/vubiq.svg | 1 + includes/definitions/vubiq.yaml | 9 +++++++++ tests/OSDiscoveryTest.php | 5 +++++ tests/snmpsim/vubiq.snmprec | 2 ++ 4 files changed, 17 insertions(+) create mode 100644 html/images/os/vubiq.svg create mode 100644 includes/definitions/vubiq.yaml create mode 100644 tests/snmpsim/vubiq.snmprec diff --git a/html/images/os/vubiq.svg b/html/images/os/vubiq.svg new file mode 100644 index 0000000000..e1e82fff80 --- /dev/null +++ b/html/images/os/vubiq.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/definitions/vubiq.yaml b/includes/definitions/vubiq.yaml new file mode 100644 index 0000000000..3afb4c574c --- /dev/null +++ b/includes/definitions/vubiq.yaml @@ -0,0 +1,9 @@ +os: vubiq +text: 'Vubiq Networks' +type: network +icon: vubiq +over: + - { graph: device_bits, text: 'Device Traffic' } +discovery: + - sysObjectId: + - .1.3.6.1.4.1.46330.1 diff --git a/tests/OSDiscoveryTest.php b/tests/OSDiscoveryTest.php index 3ed7fc8432..cd629153f2 100644 --- a/tests/OSDiscoveryTest.php +++ b/tests/OSDiscoveryTest.php @@ -1644,6 +1644,11 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase $this->checkOS('vrp', 'vrp4'); } + public function testVubiq() + { + $this->checkOS('vubiq'); + } + public function testVyatta() { $this->checkOS('vyatta'); diff --git a/tests/snmpsim/vubiq.snmprec b/tests/snmpsim/vubiq.snmprec new file mode 100644 index 0000000000..ca771aaffe --- /dev/null +++ b/tests/snmpsim/vubiq.snmprec @@ -0,0 +1,2 @@ +1.3.6.1.2.1.1.1.0|4|V60s GigaBit Ethernet Switch +1.3.6.1.2.1.1.2.0|6|.1.3.6.1.4.1.46330.1.1