def __init__(self, vse): qdbapi.register_models(base=model_base.BASEV2) self.vse = vse #self.uriprefix = '/api/3.0/edges/{0}/ipsec'.format( self.uriprefix = '/api/4.0/edges/{0}/ipsec'.format( vse.get_edgeId()) self.enabled = False
def __init__(self, vse): qdbapi.register_models(base=model_base.BASEV2) self.vse = vse # self.uriprefix = '/api/3.0/edges/{0}/loadbalancer'.format( self.uriprefix = '/api/4.0/edges/{0}/firewall'.format( vse.get_edgeId()) self.ipseturi = '/api/2.0/services/ipset' self.appuri = '/api/2.0/services/application'
def __init__(self): """ Do the initialization for the vpn service plugin here. """ # Hard coded for now vseapi = VseAPI(edgeUri, edgeUser, edgePasswd, edgeId) self.vsevpn = VPNAPI(vseapi) qdbapi.register_models(base=model_base.BASEV2)
def __init__(self): """Do the initialization for the loadbalancer service plugin here.""" qdbapi.register_models() self.callbacks = LoadBalancerCallbacks(self) self.conn = rpc.create_connection(new=True) self.conn.create_consumer(topics.LOADBALANCER_PLUGIN, self.callbacks.create_rpc_dispatcher(), fanout=False) self.conn.consume_in_thread() self.agent_rpc = LoadBalancerAgentApi(topics.LOADBALANCER_AGENT, cfg.CONF.host)
def __init__(self): """Do the initialization for the loadbalancer service plugin here.""" qdbapi.register_models() self.callbacks = LoadBalancerCallbacks(self) self.conn = rpc.create_connection(new=True) self.conn.create_consumer( topics.LOADBALANCER_PLUGIN, self.callbacks.create_rpc_dispatcher(), fanout=False) self.conn.consume_in_thread() self.agent_rpc = LoadBalancerAgentApi( topics.LOADBALANCER_AGENT, cfg.CONF.host )
def __init__(self): """ Do the initialization for the vpn service plugin here. """ #qdbapi.register_models(base=model_base.BASEV2) qdbapi.register_models() self.callbacks = VPNCallbacks(self) self.conn = rpc.create_connection(new=True) self.conn.create_consumer( topics.VPN_PLUGIN, self.callbacks.create_rpc_dispatcher(), fanout=False) self.conn.consume_in_thread() self.agent_rpc = VPNAgentApi( topics.VPN_AGENT, cfg.CONF.host )
def __init__(self): """ Do the initialization for the loadbalancer service plugin here. """ qdbapi.register_models(base=model_base.BASEV2)
def __init__(self): qdbapi.register_models(base=model_base.BASEV2)
def _initialize_db(self): db.configure_db() # Register models for service type management # Note this might have been already done if configure_db also # created the engine db.register_models(models_v2.model_base.BASEV2)
def __init__(self): """Initialization for the loadbalancer service plugin.""" qdbapi.register_models() self.driver = importutils.import_object( cfg.CONF.LBAAS.driver_fqn, self)
def __init__(self): """Initialization for the loadbalancer service plugin.""" qdbapi.register_models() self._load_drivers()
def __init__(self): """Initialization for the loadbalancer service plugin.""" qdbapi.register_models() self.driver = importutils.import_object(cfg.CONF.LBAAS.driver_fqn, self)