mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 03:10:46 +08:00
17 lines
408 B
Python
17 lines
408 B
Python
"""Nokia / Alcatel (SROS / AOS) parsers.
|
|
|
|
LLDP already works via ``common.lldp_neighbors``
|
|
(``show system lldp neighbor`` / AOS ``show lldp remote-system``).
|
|
|
|
Add one module per show command, then register in ``PARSERS``.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any, Callable
|
|
|
|
NormalizeFn = Callable[..., list[dict[str, Any]]]
|
|
|
|
PARSERS: dict[str, NormalizeFn] = {}
|
|
|
|
__all__ = ["PARSERS"]
|