Setter method for tieBreaking, mapped from YANG variable /brocade_mpls_rpc/show_mpls_te_path/input/tieBreaking (tie-breaking)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_tieBreaking is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_tieBreaking() directly.

    YANG Description: Tie breaking mode for CSPF when multiple paths to destination exists

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

    YANG Description: Tie breaking mode for CSPF when multiple paths to destination exists
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'most-fill': {'value': 2}, u'random': {'value': 0}, u'least-fill': {'value': 1}},), is_leaf=True, yang_name="tieBreaking", rest_name="tieBreaking", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='urn:brocade.com:mgmt:brocade-mpls', defining_module='brocade-mpls', yang_type='tie-breaking', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """tieBreaking must be of a type compatible with tie-breaking""",
          'defined-type': "brocade-mpls:tie-breaking",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode,                                     restriction_type="dict_key",                                     restriction_arg={u'most-fill': {'value': 2}, u'random': {'value': 0}, u'least-fill': {'value': 1}},), is_leaf=True, yang_name="tieBreaking", rest_name="tieBreaking", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, namespace='urn:brocade.com:mgmt:brocade-mpls', defining_module='brocade-mpls', yang_type='tie-breaking', is_config=True)""",
        })

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