'Add FC WWPNs to system node information.'

def add_fc_wwpns(self, storage_nodes):

    for key in storage_nodes:
        node = storage_nodes[key]
        wwpns = set(node['WWPN'])
        resp = self.ssh.lsportfc(node_id=node['id'])
        for port_info in resp:
            if ((port_info['type'] == 'fc') and (port_info['status'] == 'active')):
                wwpns.add(port_info['WWPN'])
        node['WWPN'] = list(wwpns)
        LOG.info('WWPN    on    node    %(node)s:    %(wwpn)s.', {'node': node['id'], 'wwpn': node['WWPN']})
