def _set_priority(self, v, load=False):
    '\n    Setter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)\n    If this variable is read-only (config: false) in the\n    source YANG file, then _set_priority is considered as a private\n    method. Backends looking to populate this variable should\n    do so via calling thisObj._set_priority() directly.\n\n    YANG Description: Priority\n    '
    if hasattr(v, '_utype'):
        v = v._utype(v)
    try:
        t = YANGDynClass(v, base=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='priority', rest_name='priority', 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='uint32', is_config=False)
    except (TypeError, ValueError):
        raise ValueError({'error-string': 'priority must be of a type compatible with uint32', 'defined-type': 'uint32', 'generated-type': 'YANGDynClass(base=RestrictedClassType(base_type=long, restriction_dict={\'range\': [\'0..4294967295\']}, int_size=32), is_leaf=True, yang_name="priority", rest_name="priority", 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=\'uint32\', is_config=False)'})
    self.__priority = t
    if hasattr(self, '_set'):
        self._set()
Setter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_priority is considered as a private
method. Backends looking to populate this variable should
do so via calling thisObj._set_priority() directly.

YANG Description: Priority
def _set_priority(self, v, load=False):
    '\n    Setter method for priority, mapped from YANG variable /openflow_state/flow_id/priority (uint32)\n    If this variable is read-only (config: false) in the\n    source YANG file, then _set_priority is considered as a private\n    method. Backends looking to populate this variable should\n    do so via calling thisObj._set_priority() directly.\n\n    YANG Description: Priority\n    '
    if hasattr(v, '_utype'):
        v = v._utype(v)
    try:
        t = YANGDynClass(v, base=RestrictedClassType(base_type=long, restriction_dict={'range': ['0..4294967295']}, int_size=32), is_leaf=True, yang_name='priority', rest_name='priority', 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='uint32', is_config=False)
    except (TypeError, ValueError):
        raise ValueError({'error-string': 'priority must be of a type compatible with uint32', 'defined-type': 'uint32', 'generated-type': 'YANGDynClass(base=RestrictedClassType(base_type=long, restriction_dict={\'range\': [\'0..4294967295\']}, int_size=32), is_leaf=True, yang_name="priority", rest_name="priority", 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=\'uint32\', is_config=False)'})
    self.__priority = t
    if hasattr(self, '_set'):
        self._set()