def _set_sport_number_eq_neq_tcp(self, v, load=False):
    """
    Setter method for sport_number_eq_neq_tcp, mapped from YANG variable /ipv6_acl/ipv6/access_list/extended/seq/sport_number_eq_neq_tcp (union)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_sport_number_eq_neq_tcp is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_sport_number_eq_neq_tcp() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=[RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'ftp': {'value': 21}, u'domain': {'value': 53}, u'tacacs': {'value': 49}, u'hostname': {'value': 101}, u'smtp': {'value': 25}, u'www': {'value': 80}, u'telnet': {'value': 23}, u'echo': {'value': 7}, u'bgp': {'value': 179}, u'syslog': {'value': 514}, u'ftp-data': {'value': 20}, u'daytime': {'value': 13}, u'time': {'value': 37}, u'pim-auto-rp': {'value': 496}, u'login': {'value': 513}, u'talk': {'value': 517}},),RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'0 .. 65535']}),], is_leaf=True, yang_name="sport-number-eq-neq-tcp", rest_name="sport-number-eq-neq-tcp", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-drop-node-name': None, u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-ipv6-access-list', defining_module='brocade-ipv6-access-list', yang_type='union', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """sport_number_eq_neq_tcp must be of a type compatible with union""",
          'defined-type': "brocade-ipv6-access-list:union",
          'generated-type': """YANGDynClass(base=[RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'ftp': {'value': 21}, u'domain': {'value': 53}, u'tacacs': {'value': 49}, u'hostname': {'value': 101}, u'smtp': {'value': 25}, u'www': {'value': 80}, u'telnet': {'value': 23}, u'echo': {'value': 7}, u'bgp': {'value': 179}, u'syslog': {'value': 514}, u'ftp-data': {'value': 20}, u'daytime': {'value': 13}, u'time': {'value': 37}, u'pim-auto-rp': {'value': 496}, u'login': {'value': 513}, u'talk': {'value': 517}},),RestrictedClassType(base_type=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), restriction_dict={'range': [u'0 .. 65535']}),], is_leaf=True, yang_name="sport-number-eq-neq-tcp", rest_name="sport-number-eq-neq-tcp", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'cli-drop-node-name': None, u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-ipv6-access-list', defining_module='brocade-ipv6-access-list', yang_type='union', is_config=True)""",
        })

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