summaryrefslogtreecommitdiff
path: root/tests/unit/fixtures/vrf_running.json
blob: 602c29289bbc23273a018bd225b037a2dd442d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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": {} }
      }
    }
  }
}