Apply config to the device.

def config(self, configlet, plane, **attributes):
        """Apply config to the device."""
        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)