mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
newdevice: Added Coriant support (#6026)
* Added Coriant TNMS MIB and MEF (Metro Ethernet Forum) MIB * Coriant Logo * Added Basic Librenms Support and MEF support * Forgot snmpsim * Better like this * Spaces ! * Renamed sql file * Space * Fix spaces * svgo optimized logo * Removed modules that are by default to 0 * Added sysDescr as requested * Fix conflict file * Setting right severity id in the discovery log_event() * Since MEF-EVC can be used on other devices than Coriant's one, lets this be used by the poller/discovery itself * Fixed spaces * Rename 173.sql to 174.sql * Moved logo from os/ to logos/ Addd Icon * Fix name * minimize file * Change l/w to viewbox and minify * Renamed mef-evc to mef on request from @laf * Rename 174.sql to 175.sql
This commit is contained in:
committed by
Tony Murray
parent
872eb225dd
commit
fa29839d36
23
html/includes/print-mef.inc.php
Normal file
23
html/includes/print-mef.inc.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
echo '<tr class="list">';
|
||||
echo '<td class="list">';
|
||||
echo $mef['mefIdent'];
|
||||
|
||||
echo '</td>';
|
||||
echo '<td class="list">'. $mef['mefType'] . '</td>';
|
||||
echo '<td class="list">'. $mef['mefMTU'] . '</td>';
|
||||
|
||||
echo '<td class="list">';
|
||||
if ($mef['mefAdmState'] == 'unlocked') {
|
||||
echo '<i class="fa fa-unlock fa-lg icon-theme" aria-hidden="true" style="color:green"></i>';
|
||||
} else {
|
||||
echo '<i class="fa fa-lock fa-lg icon-theme" aria-hidden="true" style="color:red"></i>';
|
||||
}
|
||||
echo '</td>';
|
||||
if ($mef['mefRowState'] == 'active') {
|
||||
echo '<td class="list"><span style="min-width:40px; display:inline-block;" class="label label-success">active</span></td>';
|
||||
} else {
|
||||
echo '<td class="list"><span style="min-width:40px; display:inline-block;" class="label label-default">'.$mef['mefRowState'].'</span></td>';
|
||||
}
|
||||
|
||||
echo '</tr>';
|
||||
Reference in New Issue
Block a user