diff options
| author | omnom62 <75066712+omnom62@users.noreply.github.com> | 2026-09-28 22:34:13 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-28 13:34:13 +0100 |
| commit | 7cfca28e5857b480920c22ae12557f55ca2a8a19 (patch) | |
| tree | 8e3bfc20dc621371af85b9d62e89b4f3e1838c01 /tests/unit/fixtures/vrf_running.json | |
| parent | 916b2cc86b29aabe3778be8fa88393f6a5324832 (diff) | |
| download | rest.vyos-main.tar.gz rest.vyos-main.zip | |
* T8989: vyos_vrf module
* T8989: vyos_vrf module
* T8989: vyos_vrf module unit tests
* T8989: vyos_vrf module integration tests
* T8989: vyos_vrf module integration tests
* T8989: vyos_vrf module changelog
* T8989: fix pylint disallowed-name issues
* T8989: fix pylint disallowed-name issues
* T8989: fix lint issues for vrf
* T8989: vrf AI comment fixed
* T8989: vrf AI comment fixed
---------
Co-authored-by: Daniil Baturin <daniil@vyos.io>
Diffstat (limited to 'tests/unit/fixtures/vrf_running.json')
| -rw-r--r-- | tests/unit/fixtures/vrf_running.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/unit/fixtures/vrf_running.json b/tests/unit/fixtures/vrf_running.json new file mode 100644 index 0000000..602c292 --- /dev/null +++ b/tests/unit/fixtures/vrf_running.json @@ -0,0 +1,42 @@ +{ + "bind-to-all": {}, + "name": { + "vrf1": { + "description": "red", + "disable": {}, + "table": "101", + "vni": "501", + "protocols": { + "bgp": { + "system-as": "65001", + "neighbor": { + "10.0.0.1": { "remote-as": "65002", "description": "peer1" } + } + }, + "ospf": { + "area": { "0": { "network": ["10.0.0.0/24", "172.16.0.0/24"] } }, + "parameters": { "router-id": "10.0.0.1" } + }, + "static": { + "route": { + "192.168.10.0/24": { "next-hop": { "10.0.0.254": {} } } + } + } + } + }, + "vrf2": { + "description": "blah2", + "disable": {}, + "table": "102", + "vni": "102", + "ip": { + "disable-forwarding": {}, + "nht": { "no-resolve-via-default": {} } + }, + "ipv6": { + "disable-forwarding": {}, + "nht": { "no-resolve-via-default": {} } + } + } + } +} |
