Debian Codegraph @

pkg/apis/dpf/v1/lb_domains/testdata/config_get.json

raw
1 {
2 "request_id": "76D7462F50E3417C96898A827E0D1EC1",
3 "result": {
4 "sites": [
5 {
6 "resource_name": "site-a",
7 "name": "site(A)",
8 "description": "site(A) comment",
9 "rrtype": "A",
10 "live_status": "down",
11 "endpoints": [
12 {
13 "resource_name": "endpoint-1",
14 "name": "host-1",
15 "monitoring_target": "www.example.jp.",
16 "description": "endpoint#1",
17 "weight": 1,
18 "manual_failback": false,
19 "manual_failover": false,
20 "enabled": false,
21 "live_status": "up",
22 "ready_status": "down",
23 "rdata": [
24 {
25 "value": "192.168.0.1"
26 },
27 {
28 "value": "192.168.1.1"
29 }
30 ],
31 "monitorings": [
32 {
33 "resource_name": "id1",
34 "enabled": true,
35 "name": "monitoring-1",
36 "mtype": "ping",
37 "description": "comment 1",
38 "props": {
39 "location": "all",
40 "interval": 30,
41 "holdtime": 0,
42 "timeout": 1
43 }
44 }
45 ]
46 }
47 ]
48 },
49 {
50 "resource_name": "site-aaaa",
51 "name": "site(AAAA)",
52 "description": "site(AAAA) comment",
53 "rrtype": "AAAA",
54 "live_status": "up",
55 "endpoints": [
56 {
57 "resource_name": "endpoint-2",
58 "name": "host-2",
59 "monitoring_target": "2001:db8::1",
60 "description": "endpoint#2",
61 "weight": 255,
62 "manual_failback": true,
63 "manual_failover": true,
64 "enabled": true,
65 "live_status": "down",
66 "ready_status": "down",
67 "rdata": [
68 {
69 "value": "2001:db8::1"
70 },
71 {
72 "value": "2001:db8::2"
73 }
74 ],
75 "monitorings": [
76 {
77 "resource_name": "id1",
78 "enabled": true,
79 "name": "monitoring-1",
80 "mtype": "ping",
81 "description": "comment 1",
82 "props": {
83 "location": "all",
84 "interval": 30,
85 "holdtime": 0,
86 "timeout": 1
87 }
88 }
89 ]
90 }
91 ]
92 }
93 ],
94 "monitorings": [
95 {
96 "resource_name": "id1",
97 "name": "monitoring-1",
98 "mtype": "ping",
99 "description": "comment 1",
100 "props": {
101 "location": "all",
102 "interval": 30,
103 "holdtime": 0,
104 "timeout": 1
105 }
106 }
107 ],
108 "rules": [
109 {
110 "resource_name": "rule-a",
111 "name": "default",
112 "description": "default rule",
113 "methods": [
114 {
115 "method": {
116 "resource_name": "entry-a-1",
117 "mtype": "entry_a",
118 "enabled": true,
119 "live_status": "up",
120 "ready_status": "down"
121 }
122 },
123 {
124 "method": {
125 "resource_name": "entry-aaaa-1",
126 "mtype": "entry_aaaa",
127 "enabled": true,
128 "live_status": "up",
129 "ready_status": "down"
130 }
131 },
132 {
133 "method": {
134 "resource_name": "exit-a-1",
135 "parent_resource_name": "entry-a-1",
136 "site_resource_name": "site-a",
137 "mtype": "exit_site",
138 "enabled": true,
139 "live_status": "up",
140 "ready_status": "down"
141 }
142 },
143 {
144 "method": {
145 "resource_name": "exit-aaaa-1",
146 "parent_resource_name": "entry-aaaa-1",
147 "site_resource_name": "site-aaaa",
148 "mtype": "exit_site",
149 "enabled": true,
150 "live_status": "up",
151 "ready_status": "down"
152 }
153 }
154 ]
155 }
156 ]
157 }
158 }