def _set_vlan_type(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="<STR_LIT>",                                     restriction_arg={u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:2>}, u'<STR_LIT>': {'<STR_LIT:value>': <NUM_LIT:1>}},), is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT>', is_config=True)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__vlan_type = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for vlan_type, mapped from YANG variable /brocade_interface_ext_rpc/get_vlan_brief/output/vlan/vlan_type (enumeration)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_vlan_type is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_vlan_type() directly.

    YANG Description: This indicates the type of the vlan. 
The 'fcoe' value indicates that the vlan 
corresponding to it is an FCOE vlan.
The 'static' value indicates that the vlan 
corresponding to it is a Static vlan.