mirror of
https://github.com/hansjone/netx.git
synced 2026-10-17 17:03:27 +08:00
Scaffold vendor parser packages for cisco/huawei/h3c/juniper/nokia/ericsson.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d587bf7bb9
commit
24a1a853af
19 changed files with 324 additions and 4 deletions
17
netx_api/biz_state/parsers/nokia/__init__.py
Normal file
17
netx_api/biz_state/parsers/nokia/__init__.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue