From 0706b7e15546f5e5a7e16c8412c3d8f501ca8ffe Mon Sep 17 00:00:00 2001 From: Albert Mikaelyan Date: Fri, 2 Mar 2018 17:49:18 +0200 Subject: [PATCH] Remove non used variables Remove the proto, port and url_v2 variables and set only the needed and used internaluri variable. This is part of a cleanup that we started at ptg to remove variables that present only to create other variables. Such variables are not needed and should be removed to conserve memory. Depends-On: I6fa28dcdb251da4592e10b288d15a208e83b097d Depends-On: I891b94a8fb452e9fb5166e7c322d152060efdcce Change-Id: Ie74669fa1660e11acb0dec481a3a01fdc066bc27 --- inventory/group_vars/all/octavia.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/inventory/group_vars/all/octavia.yml b/inventory/group_vars/all/octavia.yml index fcdbf08cf1..5f878a7cf9 100644 --- a/inventory/group_vars/all/octavia.yml +++ b/inventory/group_vars/all/octavia.yml @@ -13,10 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. -octavia_service_port: 9876 -octavia_service_proto: http -octavia_service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(octavia_service_proto) }}" -octavia_service_internaluri: "{{ octavia_service_internaluri_proto }}://{{ internal_lb_vip_address }}:{{ octavia_service_port }}" - -# this var below is referenced by neutron if Octavia is activated with V1 API -octavia_service_url: "{{ octavia_service_internaluri }}" \ No newline at end of file +# used by neutron role to specify octavia v1 service url +octavia_service_internaluri: "http://{{ internal_lb_vip_address }}:9876"