'Retrieve the wwpns from the array'

def get_wwpns_from_array(self, array_name):

    LOG.debug('get_wwpns_from_array    %s', array_name)
    target_wwpns = []
    interface_info = self.APIExecutor.get_fc_interface_list(array_name)
    LOG.info('interface_info    %(interface_info)s', {'interface_info': interface_info})
    for wwpn_list in interface_info:
        wwpn = wwpn_list['wwpn']
        wwpn = wwpn.replace(':', '')
        target_wwpns.append(wwpn)
    return target_wwpns
