mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-06 01:40:45 +00:00
Allow vtysh_cmd() to convert JSON output to Python data structures.
This feature will be used to get vtysh JSON outputs for tests
comparsions.
Usage example:
```py
router = get_topogen().gears['r1']
json_output = router.vtysh_cmd('show ip ospf json', isjson=True)
json_cmp(json_output, {'important_key': 'important_value'})
```
|
||
|---|---|---|
| .. | ||
| bgpd | ||
| helpers | ||
| isisd | ||
| lib | ||
| ospf6d | ||
| topotests | ||
| .gitignore | ||
| Makefile | ||
| pytest.ini | ||
| runtests.py | ||
| subdir.am | ||
| test_lblmgr.c | ||