'Gets the FC target details.'

def get_fc_target_wwpns(self):

    wwpns = []
    port_name_list_api = netapp_api.NaElement('fcp-port-name-get-iter')
    port_name_list_api.add_new_child('max-records', '100')
    result = self.connection.invoke_successfully(port_name_list_api, True)
    num_records = result.get_child_content('num-records')
    if (num_records and (int(num_records) >= 1)):
        for port_name_info in result.get_child_by_name('attributes-list').get_children():
            if (port_name_info.get_child_content('is-used') != 'true'):
                continue
            wwpn = port_name_info.get_child_content('port-name').lower()
            wwpns.append(wwpn)
    return wwpns
