Setter method for traffic_eng_ospf, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_traffic_eng_ospf is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_traffic_eng_ospf() directly.

def _set_traffic_eng_ospf(self, v, load=False):
    """
    Setter method for traffic_eng_ospf, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/policy/traffic_engineering/traffic_eng_ospf (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_traffic_eng_ospf is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_traffic_eng_ospf() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=traffic_eng_ospf.traffic_eng_ospf, is_container='container', presence=False, yang_name="traffic-eng-ospf", rest_name="ospf", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Advertise via OSPF', u'alt-name': u'ospf', u'cli-incomplete-no': None, u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-mpls', defining_module='brocade-mpls', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """traffic_eng_ospf must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=traffic_eng_ospf.traffic_eng_ospf, is_container='container', presence=False, yang_name="traffic-eng-ospf", rest_name="ospf", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Advertise via OSPF', u'alt-name': u'ospf', u'cli-incomplete-no': None, u'cli-incomplete-command': None}}, namespace='urn:brocade.com:mgmt:brocade-mpls', defining_module='brocade-mpls', yang_type='container', is_config=True)""",
        })

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