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

    YANG Description: Trace a TRILL route from the provided host-source-mac to host-dest-mac

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

    YANG Description: Trace a TRILL route from the provided host-source-mac to host-dest-mac
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=l2traceroute.l2traceroute, is_leaf=True, yang_name="l2traceroute", rest_name="l2traceroute", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'tailf-common': {u'hidden': u'rpccmd', u'actionpoint': u'l2traceroute-action-point'}}, namespace='urn:brocade.com:mgmt:brocade-trilloam', defining_module='brocade-trilloam', yang_type='rpc', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """l2traceroute must be of a type compatible with rpc""",
          'defined-type': "rpc",
          'generated-type': """YANGDynClass(base=l2traceroute.l2traceroute, is_leaf=True, yang_name="l2traceroute", rest_name="l2traceroute", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'tailf-common': {u'hidden': u'rpccmd', u'actionpoint': u'l2traceroute-action-point'}}, namespace='urn:brocade.com:mgmt:brocade-trilloam', defining_module='brocade-trilloam', yang_type='rpc', is_config=True)""",
        })

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