Skip to content
Snippets Groups Projects
Commit 9d2ac637 authored by Hakan Calim's avatar Hakan Calim
Browse files

NAT-66-cli: add test file to parse JSON of line card and ports

parent d4694c5d
No related branches found
No related tags found
No related merge requests found
from resource_management.db import model
# Parse line card and ports from one router
def test_parse_router(load_router):
fqdn = "core1.router"
line_card, ports = load_router
for key, value in line_card.items():
print(key, value)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment