def update_initiators(self, iqns=None, wwns=None):
<EOL>iqns = set(iqns) if iqns else set()<EOL>current_iqns = set()<EOL>if self.iscsi_host_initiators:<EOL><INDENT>current_iqns = {initiator.initiator_id<EOL>for initiator in self.iscsi_host_initiators}<EOL><DEDENT>wwns = set(wwns) if wwns else set()<EOL>current_wwns = set()<EOL>if self.fc_host_initiators:<EOL><INDENT>current_wwns = {initiator.initiator_id<EOL>for initiator in self.fc_host_initiators}<EOL><DEDENT>updater = UnityHostInitiatorUpdater(<EOL>self, current_iqns | current_wwns, iqns | wwns)<EOL>return updater.update()<EOL>
Primarily for puppet-unity use.

        Update the iSCSI and FC initiators if needed.