newdevice: Basic Ciena (Cyan) Z-Series detection (#6385)

issue: #6337
This commit is contained in:
Tony Murray
2017-04-08 01:14:41 -05:00
committed by Neil Lathwood
parent 0190691061
commit c35b5b36f3
5 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="-1.1146875 -1.1146875 119.323125 39.385625"><path d="M27.38 0c-2.52 0-4.57 2.05-4.57 4.56 0 2.52 2.1 4.57 4.6 4.57 2.5 0 4.6-2.05 4.6-4.57C32 2.06 29.9 0 27.4 0zM48.8 10.78c-7.23 0-12.75 6.34-12.86 13.44-.04 2.23.44 4.32 1.28 6.06-4.8 1.4-5.7-.9-5.88-5.22-.2-5.2-.22-12.56-.2-12.56h-7.67v15.13c0 3.13.76 8 6.2 8.96 3.37.6 6.67-.1 11.08-2.1 2.1 1.5 4.93 2.5 8.03 2.5 4.3 0 7.78-1.9 10.38-3.6v-4.8c-3.23 2-7.96 3.5-10.88 1.4 3-2.1 5.84-4.6 7.72-7.6 3-4.8 1.04-11.8-7.2-11.8zm-35.1.72C6.13 11.5 0 16.1 0 24.4c0 8.44 5.94 12.76 13.03 12.76 2.05 0 5.26-.42 7.13-1.35v-6.5c-1.62.7-3.5.9-5 .9-3.07 0-6.66-1.8-6.66-5.6 0-4.3 3.4-6 6.78-6 1.63 0 3.48.5 4.88.9v-6.9c-1.93-.5-4.64-1-6.47-1zm85.86.06c-3.57 0-6.88.92-10.06 1.97v6.16c2.75-1.1 6.07-1.5 8.66-1.5 3.3 0 4.87 1.4 4.87 3.9v.4c-1.4-.5-3.6-1-5.87-1-5.76 0-9.6 2.6-9.6 7.7v.1c0 4.9 3.55 7.5 8.22 7.5 3.22 0 5.54-1.2 7.22-3.08v2.54h8.3v-14c0-3.44-.57-5.97-2.42-7.78-1.95-1.96-4.92-3-9.32-3zm-22.15.03c-3.4 0-5.6 1.9-7.1 3.9l-.3.4v-3.7h-8.3v24.2H70V23.2c0-2.78 1.6-4.32 3.8-4.32 2.15 0 3.6 1.56 3.6 4.3v13.26h8.27v-16c0-5.5-3.1-8.85-8.2-8.85zm-28.1 6c2.1 0 3.5 2 1.1 5.2-1.1 1.4-2.8 2.8-4.8 4.1-2.8-5.1.7-8.7 2.9-9.2l.5-.1c.2 0 .3-.1.5 0zm50.5 8.1c1.3 0 2.4.3 3.4.8 0 3.1-1.7 5-4.2 5-1.7 0-3-1-3-2.7v-.1c0-1.8 1.48-3 3.97-3zm15.8 7.6c-.8 0-1.5.6-1.5 1.5s.7 1.5 1.5 1.5c.9 0 1.6-.7 1.6-1.5 0-.9-.7-1.5-1.5-1.5zm0 .2c.7 0 1.3.5 1.3 1.22s-.5 1.3-1.3 1.3c-.7 0-1.2-.55-1.2-1.27s.6-1.27 1.3-1.27zm-.5.4v1.7h.2V35h.3l.5.76h.3l-.5-.75c.3 0 .5-.1.5-.4 0-.3-.2-.5-.6-.5h-.6zm.2.2h.4c.2 0 .4 0 .4.3s-.2.22-.4.22h-.3v-.54z" fill="#da1415" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

1
html/images/os/ciena.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="-1.1146875 -1.1146875 111.3125 37.15594"><path d="M26.26-1.1c-2.52 0-4.56 2.03-4.56 4.55S23.74 8 26.26 8c2.52 0 4.56-2.03 4.56-4.55S28.78-1.1 26.26-1.1zM47.7 9.66c-7.25 0-12.76 6.34-12.88 13.43-.03 2.2.44 4.3 1.28 6-4.78 1.4-5.7-.9-5.87-5.2-.2-5.2-.22-12.6-.22-12.6h-7.6v15.1c0 3.1.8 8 6.2 9 3.4.6 6.7-.1 11.1-2.1 2.1 1.5 4.9 2.5 8.1 2.5 4.3 0 7.8-1.9 10.4-3.7v-4.8c-3.2 2.1-7.9 3.6-10.8 1.42 2.97-2.08 5.83-4.57 7.7-7.56 3-4.75 1.03-11.7-7.2-11.7zm-35.13.72C5.02 10.4-1.1 15-1.1 23.3c0 8.43 5.93 12.74 13.02 12.74 2.05 0 5.26-.4 7.12-1.34v-6.5c-1.6.62-3.5.87-5 .87-3.06 0-6.65-1.8-6.65-5.62 0-4.37 3.3-6 6.7-6 1.6 0 3.5.5 4.8.9v-6.9c-1.9-.58-4.7-1.06-6.5-1.06zm85.88.05c-3.58 0-6.88.92-10.06 1.97v6.15c2.7-1.02 6-1.5 8.6-1.5 3.3 0 4.9 1.44 4.9 3.97v.4c-1.4-.5-3.6-.93-5.9-.93-5.8 0-9.6 2.6-9.6 7.7v.1c0 4.8 3.5 7.5 8.2 7.5 3.2 0 5.5-1.2 7.2-3.1v2.5h8.3v-14c0-3.5-.6-6-2.5-7.8-2-2-4.9-3-9.3-3zm-22.16.03c-3.4 0-5.7 1.92-7.2 3.94l-.4.43v-3.7h-8.2V35.3h8.2V22.07c0-2.76 1.6-4.3 3.8-4.3 2.2 0 3.6 1.55 3.6 4.3v13.25h8.2v-16c0-5.48-3.1-8.84-8.2-8.84zM48.1 16.5c2.1.05 3.5 2.1 1.03 5.23-1.15 1.44-2.83 2.83-4.8 4.12-2.8-5.1.64-8.7 2.85-9.2.17-.05.3-.1.48-.1.13-.02.3-.04.43-.04zm50.5 8.17c1.27 0 2.4.37 3.34.78 0 3.14-1.76 5.03-4.25 5.03-1.8 0-3.1-1-3.1-2.7v-.08c0-1.8 1.4-3.03 3.9-3.03z" fill="#da1415" fill-rule="evenodd"/></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,9 @@
os: cyan
text: Ciena Z-Series
icon: ciena
over:
- { graph: device_bits, text: Traffic }
type: network
discovery:
- sysObjectId:
- .1.3.6.1.4.1.28533.

View File

@@ -488,6 +488,11 @@ class DiscoveryTest extends \PHPUnit_Framework_TestCase
$this->checkOS('cumulus');
}
public function testCyan()
{
$this->checkOS('cyan', 'cyan-z33');
}
public function testCyberoamUtm()
{
$this->checkOS('cyberoam-utm');

View File

@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|Z33
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.28533.1.3