From bf28262ab8f23b92bc5ae6386aeec4dcb47e25ec Mon Sep 17 00:00:00 2001 From: "sharat.sharma" Date: Tue, 5 Apr 2016 12:38:43 +0530 Subject: [PATCH] [api-ref] Changed the v2 parameters to lb_algorithms The lb_method parameter has been changed to lb_algorithm in the v2 but still there were some places where the lb_method was mentioned in the v2 version. This patch removes the lb_method and replaces with lb_algorithm. Change-Id: Iffac6db09a66b5c6391eca143d721293a69964c6 Closes-Bug: #1566138 --- api-ref/src/wadls/networking-api/src/common.ent | 2 +- .../networking-api/src/samples/lbaas/pool-create-request.json | 2 +- .../networking-api/src/samples/lbaas/pool-create-response.json | 2 +- .../networking-api/src/samples/lbaas/pool-show-response.json | 2 +- .../networking-api/src/samples/lbaas/pool-update-response.json | 2 +- .../networking-api/src/samples/lbaas/pools-list-response.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api-ref/src/wadls/networking-api/src/common.ent b/api-ref/src/wadls/networking-api/src/common.ent index d051afee6..b13a4ba9b 100644 --- a/api-ref/src/wadls/networking-api/src/common.ent +++ b/api-ref/src/wadls/networking-api/src/common.ent @@ -4267,7 +4267,7 @@ + name="lb_algorithm" style="plain" type="xsd:string"> diff --git a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-request.json b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-request.json index dc5d38ac1..7797cd1b6 100644 --- a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-request.json +++ b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-request.json @@ -2,7 +2,7 @@ "pool": { "admin_state_up": true, "description": "simple pool", - "lb_method": "ROUND_ROBIN", + "lb_algorithm": "ROUND_ROBIN", "name": "my-pool", "protocol": "HTTP", "subnet_id": "e301aed0-d9e7-498a-977c-1bbfaf14ed5d" diff --git a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-response.json b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-response.json index 14e010b82..722657dfd 100644 --- a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-response.json +++ b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-create-response.json @@ -1,7 +1,7 @@ { "pool": { "status": "PENDING_CREATE", - "lb_method": "ROUND_ROBIN", + "lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "simple pool", "health_monitors": [], diff --git a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-show-response.json b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-show-response.json index da65dd34d..2756ff2a4 100644 --- a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-show-response.json +++ b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-show-response.json @@ -1,7 +1,7 @@ { "pool": { "status": "ACTIVE", - "lb_method": "ROUND_ROBIN", + "lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "health_monitors": [ diff --git a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-update-response.json b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-update-response.json index 7a2d6f11c..0ba4ae477 100644 --- a/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-update-response.json +++ b/api-ref/src/wadls/networking-api/src/samples/lbaas/pool-update-response.json @@ -1,7 +1,7 @@ { "pool": { "status": "PENDING_UPDATE", - "lb_method": "ROUND_ROBIN", + "lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "health_monitors": [ diff --git a/api-ref/src/wadls/networking-api/src/samples/lbaas/pools-list-response.json b/api-ref/src/wadls/networking-api/src/samples/lbaas/pools-list-response.json index 64c30cdb0..bdd36ce3e 100644 --- a/api-ref/src/wadls/networking-api/src/samples/lbaas/pools-list-response.json +++ b/api-ref/src/wadls/networking-api/src/samples/lbaas/pools-list-response.json @@ -2,7 +2,7 @@ "pools": [ { "status": "ACTIVE", - "lb_method": "ROUND_ROBIN", + "lb_algorithm": "ROUND_ROBIN", "protocol": "HTTP", "description": "", "health_monitors": [