mirror of
https://github.com/hansjone/netx.git
synced 2026-10-11 06:50:49 +08:00
17 lines
378 B
Python
17 lines
378 B
Python
"""H3C / HP Comware parsers.
|
|
|
|
LLDP already works via ``common.lldp_neighbors``
|
|
(``display lldp neighbor-information list``).
|
|
|
|
Add one module per display 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"]
|