Setter method for default_forwarding_action, mapped from YANG variable /rbridge_id/openflow/logical_instance/default_forwarding_action (enumeration)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_default_forwarding_action is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_default_forwarding_action() directly.

    YANG Description: Default MISS behavior for this logical instance

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

    YANG Description: Default MISS behavior for this logical instance
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'drop': {'value': 2}, u'send-to-controller': {'value': 1}},), default=unicode("drop"), is_leaf=True, yang_name="default-forwarding-action", rest_name="default-behavior", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Default MISS behavior for this logical instance', u'cli-full-command': None, u'alt-name': u'default-behavior'}}, namespace='urn:brocade.com:mgmt:brocade-openflow', defining_module='brocade-openflow', yang_type='enumeration', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """default_forwarding_action must be of a type compatible with enumeration""",
          'defined-type': "brocade-openflow:enumeration",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'drop': {'value': 2}, u'send-to-controller': {'value': 1}},), default=unicode("drop"), is_leaf=True, yang_name="default-forwarding-action", rest_name="default-behavior", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Default MISS behavior for this logical instance', u'cli-full-command': None, u'alt-name': u'default-behavior'}}, namespace='urn:brocade.com:mgmt:brocade-openflow', defining_module='brocade-openflow', yang_type='enumeration', is_config=True)""",
        })

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