Setter method for duplicateWWN, mapped from YANG variable /rbridge_id/fabric/login_policy/duplicateWWN (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_duplicateWWN is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_duplicateWWN() directly.

    YANG Description: It decides the DuplicateWWN login policy of a switch
in a fabric.The below mentioned policies are supported.
- old login will have precedence.(Default behavior)
- new or second(dup) login takes precedence.

def _set_duplicateWWN(self, v, load=False):
    """
    Setter method for duplicateWWN, mapped from YANG variable /rbridge_id/fabric/login_policy/duplicateWWN (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_duplicateWWN is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_duplicateWWN() directly.

    YANG Description: It decides the DuplicateWWN login policy of a switch
in a fabric.The below mentioned policies are supported.
- old login will have precedence.(Default behavior)
- new or second(dup) login takes precedence.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=duplicateWWN.duplicateWWN, is_container='container', presence=False, yang_name="duplicateWWN", rest_name="duplicateWWN", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-add-mode': None, u'cli-full-command': None, u'info': u'Configure the DuplicateWWN login policy of a switch in fabric.'}}, namespace='urn:brocade.com:mgmt:brocade-fabric-service', defining_module='brocade-fabric-service', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """duplicateWWN must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=duplicateWWN.duplicateWWN, is_container='container', presence=False, yang_name="duplicateWWN", rest_name="duplicateWWN", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-add-mode': None, u'cli-full-command': None, u'info': u'Configure the DuplicateWWN login policy of a switch in fabric.'}}, namespace='urn:brocade.com:mgmt:brocade-fabric-service', defining_module='brocade-fabric-service', yang_type='container', is_config=True)""",
        })

    self.__duplicateWWN = t
    if hasattr(self, '_set'):
      self._set()