'Create an instance of the servicegroup API.
args and kwargs are passed down to the servicegroup driver when it gets
created.'

def __init__(self, *args, **kwargs):

    report_interval = CONF.report_interval
    if (CONF.service_down_time <= report_interval):
        new_service_down_time = int((report_interval * 2.5))
        LOG.warning(_LW('Report    interval    must    be    less    than    service    down    time.    Current    config:    <service_down_time:    %(service_down_time)s,    report_interval:    %(report_interval)s>.    Setting    service_down_time    to:    %(new_service_down_time)s'), {'service_down_time': CONF.service_down_time, 'report_interval': report_interval, 'new_service_down_time': new_service_down_time})
        CONF.set_override('service_down_time', new_service_down_time)
    driver_class = _driver_name_class_mapping[CONF.servicegroup_driver]
    self._driver = importutils.import_object(driver_class, *args, **kwargs)
