

def populate_availability_zone_choices(self, request, context):
    az_list = [(None, _('No availability zone specified'))]
    az_list.extend([(az.zoneName, az.zoneName) for az in nova_utils.availability_zone_list(request) if az.zoneState['available']])
    return az_list

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/dashboards/project/data_processing/nodegroup_templates/workflows/create.py GeneralConfigAction.populate_availability_zone_choices/original