def _set_mpls_traffic_fecs(self, v, load=False):
    """
    Setter method for mpls_traffic_fecs, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/mpls_traffic_fecs (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_mpls_traffic_fecs is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_mpls_traffic_fecs() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("mpls_traffic_fec_address",mpls_traffic_fecs.mpls_traffic_fecs, yang_name="mpls-traffic-fecs", rest_name="fec", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='mpls-traffic-fec-address', extensions={u'tailf-common': {u'callpoint': u'Mplstrafficfec', u'cli-suppress-mode': None, u'alt-name': u'fec', u'info': u'MPLS Stats profile by FEC address', u'cli-suppress-list-no': None}}), is_container='list', yang_name="mpls-traffic-fecs", rest_name="fec", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'Mplstrafficfec', u'cli-suppress-mode': None, u'alt-name': u'fec', u'info': u'MPLS Stats profile by FEC address', u'cli-suppress-list-no': None}}, namespace='urn:brocade.com:mgmt:brocade-telemetry', defining_module='brocade-telemetry', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """mpls_traffic_fecs must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("mpls_traffic_fec_address",mpls_traffic_fecs.mpls_traffic_fecs, yang_name="mpls-traffic-fecs", rest_name="fec", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='mpls-traffic-fec-address', extensions={u'tailf-common': {u'callpoint': u'Mplstrafficfec', u'cli-suppress-mode': None, u'alt-name': u'fec', u'info': u'MPLS Stats profile by FEC address', u'cli-suppress-list-no': None}}), is_container='list', yang_name="mpls-traffic-fecs", rest_name="fec", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'callpoint': u'Mplstrafficfec', u'cli-suppress-mode': None, u'alt-name': u'fec', u'info': u'MPLS Stats profile by FEC address', u'cli-suppress-list-no': None}}, namespace='urn:brocade.com:mgmt:brocade-telemetry', defining_module='brocade-telemetry', yang_type='list', is_config=True)""",
        })

    self.__mpls_traffic_fecs = t
    if hasattr(self, '_set'):
      self._set()
Setter method for mpls_traffic_fecs, mapped from YANG variable /telemetry/profile/mpls_traffic_fec/mpls_traffic_fecs (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_mpls_traffic_fecs is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_mpls_traffic_fecs() directly.