def apply_config(self, config):
self.discovery = config["<STR_LIT>"]<EOL>self.meta_cluster = config.get("<STR_LIT>")<EOL>for balancer_name in Balancer.get_installed_classes().keys():<EOL><INDENT>if balancer_name in config:<EOL><INDENT>setattr(self, balancer_name, config[balancer_name])<EOL><DEDENT><DEDENT>
Sets the `discovery` and `meta_cluster` attributes, as well as the
configured + available balancer attributes from a given validated
config.