Commit 1f53502c authored by MaksimSmile13's avatar MaksimSmile13
Browse files

Merge branch 'new/eltexdslam' into 'microservices'

Fix platform for Eltex.DSLAM

See merge request !243
parents 72a73080 2557d1fe
Pipeline #2856 passed with stage
in 49 seconds
......@@ -27,14 +27,21 @@ class Script(BaseScript):
ver = self.cli("system show software version", cached=True)
match =
if match:
version ="version")
if "mxa32" in version:
platform = "MXA32"
elif "mxa64" in version:
platform = "MXA64"
platform = "DSLAM"
return {
"vendor": "Eltex",
"platform": "DSLAM",
"platform": platform,
"version": version
return {
"vendor": "Eltex",
"platform": "DSLAM",
"platform": "MXA24",
"version": "mxa24"
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