mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 00:50:46 +08:00
Collectors apply RULE_KEYS (or index stems) into fsm_tables before normalize; parsers prefer FSM or hand-parse. Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
534 B
Python
22 lines
534 B
Python
"""Cisco: show ip arp / show arp — TODO implement."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
RULE_KEYS: tuple[str, ...] = ()
|
|
|
|
|
|
def normalize_arp(
|
|
*,
|
|
raw_text: str,
|
|
fsm_tables=None,
|
|
vendor: str = "",
|
|
device_type: str = "",
|
|
command: str = "",
|
|
params: dict[str, str] | None = None,
|
|
) -> list[dict[str, Any]]:
|
|
_ = (raw_text, vendor, device_type, command, params, fsm_tables)
|
|
raise NotImplementedError("cisco arp parser not implemented yet")
|
|
|
|
normalize_arp.RULE_KEYS = RULE_KEYS
|