From 2b4eb5d9e38b5643fb792b1cc8eee6140c52042b Mon Sep 17 00:00:00 2001 From: Rabi Mishra Date: Thu, 22 Nov 2018 19:18:07 +0530 Subject: [PATCH] Use octavia resources for autoscaling example lbaasv2 is probably not actively maintained. Change-Id: Id11a47b5439f3bca05b536f15bec3e5fa92c9e56 --- hot/autoscaling.yaml | 8 ++++---- hot/lb_server.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hot/autoscaling.yaml b/hot/autoscaling.yaml index d6d89910..c8b0eea4 100644 --- a/hot/autoscaling.yaml +++ b/hot/autoscaling.yaml @@ -155,17 +155,17 @@ resources: - '' - - {'=': {server_group: {get_param: "OS::stack_id"}}} lb: - type: OS::Neutron::LBaaS::LoadBalancer + type: OS::Octavia::LoadBalancer properties: vip_subnet: {get_param: subnet_id} listener: - type: OS::Neutron::LBaaS::Listener + type: OS::Octavia::Listener properties: loadbalancer: {get_resource: lb} protocol: HTTP protocol_port: 80 pool: - type: OS::Neutron::LBaaS::Pool + type: OS::Octavia::Pool properties: listener: {get_resource: listener} lb_algorithm: ROUND_ROBIN @@ -173,7 +173,7 @@ resources: session_persistence: type: SOURCE_IP lb_monitor: - type: OS::Neutron::LBaaS::HealthMonitor + type: OS::Octavia::HealthMonitor properties: pool: { get_resource: pool } type: TCP diff --git a/hot/lb_server.yaml b/hot/lb_server.yaml index 67762b6f..6d02e151 100644 --- a/hot/lb_server.yaml +++ b/hot/lb_server.yaml @@ -37,7 +37,7 @@ resources: user_data_format: RAW networks: [{network: {get_param: network} }] member: - type: OS::Neutron::LBaaS::PoolMember + type: OS::Octavia::PoolMember properties: pool: {get_param: pool_id} address: {get_attr: [server, first_address]}