mirror of
https://github.com/hansjone/netx.git
synced 2026-10-10 03:30:49 +08:00
16 lines
353 B
Python
16 lines
353 B
Python
"""Juniper Junos parsers.
|
|
|
|
LLDP already works via ``common.lldp_neighbors`` (``show lldp neighbors``).
|
|
|
|
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"]
|