Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
noc
Commits
ea35e605
Commit
ea35e605
authored
Jun 13, 2020
by
Andrey Vertiprahov
Browse files
Huawei.MA5600T.get_inventory. Fix detect MA5603.
parent
7621ee0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
collections/inv.objectmodels/Huawei/SmartAX/MA5600.json
View file @
ea35e605
...
...
@@ -130,7 +130,7 @@
],
"data"
:
{
"asset"
:
{
"part_no"
:
[
"MA5600"
]
"part_no"
:
[
"H511UPBA"
,
"MA5600"
]
},
"dimensions"
:
{
"depth"
:
420
,
...
...
collections/inv.objectmodels/Huawei/SmartAX/MA5603.json
View file @
ea35e605
...
...
@@ -67,7 +67,7 @@
],
"data"
:
{
"asset"
:
{
"part_no"
:
[
"
H511UPBA
"
]
"part_no"
:
[
"
MA5603
"
]
},
"dimensions"
:
{
"depth"
:
420
,
...
...
sa/profiles/Huawei/MA5600T/get_inventory.py
View file @
ea35e605
...
...
@@ -244,14 +244,21 @@ class Script(BaseScript):
if
self
.
is_dslam
:
# On MA5600 chassis and subboard serial is not supported
# frame = self.cli("display frame info 0")
part_no
=
"H511UPBA"
# MA5600
descr
=
"MA5600's H511UPBA backplane, with double CELLBUS and GE bus"
# Detect MA5600/MA5603
slots
,
_
=
self
.
profile
.
get_board
(
self
)
if
slots
==
7
:
part_no
=
"MA5603"
descr
=
"MA5603 subrack"
r
+=
[
{
"type"
:
"CHASSIS"
,
"number"
:
0
,
"vendor"
:
"Huawei"
,
"part_no"
:
"H511UPBA"
,
"part_no"
:
part_no
,
"serial"
:
None
,
"description"
:
"MA5600's H511UPBA backplane, with double CELLBUS and GE bus"
,
"description"
:
descr
,
}
]
subboards
=
self
.
get_ma5600_subboard
()
...
...
Andrey Vertiprahov
@aversant
mentioned in commit
c890bffa
·
Jun 13, 2020
mentioned in commit
c890bffa
mentioned in commit c890bffa201adae04d0eead2f6a07aeb8e1cce71
Toggle commit list
Andrey Vertiprahov
@aversant
mentioned in merge request
!3829 (merged)
·
Jun 13, 2020
mentioned in merge request
!3829 (merged)
mentioned in merge request !3829
Toggle commit list
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