code: def load_config(self, path='', in_candidate=False, empty_candidate=False, config_text=None):
          
          logger.info('Loading config. path:%s, in_candidate:%s, empty_candidate:%s, config_text:%s' % (
              path, in_candidate, empty_candidate, config_text is not None))
  
          if config_text is None:
              if self.vdom is not None:
                  if self.vdom == 'global':
                      command = 'conf global\nshow %s\nend' % path
                  else:
                      command = 'conf vdom\nedit %s\nshow %s\nend' % (self.vdom, path)
              else:
                  command = 'show %s' % path
  
              config_text = self.execute_command(command)
  
          if not in_candidate:
              self.running_config.parse_config_output(config_text)
              self.running_config.add_path(path)
  
          if not empty_candidate or in_candidate:
              self.candidate_config.parse_config_output(config_text)
              self.candidate_config.add_path(path)
docs: This method will load a block of config represented as a :py:class:`FortiConfig` object in the running
          config, in the candidate config or in both.
  
          Args:
              * **path** (str) -- This is the block of config you want to load. For example *system interface*\
                  or *router bgp*
              * **in_candidate** (bool):
                  * If ``True`` the config will be loaded as *candidate*
                  * If ``False`` the config will be loaded as *running*
              * **empty_candidate** (bool):
                  * If ``True`` the *candidate* config will be left unmodified.
                  * If ``False`` the *candidate* config will be loaded with a block of config containing\
                  the same information as the config loaded in the *running* config.
              * **config_text** (str) -- Instead of loading the config from the device itself (using the ``path``\
                  variable, you can specify here the config as text.