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
| root@Luenci:~# curl -s 127.0.0.1:8500/v1/catalog/service/luenci | python -m json.tool
[
{
"Address": "172.16.249.181",
"CreateIndex": 44,
"Datacenter": "dc1",
"ID": "c3908dfa-4fdf-4a57-686f-a3fc620fc5b7",
"ModifyIndex": 44,
"Node": "consul1",
"NodeMeta": {
"consul-network-segment": ""
},
"ServiceAddress": "",
"ServiceConnect": {},
"ServiceEnableTagOverride": false,
"ServiceID": "luenci",
"ServiceKind": "",
"ServiceMeta": {},
"ServiceName": "luenci",
"ServicePort": 8880,
"ServiceProxy": {},
"ServiceProxyDestination": "",
"ServiceTags": [
"study"
],
"ServiceWeights": {
"Passing": 1,
"Warning": 1
},
"TaggedAddresses": {
"lan": "172.16.249.181",
"wan": "172.16.249.181"
}
}
]
|