import torrus 1.0.9
[freeside.git] / torrus / xmlconfig / vendor / paradyne.xdsl.xml
diff --git a/torrus/xmlconfig/vendor/paradyne.xdsl.xml b/torrus/xmlconfig/vendor/paradyne.xdsl.xml
new file mode 100644 (file)
index 0000000..203e89a
--- /dev/null
@@ -0,0 +1,159 @@
+<?xml version="1.0"?>
+<!--
+   Copyright (C) 2002  Stanislav Sinyagin
+   Copyright (C) 2003  Gord Philpott <gphilpot@mnsi.net>
+
+   File: vendor/paradyne.xdsl.xml
+   Description: Paradyne GranDSLAM definitions and templates for Torrus.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+
+   $Id: paradyne.xdsl.xml,v 1.1 2010-12-27 00:04:06 ivan Exp $
+-->
+
+
+<!--
+   File Overview:
+   - Several Paradyne DSL cards are supported in this file
+   - ADSL cards are supported through generic/rfc2662.adsl-line.xml
+
+   Requirements:
+   - A Paradyne GranDSLAM 2.0 with any of the following Hotwire cards: ADSL,
+     ReachDSL, G.SHDSL
+   - Torrus 0.1.4 or newer
+
+   Test Environment:
+   - Torrus 0.1.4
+   - Paradyne GranDSLAM 2.0 DSLAM
+   - Hotwire DSL; Model: 8000-B2-211; S/W Release : M04.02.27
+   - Paradyne Hotwire ATM ADSL Line Card;
+     Model: 8365-B1-000; S/W Release: 02.03.54
+   - Paradyne Hotwire ATM G.SHDSL Line Card;
+     Model: 8385-B1-000; S/W Release: 02.03.45
+   - Hotwire IP ReachDSL Line Card; Model: 8314-B3-000; S/W Release: 04.03.10
+
+   To do (GORD):
+   - Margin is big negative number for some interfaces.
+     Are they administratively down? Then RFC2863_IF_MIB excludes them by
+     default. Are they administratively up, but physically down?
+     Then we probably need to optionally exclude them from configuration.
+   - Graph decoration parameters:
+     vertical-label, graph-lower-limit, normal-level, lower-limit
+   - Nice readable names for leaves
+-->
+
+
+<configuration>
+
+<definitions>
+  <!-- HOTWIRE-XDSL-INTERFACE-MIB -->
+  <def name="xdslDevIfStatsElapsedTimeLinkUp"
+                value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.4" />
+  <def name="xdslDevIfStatsUpStreamSpeed"
+                value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.6" />
+  <def name="xdslDevIfStatsCentralRecMargin"
+                value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.8" />
+  <def name="xdslDevIfStatsCentralRecAttenuationEstimate"
+                value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.9" />
+  <def name="xdslDevIfStatsRemoteRecMargin"
+                value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.15" />
+  <def name="xdslDevIfStatsRemoteRecAttenuationEstimate"
+                value="1.3.6.1.4.1.1795.2.24.2.6.8.1.1.1.1.16" />
+</definitions>
+
+<datasources>
+
+  <!-- ####### START: Paradyne Hotwire ATM xDSL Line Card Template ####### -->
+  <template name="paradyne-xdsl-interface">
+
+    <leaf name="xdslTimeLinkUp">
+      <param name="comment"            value="xdsl Elapsed Time Link Up" />
+      <param name="snmp-object">
+        $xdslDevIfStatsElapsedTimeLinkUp.%ifindex-map%.%xdsl-stats-interval%
+      </param>
+      <param name="rrd-ds"             value="xdslTimeLinkUp" />
+      <param name="rrd-create-dstype"  value="GAUGE" />
+      <param name="data-file"
+             value="%system-id%_%interface-nick%_xdsl.rrd" />
+    </leaf>
+
+    <leaf name="ifSpeed_Downstream">
+      <param name="comment"            value="xdsl Downstream Speed" />
+      <param name="snmp-object"        value="$ifSpeed.%ifindex-map%" />
+      <param name="rrd-ds"             value="ifSpeedDownstream" />
+      <param name="rrd-create-dstype"  value="GAUGE" />
+      <param name="data-file"
+             value="%system-id%_%interface-nick%_xdsl.rrd" />
+    </leaf>
+
+    <leaf name="xdslUpStreamSpeed">
+      <param name="comment"            value="xdsl UpStream Speed" />
+      <param name="snmp-object">
+        $xdslDevIfStatsUpStreamSpeed.%ifindex-map%.%xdsl-stats-interval%
+      </param>
+      <param name="rrd-ds"             value="xdslUpStreamSpeed" />
+      <param name="rrd-create-dstype"  value="GAUGE" />
+      <param name="data-file"
+             value="%system-id%_%interface-nick%_xdsl.rrd" />
+    </leaf>
+
+    <leaf name="xdslCentRecMargin">
+      <param name="comment"            value="xdsl Central Rec Margin" />
+      <param name="snmp-object">
+        $xdslDevIfStatsCentralRecMargin.%ifindex-map%.%xdsl-stats-interval%
+      </param>
+      <param name="rrd-ds"             value="xdslCRecMargin" />
+      <param name="rrd-create-dstype"  value="GAUGE" />
+      <param name="data-file"
+             value="%system-id%_%interface-nick%_xdsl.rrd" />
+    </leaf>
+
+    <leaf name="xdslCentRecAttenEst">
+      <param name="comment"   value="xdsl Central Rec Attenuation Estimate" />
+      <param name="snmp-object">
+       $xdslDevIfStatsCentralRecAttenuationEstimate.%ifindex-map%.%xdsl-stats-interval%
+      </param>
+      <param name="rrd-ds"             value="xdslCRecAttenEst" />
+      <param name="rrd-create-dstype"  value="GAUGE" />
+      <param name="data-file"
+             value="%system-id%_%interface-nick%_xdsl.rrd" />
+    </leaf>
+
+    <leaf name="xdslRemRecMargin">
+      <param name="comment"            value="xdsl Remote Rec Margin" />
+      <param name="snmp-object">
+       $xdslDevIfStatsRemoteRecMargin.%ifindex-map%.%xdsl-stats-interval%
+      </param>
+      <param name="rrd-ds"             value="xdslRRecMargin" />
+      <param name="rrd-create-dstype"  value="GAUGE" />
+      <param name="data-file"
+             value="%system-id%_%interface-nick%_xdsl.rrd" />
+    </leaf>
+
+    <leaf name="xdslRemRecAttenEst">
+      <param name="comment"     value="xdsl Remote Rec Attenuation Estimate" />
+      <param name="snmp-object">
+       $xdslDevIfStatsRemoteRecAttenuationEstimate.%ifindex-map%.%xdsl-stats-interval%
+      </param>
+      <param name="rrd-ds"             value="xdslRRecAttenEst" />
+      <param name="rrd-create-dstype"  value="GAUGE" />
+      <param name="data-file"
+             value="%system-id%_%interface-nick%_xdsl.rrd" />
+    </leaf>
+  </template>
+
+</datasources>
+
+</configuration>