code: def _set_rpvst(self, v, load=False):
      
      if hasattr(v, "_utype"):
        v = v._utype(v)
      try:
        t = YANGDynClass(v,base=rpvst.rpvst, is_container='container', presence=False, yang_name="rpvst", rest_name="rpvst", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure RPVST protocol KAP parameters', u'cli-compact-syntax': None}}, namespace='urn:brocade.com:mgmt:brocade-hardware', defining_module='brocade-hardware', yang_type='container', is_config=True)
      except (TypeError, ValueError):
        raise ValueError({
            'error-string': """rpvst must be of a type compatible with container""",
            'defined-type': "container",
            'generated-type': """YANGDynClass(base=rpvst.rpvst, is_container='container', presence=False, yang_name="rpvst", rest_name="rpvst", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure RPVST protocol KAP parameters', u'cli-compact-syntax': None}}, namespace='urn:brocade.com:mgmt:brocade-hardware', defining_module='brocade-hardware', yang_type='container', is_config=True)""",
          })
  
      self.__rpvst = t
      if hasattr(self, '_set'):
        self._set()
docs: Setter method for rpvst, mapped from YANG variable /hardware/custom_profile/kap_custom_profile/rpvst (container)
      If this variable is read-only (config: false) in the
      source YANG file, then _set_rpvst is considered as a private
      method. Backends looking to populate this variable should
      do so via calling thisObj._set_rpvst() directly.