code: def config(self, configlet, plane, **attributes):
          
          try:
              config_text = configlet.format(**attributes)
          except KeyError as exp:
              raise CommandSyntaxError("Configuration template error: {}".format(str(exp)))
  
          return self.driver.config(config_text, plane)
docs: Apply config to the device.