Setter method for group_type, mapped from YANG variable /openflow_state/group/group_info_list/group_type (group-type)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_group_type is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_group_type() directly.

    YANG Description: Group type

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

    YANG Description: Group type
    """
    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-group-type-select': {'value': 2}, u'dcm-group-type-invalid': {'value': 0}, u'dcm-group-type-fast-failover': {'value': 4}, u'dcm-group-type-indirect': {'value': 3}, u'dcm-group-type-all': {'value': 1}},), is_leaf=True, yang_name="group-type", rest_name="group-type", 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='group-type', is_config=False)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """group_type must be of a type compatible with group-type""",
          'defined-type': "brocade-openflow-operational:group-type",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'dcm-group-type-select': {'value': 2}, u'dcm-group-type-invalid': {'value': 0}, u'dcm-group-type-fast-failover': {'value': 4}, u'dcm-group-type-indirect': {'value': 3}, u'dcm-group-type-all': {'value': 1}},), is_leaf=True, yang_name="group-type", rest_name="group-type", 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='group-type', is_config=False)""",
        })

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