2019-06-19 16:34:04 +00:00
|
|
|
[
|
|
|
|
{
|
2019-07-01 09:30:05 +00:00
|
|
|
"loadBalancer": {
|
2019-06-19 16:34:04 +00:00
|
|
|
"passHostHeader": false,
|
|
|
|
"servers": [
|
|
|
|
{
|
|
|
|
"url": "http://127.0.0.1"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"name": "bar@myprovider",
|
|
|
|
"provider": "myprovider",
|
2019-06-19 16:34:04 +00:00
|
|
|
"serverStatus": {
|
|
|
|
"http://127.0.0.1": "UP"
|
|
|
|
},
|
2019-07-15 15:04:04 +00:00
|
|
|
"status": "enabled",
|
2019-09-02 09:38:04 +00:00
|
|
|
"type": "loadbalancer",
|
2019-06-19 16:34:04 +00:00
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"foo@myprovider",
|
|
|
|
"test@myprovider"
|
2019-06-19 16:34:04 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2019-07-01 09:30:05 +00:00
|
|
|
"loadBalancer": {
|
2019-06-19 16:34:04 +00:00
|
|
|
"passHostHeader": false,
|
|
|
|
"servers": [
|
|
|
|
{
|
|
|
|
"url": "http://127.0.0.2"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-06-21 07:54:04 +00:00
|
|
|
"name": "baz@myprovider",
|
|
|
|
"provider": "myprovider",
|
2019-06-19 16:34:04 +00:00
|
|
|
"serverStatus": {
|
|
|
|
"http://127.0.0.2": "UP"
|
|
|
|
},
|
2019-07-15 15:04:04 +00:00
|
|
|
"status": "enabled",
|
2019-09-02 09:38:04 +00:00
|
|
|
"type": "loadbalancer",
|
|
|
|
"usedBy": [
|
|
|
|
"foo@myprovider"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "canary@myprovider",
|
|
|
|
"provider": "myprovider",
|
|
|
|
"status": "enabled",
|
|
|
|
"type": "weighted",
|
|
|
|
"usedBy": [
|
|
|
|
"foo@myprovider"
|
|
|
|
],
|
|
|
|
"weighted": {
|
|
|
|
"sticky": {
|
|
|
|
"cookie": {
|
|
|
|
"httpOnly": true,
|
|
|
|
"name": "chocolat",
|
|
|
|
"secure": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"mirroring": {
|
|
|
|
"mirrors": [
|
|
|
|
{
|
|
|
|
"name": "two@myprovider",
|
|
|
|
"percent": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "three@myprovider",
|
|
|
|
"percent": 15
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "four@myprovider",
|
|
|
|
"percent": 80
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"service": "one@myprovider"
|
|
|
|
},
|
|
|
|
"name": "mirror@myprovider",
|
|
|
|
"provider": "myprovider",
|
|
|
|
"status": "enabled",
|
|
|
|
"type": "mirroring",
|
2019-06-19 16:34:04 +00:00
|
|
|
"usedBy": [
|
2019-06-21 07:54:04 +00:00
|
|
|
"foo@myprovider"
|
2019-06-19 16:34:04 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|