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

    YANG Description: This indicates query is based on the port profile 
status. Profiles are not filtered based on the
status when this parameter is not specified
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'applied': {'value': 3}, u'associated': {'value': 2}, u'activated': {'value': 1}},), is_leaf=True, yang_name="port-profile-status", rest_name="port-profile-status", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='urn:brocade.com:mgmt:brocade-port-profile-ext', defining_module='brocade-port-profile-ext', yang_type='enumeration', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """port_profile_status must be of a type compatible with enumeration""",
          'defined-type': "brocade-port-profile-ext:enumeration",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'applied': {'value': 3}, u'associated': {'value': 2}, u'activated': {'value': 1}},), is_leaf=True, yang_name="port-profile-status", rest_name="port-profile-status", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='urn:brocade.com:mgmt:brocade-port-profile-ext', defining_module='brocade-port-profile-ext', yang_type='enumeration', is_config=True)""",
        })

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