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

    YANG Description: Transparent vlan

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

    YANG Description: Transparent vlan
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), restriction_dict={'range': [u'1..1000']}), is_leaf=True, yang_name="transport-service", rest_name="transport-service", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u' Set tlsid for Transparent vlan ', u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_L2_TRANSPORT_CONFIG'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='uint16', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """transport_service must be of a type compatible with uint16""",
          'defined-type': "uint16",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=RestrictedClassType(base_type=int, restriction_dict={'range': ['0..65535']},int_size=16), restriction_dict={'range': [u'1..1000']}), is_leaf=True, yang_name="transport-service", rest_name="transport-service", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u' Set tlsid for Transparent vlan ', u'sort-priority': u'RUNNCFG_INTERFACE_LEVEL_L2_TRANSPORT_CONFIG'}}, namespace='urn:brocade.com:mgmt:brocade-interface', defining_module='brocade-interface', yang_type='uint16', is_config=True)""",
        })

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