Setter method for remote_span, mapped from YANG variable /interface_vlan/interface/vlan/remote_span (empty)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_remote_span is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_remote_span() directly.

def _set_remote_span(self, v, load=False):
    """
    Setter method for remote_span, mapped from YANG variable /interface_vlan/interface/vlan/remote_span (empty)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_remote_span is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_remote_span() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGBool, is_leaf=True, yang_name="remote-span", rest_name="rspan-vlan", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure the vlan as rspan vlan', u'alt-name': u'rspan-vlan', u'callpoint': u'interface_vlan'}}, namespace='urn:brocade.com:mgmt:brocade-span', defining_module='brocade-span', yang_type='empty', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """remote_span must be of a type compatible with empty""",
          'defined-type': "empty",
          'generated-type': """YANGDynClass(base=YANGBool, is_leaf=True, yang_name="remote-span", rest_name="rspan-vlan", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure the vlan as rspan vlan', u'alt-name': u'rspan-vlan', u'callpoint': u'interface_vlan'}}, namespace='urn:brocade.com:mgmt:brocade-span', defining_module='brocade-span', yang_type='empty', is_config=True)""",
        })

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