diff options
author | Rabi Mishra <ramishra@redhat.com> | 2018-11-22 19:18:07 +0530 |
---|---|---|
committer | Rabi Mishra <ramishra@redhat.com> | 2018-11-22 19:31:28 +0530 |
commit | 2b4eb5d9e38b5643fb792b1cc8eee6140c52042b (patch) | |
tree | 1cb8da78b71cbe1b69d2825f52ac4c92f2a991d5 | |
parent | 0e0151c63ee8b3126e9ef340127a135d9494cca9 (diff) | |
download | heat-templates-2b4eb5d9e38b5643fb792b1cc8eee6140c52042b.tar.gz |
Use octavia resources for autoscaling example
lbaasv2 is probably not actively maintained.
Change-Id: Id11a47b5439f3bca05b536f15bec3e5fa92c9e56
-rw-r--r-- | hot/autoscaling.yaml | 8 | ||||
-rw-r--r-- | hot/lb_server.yaml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/hot/autoscaling.yaml b/hot/autoscaling.yaml index d6d8991..c8b0eea 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 67762b6..6d02e15 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]} |