Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
135
noc
Commits
dceb8963
Commit
dceb8963
authored
Aug 25, 2020
by
Andrey Vertiprahov
Browse files
Alcatel.7302. Fix for 7342 PON platform.
parent
2c84f087
Changes
4
Hide whitespace changes
Inline
Side-by-side
sa/profiles/Alcatel/7302/get_chassis_id.py
View file @
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
=
[
...
...
sa/profiles/Alcatel/7302/get_interfaces.py
View file @
dceb8963
...
...
@@ -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)
}
...
...
sa/profiles/Alcatel/7302/get_inventory.py
View file @
dceb8963
...
...
@@ -16,6 +16,7 @@ class Script(BaseScript):
port_map
=
{
7
:
"7330"
,
14
:
"7330"
,
17
:
"7342"
,
18
:
"7302"
,
19
:
"7302"
,
21
:
"7302"
,
...
...
sa/profiles/Alcatel/7302/get_version.py
View file @
dceb8963
...
...
@@ -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": "",
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment