Commit 9f7dace2 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'fix-avs-alcatel-pon' into 'master'

Alcatel.7302. Fix for 7342 PON platform.

See merge request noc/noc!4211
parents 75646724 dceb8963
......@@ -45,6 +45,8 @@ class Script(BaseScript):
"1.3.6.1.4.1.637.61.1.9.22.4.0",
]:
mac = self.snmp.get(oid, display_hints={oid: render_mac})
if not mac:
raise NotImplementedError
macs.add(MAC(mac))
# Filter and convert macs
r = [
......
......@@ -65,6 +65,7 @@ class Script(BaseScript):
PROCCESSED_TYPE = {
6: {"type": "physical"}, # ethernetCsmacd
24: {"type": "loopback", "prefix": "sw-loopback"}, # softwareLoopback
238: {"type": "physical"}, # aluELP (adsl2plus)
249: {"type": "physical"}, # aluELP (xdsl-line)
}
......
......@@ -16,6 +16,7 @@ class Script(BaseScript):
port_map = {
7: "7330",
14: "7330",
17: "7342",
18: "7302",
19: "7302",
21: "7302",
......
......@@ -48,6 +48,7 @@ class Script(BaseScript):
"ASPS-A": "", # ETSI splitter shelf with backplane
"ASPS-C": "", # ETSI splitter shelf without backplane
"EREM-A": "7330", # 7330 FTTN Remote expansion Module, REM-XD
"OLTS-M": "7342",
# "NFXS-A": "",
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment