def _set_status(self, v, load=False):
    '\n    Setter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)\n    If this variable is read-only (config: false) in the\n    source YANG file, then _set_status is considered as a private\n    method. Backends looking to populate this variable should\n    do so via calling thisObj._set_status() directly.\n\n    YANG Description: Status\n    '
    if hasattr(v, '_utype'):
        v = v._utype(v)
    try:
        t = YANGDynClass(v, base=RestrictedClassType(base_type=unicode, restriction_type='dict_key', restriction_arg={u'dcm-flow-pending-modify': {'value': 3}, u'dcm-flow-programmed': {'value': 4}, u'dcm-flow-pending-add': {'value': 1}, u'dcm-flow-pending-delete': {'value': 2}, u'dcm-flow-not-programmed': {'value': 0}}), is_leaf=True, yang_name='status', rest_name='status', parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='urn:brocade.com:mgmt:brocade-openflow-operational', defining_module='brocade-openflow-operational', yang_type='flow-status', is_config=False)
    except (TypeError, ValueError):
        raise ValueError({'error-string': 'status must be of a type compatible with flow-status', 'defined-type': 'brocade-openflow-operational:flow-status', 'generated-type': 'YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u\'dcm-flow-pending-modify\': {\'value\': 3}, u\'dcm-flow-programmed\': {\'value\': 4}, u\'dcm-flow-pending-add\': {\'value\': 1}, u\'dcm-flow-pending-delete\': {\'value\': 2}, u\'dcm-flow-not-programmed\': {\'value\': 0}},), is_leaf=True, yang_name="status", rest_name="status", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace=\'urn:brocade.com:mgmt:brocade-openflow-operational\', defining_module=\'brocade-openflow-operational\', yang_type=\'flow-status\', is_config=False)'})
    self.__status = t
    if hasattr(self, '_set'):
        self._set()
Setter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)
If this variable is read-only (config: false) in the
source YANG file, then _set_status is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_status() directly.

YANG Description: Status
def _set_status(self, v, load=False):
    '\n    Setter method for status, mapped from YANG variable /openflow_state/flow_id/status (flow-status)\n    If this variable is read-only (config: false) in the\n    source YANG file, then _set_status is considered as a private\n    method. Backends looking to populate this variable should\n    do so via calling thisObj._set_status() directly.\n\n    YANG Description: Status\n    '
    if hasattr(v, '_utype'):
        v = v._utype(v)
    try:
        t = YANGDynClass(v, base=RestrictedClassType(base_type=unicode, restriction_type='dict_key', restriction_arg={u'dcm-flow-pending-modify': {'value': 3}, u'dcm-flow-programmed': {'value': 4}, u'dcm-flow-pending-add': {'value': 1}, u'dcm-flow-pending-delete': {'value': 2}, u'dcm-flow-not-programmed': {'value': 0}}), is_leaf=True, yang_name='status', rest_name='status', parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace='urn:brocade.com:mgmt:brocade-openflow-operational', defining_module='brocade-openflow-operational', yang_type='flow-status', is_config=False)
    except (TypeError, ValueError):
        raise ValueError({'error-string': 'status must be of a type compatible with flow-status', 'defined-type': 'brocade-openflow-operational:flow-status', 'generated-type': 'YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u\'dcm-flow-pending-modify\': {\'value\': 3}, u\'dcm-flow-programmed\': {\'value\': 4}, u\'dcm-flow-pending-add\': {\'value\': 1}, u\'dcm-flow-pending-delete\': {\'value\': 2}, u\'dcm-flow-not-programmed\': {\'value\': 0}},), is_leaf=True, yang_name="status", rest_name="status", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, namespace=\'urn:brocade.com:mgmt:brocade-openflow-operational\', defining_module=\'brocade-openflow-operational\', yang_type=\'flow-status\', is_config=False)'})
    self.__status = t
    if hasattr(self, '_set'):
        self._set()