]> git.proxmox.com Git - mirror_frr.git/blob - tests/lib/northbound/test_oper_data.refout
lib, tests: major rework in the operational-data callbacks
[mirror_frr.git] / tests / lib / northbound / test_oper_data.refout
1 test# show yang operational-data /frr-test-module:frr-test-module
2 {
3 "frr-test-module:frr-test-module": {
4 "vrfs": {
5 "vrf": [
6 {
7 "name": "vrf0",
8 "interfaces": {
9 "interface": [
10 "eth0",
11 "eth1",
12 "eth2",
13 "eth3"
14 ]
15 },
16 "routes": {
17 "route": [
18 {
19 "prefix": "10.0.0.0/32",
20 "next-hop": "172.16.0.0",
21 "interface": "eth0",
22 "metric": 0,
23 "active": [null]
24 },
25 {
26 "prefix": "10.0.0.1/32",
27 "next-hop": "172.16.0.1",
28 "interface": "eth1",
29 "metric": 1
30 },
31 {
32 "prefix": "10.0.0.2/32",
33 "next-hop": "172.16.0.2",
34 "interface": "eth2",
35 "metric": 2,
36 "active": [null]
37 },
38 {
39 "prefix": "10.0.0.3/32",
40 "next-hop": "172.16.0.3",
41 "interface": "eth3",
42 "metric": 3
43 },
44 {
45 "prefix": "10.0.0.4/32",
46 "next-hop": "172.16.0.4",
47 "interface": "eth4",
48 "metric": 4,
49 "active": [null]
50 },
51 {
52 "prefix": "10.0.0.5/32",
53 "next-hop": "172.16.0.5",
54 "interface": "eth5",
55 "metric": 5
56 }
57 ]
58 }
59 },
60 {
61 "name": "vrf1",
62 "interfaces": {
63 "interface": [
64 "eth0",
65 "eth1",
66 "eth2",
67 "eth3"
68 ]
69 },
70 "routes": {
71 "route": [
72 {
73 "prefix": "10.0.0.0/32",
74 "next-hop": "172.16.0.0",
75 "interface": "eth0",
76 "metric": 0,
77 "active": [null]
78 },
79 {
80 "prefix": "10.0.0.1/32",
81 "next-hop": "172.16.0.1",
82 "interface": "eth1",
83 "metric": 1
84 },
85 {
86 "prefix": "10.0.0.2/32",
87 "next-hop": "172.16.0.2",
88 "interface": "eth2",
89 "metric": 2,
90 "active": [null]
91 },
92 {
93 "prefix": "10.0.0.3/32",
94 "next-hop": "172.16.0.3",
95 "interface": "eth3",
96 "metric": 3
97 },
98 {
99 "prefix": "10.0.0.4/32",
100 "next-hop": "172.16.0.4",
101 "interface": "eth4",
102 "metric": 4,
103 "active": [null]
104 },
105 {
106 "prefix": "10.0.0.5/32",
107 "next-hop": "172.16.0.5",
108 "interface": "eth5",
109 "metric": 5
110 }
111 ]
112 }
113 }
114 ]
115 }
116 }
117 }
118 test#
119 end.