Merge "Correct issues with vip, member, pool, and health monitor operations"

This commit is contained in:
Jenkins 2014-04-02 19:34:11 +00:00 committed by Gerrit Code Review
commit 7de8072145
27 changed files with 1192 additions and 1271 deletions

View File

@ -1,9 +1,9 @@
{ {
"health_monitor": { "health_monitor":{
"delay": "4", "delay":"1",
"max_retries": "3", "max_retries":"1",
"type": "TCP", "type":"HTTP",
"timeout": "1", "timeout":"1",
"admin_state_up": true "admin_state_up":true
} }
} }

View File

@ -1,12 +1,17 @@
{ {
"health_monitor": { "health_monitor":{
"status": "PENDING_CREATE", "admin_state_up":true,
"admin_state_up": true, "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "delay":1,
"delay": 4, "expected_codes":"200",
"max_retries": 3, "max_retries":1,
"timeout": 1, "http_method":"GET",
"type": "TCP", "timeout":1,
"id": "ada338f0-10d0-4326-b02e-cc123114f240" "pools":[
}
],
"url_path":"/",
"type":"HTTP",
"id":"b624decf-d5d3-4c66-9a3d-f047e7786181"
}
} }

View File

@ -1,7 +1,6 @@
{ {
"health_monitors":[ "health_monitors":[
{ {
"status":"ACTIVE",
"admin_state_up":true, "admin_state_up":true,
"tenant_id":"83657cfcdfe44cd5920adaf26c48ceea", "tenant_id":"83657cfcdfe44cd5920adaf26c48ceea",
"delay":10, "delay":10,
@ -11,7 +10,6 @@
"id":"466c8345-28d8-4f84-a246-e04380b0461d" "id":"466c8345-28d8-4f84-a246-e04380b0461d"
}, },
{ {
"status":"ACTIVE",
"admin_state_up":true, "admin_state_up":true,
"tenant_id":"83657cfcdfe44cd5920adaf26c48ceea", "tenant_id":"83657cfcdfe44cd5920adaf26c48ceea",
"delay":5, "delay":5,

View File

@ -1,6 +1,5 @@
{ {
"health_monitor": { "health_monitor": {
"status": "ACTIVE",
"admin_state_up": true, "admin_state_up": true,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "tenant_id": "83657cfcdfe44cd5920adaf26c48ceea",
"delay": 5, "delay": 5,

View File

@ -1,5 +1,5 @@
{ {
"health_monitor": { "health_monitor":{
"delay": "30" "delay":"3"
} }
} }

View File

@ -1,12 +1,17 @@
{ {
"health_monitor": { "health_monitor":{
"status": "PENDING_UPDATE", "admin_state_up":true,
"admin_state_up": true, "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "delay":3,
"delay": 30, "expected_codes":"200",
"max_retries": 1, "max_retries":1,
"timeout": 1, "http_method":"GET",
"type": "PING", "timeout":1,
"id": "466c8345-28d8-4f84-a246-e04380b0461d" "pools":[
}
],
"url_path":"/",
"type":"HTTP",
"id":"b624decf-d5d3-4c66-9a3d-f047e7786181"
}
} }

View File

@ -1,5 +1,5 @@
{ {
"health_monitor": { "health_monitor":{
"id": "ada338f0-10d0-4326-b02e-cc123114f240" "id":"b624decf-d5d3-4c66-9a3d-f047e7786181"
} }
} }

View File

@ -1,3 +1,5 @@
{ {
"health_monitor": {} "health_monitor":{
}
} }

View File

@ -1,9 +1,8 @@
{ {
"member": { "member":{
"protocol_port": "8080", "protocol_port":"8080",
"address": "10.0.0.5", "address":"10.0.0.5",
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"weight": "2", "admin_state_up":true
"admin_state_up": true }
}
} }

View File

@ -1,12 +1,13 @@
{ {
"member": { "member":{
"status": "PENDING_CREATE", "status":"PENDING_CREATE",
"weight": 2, "protocol_port":8080,
"admin_state_up": true, "weight":1,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "admin_state_up":true,
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"address": "10.0.0.5", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"protocol_port": 8080, "address":"10.0.0.5",
"id": "b9a7012a-1097-45b2-a973-6572973619bc" "status_description":null,
} "id":"48a471ea-64f1-4eb6-9be7-dae6bbe40a0f"
}
} }

View File

@ -1,24 +1,15 @@
{ {
"members": [ "members":[
{ {
"status": "ACTIVE", "status":"PENDING_CREATE",
"weight": 1, "protocol_port":8080,
"admin_state_up": true, "weight":1,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "admin_state_up":true,
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"address": "10.0.0.4", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"protocol_port": 80, "address":"10.0.0.5",
"id": "701b531b-111a-4f21-ad85-4795b7b12af6" "status_description":null,
}, "id":"48a471ea-64f1-4eb6-9be7-dae6bbe40a0f"
{ }
"status": "ACTIVE", ]
"weight": 1,
"admin_state_up": true,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea",
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab",
"address": "10.0.0.3",
"protocol_port": 80,
"id": "beb53b4d-230b-4abd-8118-575b8fa006ef"
}
]
} }

View File

@ -1,12 +1,13 @@
{ {
"member": { "member":{
"status": "ACTIVE", "status":"PENDING_CREATE",
"weight": 1, "protocol_port":8080,
"admin_state_up": true, "weight":1,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "admin_state_up":true,
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"address": "10.0.0.4", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"protocol_port": 80, "address":"10.0.0.5",
"id": "701b531b-111a-4f21-ad85-4795b7b12af6" "status_description":null,
} "id":"48a471ea-64f1-4eb6-9be7-dae6bbe40a0f"
}
} }

View File

@ -1,5 +1,5 @@
{ {
"member": { "member":{
"admin_state_up": false "admin_state_up":"False"
} }
} }

View File

@ -1,12 +1,13 @@
{ {
"member": { "member":{
"status": "PENDING_UPDATE", "status":"PENDING_UPDATE",
"weight": 5, "protocol_port":8080,
"admin_state_up": false, "weight":1,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "admin_state_up":false,
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"address": "10.0.0.5", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"protocol_port": 8080, "address":"10.0.0.5",
"id": "b9a7012a-1097-45b2-a973-6572973619bc" "status_description":null,
} "id":"48a471ea-64f1-4eb6-9be7-dae6bbe40a0f"
}
} }

View File

@ -1,9 +1,9 @@
{ {
"pool": { "pool":{
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"lb_method": "ROUND_ROBIN", "lb_method":"SOURCE_IP",
"protocol": "TCP", "protocol":"HTTP",
"name": "NewPool", "name":"mypool",
"admin_state_up": true "admin_state_up":true
} }
} }

View File

@ -1,16 +1,25 @@
{ {
"pool": { "pool":{
"status": "PENDING_CREATE", "status":"PENDING_CREATE",
"lb_method": "STATIC_IP", "lb_method":"SOURCE_IP",
"protocol": "TCP", "protocol":"HTTP",
"description": "", "description":"",
"health_monitors": [], "health_monitors":[
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861",
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", ],
"admin_state_up": true, "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"name": "NewPool", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"members": [], "admin_state_up":true,
"id": "a224402b-794b-4c0c-9d08-d95640a6f5a1", "name":"mypool",
"vip_id": null "health_monitors_status":[
}
],
"members":[
],
"provider":"haproxy",
"status_description":null,
"id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"vip_id":null
}
} }

View File

@ -1,24 +1,27 @@
{ {
"pools": [ "pools":[
{ {
"status": "ACTIVE", "status":"PENDING_CREATE",
"lb_method": "ROUND_ROBIN", "lb_method":"SOURCE_IP",
"protocol": "HTTP", "protocol":"HTTP",
"description": "", "description":"",
"health_monitors": [ "health_monitors":[
"466c8345-28d8-4f84-a246-e04380b0461d",
"5d4b5228-33b0-4e60-b225-9b727c1a20e7" ],
], "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "admin_state_up":true,
"admin_state_up": true, "name":"mypool",
"name": "app_pool", "health_monitors_status":[
"members": [
"701b531b-111a-4f21-ad85-4795b7b12af6", ],
"beb53b4d-230b-4abd-8118-575b8fa006ef" "members":[
],
"id": "72741b06-df4d-4715-b142-276b6bce75ab", ],
"vip_id": "4ec89087-d057-4e2c-911f-60a3b47ee304" "provider":"haproxy",
} "status_description":null,
] "id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"vip_id":null
}
]
} }

View File

@ -1,22 +1,25 @@
{ {
"pool": { "pool":{
"status": "ACTIVE", "status":"PENDING_CREATE",
"lb_method": "ROUND_ROBIN", "lb_method":"SOURCE_IP",
"protocol": "HTTP", "protocol":"HTTP",
"description": "", "description":"",
"health_monitors": [ "health_monitors":[
"466c8345-28d8-4f84-a246-e04380b0461d",
"5d4b5228-33b0-4e60-b225-9b727c1a20e7" ],
], "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "admin_state_up":true,
"admin_state_up": true, "name":"mypool",
"name": "app_pool", "health_monitors_status":[
"members": [
"701b531b-111a-4f21-ad85-4795b7b12af6", ],
"beb53b4d-230b-4abd-8118-575b8fa006ef" "members":[
],
"id": "72741b06-df4d-4715-b142-276b6bce75ab", ],
"vip_id": "4ec89087-d057-4e2c-911f-60a3b47ee304" "provider":"haproxy",
} "status_description":null,
"id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"vip_id":null
}
} }

View File

@ -1,5 +1,5 @@
{ {
"pool": { "pool":{
"name": "SuperPool" "name":"SuperPool"
} }
} }

View File

@ -1,16 +1,25 @@
{ {
"pool": { "pool":{
"status": "PENDING_UPDATE", "status":"PENDING_UPDATE",
"lb_method": "ROUND_ROBIN", "lb_method":"SOURCE_IP",
"protocol": "TCP", "protocol":"HTTP",
"description": "", "description":"",
"health_monitors": [], "health_monitors":[
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861",
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", ],
"admin_state_up": true, "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"name": "SuperPool", "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"members": [], "admin_state_up":true,
"id": "61b1f87a-7a21-4ad3-9dda-7f81d249944f", "name":"SuperPool",
"vip_id": null "health_monitors_status":[
}
],
"members":[
],
"provider":"haproxy",
"status_description":null,
"id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"vip_id":null
}
} }

View File

@ -1,10 +1,10 @@
{ {
"vip": { "vip":{
"protocol": "HTTP", "protocol":"HTTP",
"name": "NewVip", "name":"myvip",
"admin_state_up": true, "admin_state_up":true,
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"pool_id": "61b1f87a-7a21-4ad3-9dda-7f81d249944f", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"protocol_port": "80" "protocol_port":"80"
} }
} }

View File

@ -1,17 +1,18 @@
{ {
"vip": { "vip":{
"status": "PENDING_CREATE", "status":"PENDING_CREATE",
"protocol": "HTTP", "status_description":null,
"description": "", "protocol":"HTTP",
"admin_state_up": true, "description":"",
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "admin_state_up":true,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"connection_limit": -1, "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"pool_id": "61b1f87a-7a21-4ad3-9dda-7f81d249944f", "connection_limit":-1,
"address": "10.0.0.11", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"protocol_port": 80, "address":"192.0.0.3",
"port_id": "f7e6fe6a-b8b5-43a8-8215-73456b32e0f5", "protocol_port":80,
"id": "c987d2be-9a3c-4ac9-a046-e8716b1350e2", "port_id":"36242e87-0bae-49d7-bc59-a0867476c69a",
"name": "NewVip" "id":"a54bc6e7-2e28-4c55-a676-6146a4c0f8b9",
} "name":"myvip"
}
} }

View File

@ -1,23 +1,20 @@
{ {
"vips": [ "vips":[
{ {
"status": "ACTIVE", "status":"ACTIVE",
"protocol": "HTTP", "status_description":null,
"description": "", "protocol":"HTTP",
"admin_state_up": true, "description":"",
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "admin_state_up":true,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"connection_limit": 1000, "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab", "connection_limit":-1,
"session_persistence": { "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"cookie_name": "MyAppCookie", "address":"192.0.0.3",
"type": "APP_COOKIE" "protocol_port":80,
}, "port_id":"36242e87-0bae-49d7-bc59-a0867476c69a",
"address": "10.0.0.10", "id":"a54bc6e7-2e28-4c55-a676-6146a4c0f8b9",
"protocol_port": 80, "name":"myvip"
"port_id": "b5a743d6-056b-468b-862d-fb13a9aa694e", }
"id": "4ec89087-d057-4e2c-911f-60a3b47ee304", ]
"name": "my-vip"
}
]
} }

View File

@ -1,21 +1,18 @@
{ {
"vip": { "vip":{
"status": "ACTIVE", "status":"ACTIVE",
"protocol": "HTTP", "status_description":null,
"description": "", "protocol":"HTTP",
"admin_state_up": true, "description":"",
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "admin_state_up":true,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"connection_limit": 1000, "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"pool_id": "72741b06-df4d-4715-b142-276b6bce75ab", "connection_limit":-1,
"session_persistence": { "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"cookie_name": "MyAppCookie", "address":"192.0.0.3",
"type": "APP_COOKIE" "protocol_port":80,
}, "port_id":"36242e87-0bae-49d7-bc59-a0867476c69a",
"address": "10.0.0.10", "id":"a54bc6e7-2e28-4c55-a676-6146a4c0f8b9",
"protocol_port": 80, "name":"myvip"
"port_id": "b5a743d6-056b-468b-862d-fb13a9aa694e", }
"id": "4ec89087-d057-4e2c-911f-60a3b47ee304",
"name": "my-vip"
}
} }

View File

@ -1,5 +1,5 @@
{ {
"vip": { "vip":{
"connection_limit": "1000" "connection_limit":"1000"
} }
} }

View File

@ -1,17 +1,18 @@
{ {
"vip": { "vip":{
"status": "PENDING_UPDATE", "status":"PENDING_UPDATE",
"protocol": "HTTP", "status_description":null,
"description": "", "protocol":"HTTP",
"admin_state_up": true, "description":"",
"subnet_id": "8032909d-47a1-4715-90af-5153ffe39861", "admin_state_up":true,
"tenant_id": "83657cfcdfe44cd5920adaf26c48ceea", "subnet_id":"54d6f61d-db07-451c-9ab3-b9609b6b6f0b",
"connection_limit": 1000, "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
"pool_id": "61b1f87a-7a21-4ad3-9dda-7f81d249944f", "connection_limit":1000,
"address": "10.0.0.11", "pool_id":"7803631d-f181-4500-b3a2-1b68ba2a75fd",
"protocol_port": 80, "address":"192.0.0.3",
"port_id": "f7e6fe6a-b8b5-43a8-8215-73456b32e0f5", "protocol_port":80,
"id": "c987d2be-9a3c-4ac9-a046-e8716b1350e2", "port_id":"36242e87-0bae-49d7-bc59-a0867476c69a",
"name": "NewVip" "id":"a54bc6e7-2e28-4c55-a676-6146a4c0f8b9",
} "name":"myvip"
}
} }

File diff suppressed because it is too large Load Diff