diff --git a/heat/engine/resources/openstack/neutron/lbaas/loadbalancer.py b/heat/engine/resources/openstack/neutron/lbaas/loadbalancer.py index 0639252d13..b18a4d1b8a 100644 --- a/heat/engine/resources/openstack/neutron/lbaas/loadbalancer.py +++ b/heat/engine/resources/openstack/neutron/lbaas/loadbalancer.py @@ -48,9 +48,9 @@ class LoadBalancer(neutron.NeutronResource): ) ATTRIBUTES = ( - VIP_ADDRESS_ATTR, VIP_PORT_ATTR, VIP_SUBNET_ATTR + VIP_ADDRESS_ATTR, VIP_PORT_ATTR, VIP_SUBNET_ATTR, POOLS_ATTR ) = ( - 'vip_address', 'vip_port_id', 'vip_subnet_id' + 'vip_address', 'vip_port_id', 'vip_subnet_id', 'pools' ) properties_schema = { @@ -117,7 +117,12 @@ class LoadBalancer(neutron.NeutronResource): VIP_SUBNET_ATTR: attributes.Schema( _('The VIP subnet of the LoadBalancer.'), type=attributes.Schema.STRING - ) + ), + POOLS_ATTR: attributes.Schema( + _('Pools this LoadBalancer is associated with.'), + type=attributes.Schema.LIST, + support_status=support.SupportStatus(version='9.0.0') + ), } def translation_rules(self, props):