def _set_port_fec(self, v, load=False):
if hasattr(v, "<STR_LIT>"):<EOL><INDENT>v = v._utype(v)<EOL><DEDENT>try:<EOL><INDENT>t = YANGDynClass(v,base=unicode, is_leaf=True, yang_name="<STR_LIT>", rest_name="<STR_LIT>", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'<STR_LIT>': {u'<STR_LIT:info>': u'<STR_LIT>'}}, namespace='<STR_LIT>', defining_module='<STR_LIT>', yang_type='<STR_LIT:string>', is_config=True)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError({<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>'<STR_LIT>': "<STR_LIT:string>",<EOL>'<STR_LIT>': """<STR_LIT>""",<EOL>})<EOL><DEDENT>self.__port_fec = t<EOL>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>self._set()<EOL><DEDENT>
Setter method for port_fec, mapped from YANG variable /brocade_fabric_service_rpc/show_fibrechannel_interface_info/output/show_fibrechannel_interface/show_fibrechannel_info/port_fec (string)
  If this variable is read-only (config: false) in the
  source YANG file, then _set_port_fec is considered as a private
  method. Backends looking to populate this variable should
  do so via calling thisObj._set_port_fec() directly.

  YANG Description: Provide port FEC operational status of a port.
Active - When FEC enabled and operational on a port. 
Inactive - When FEC is not operational on a port. 
Not Supported - When the platform doesn't support FEC feature.