Beispiel #1
0
 def __init__(self, name, vif_types, vnic_types,
              supported_rules,
              requires_rpc_notifications):
     super(TricircleQoSDriver, self).__init__(name, vif_types, vnic_types,
                                              supported_rules,
                                              requires_rpc_notifications)
     self.xjob_handler = xrpcapi.XJobAPI()
Beispiel #2
0
    def __init__(self, host=None, service_name='xjob'):

        LOG.debug(_('XManager initialization...'))

        if not host:
            host = CONF.host
        self.host = host
        self.service_name = service_name
        # self.notifier = rpc.get_notifier(self.service_name, self.host)
        self.additional_endpoints = []
        self.clients = {constants.TOP: client.Client()}
        self.job_handles = {
            constants.JT_ROUTER: self.configure_extra_routes,
            constants.JT_ROUTER_SETUP: self.setup_bottom_router,
            constants.JT_PORT_DELETE: self.delete_server_port}
        self.helper = helper.NetworkHelper()
        self.xjob_handler = xrpcapi.XJobAPI()
        super(XManager, self).__init__()
Beispiel #3
0
 def __init__(self, *args, **kwargs):
     super(TestRPCController, self).__init__(*args, **kwargs)
     self.xjobapi = xrpcapi.XJobAPI()
Beispiel #4
0
 def __init__(self, project_id):
     self.project_id = project_id
     self.clients = {constants.TOP: t_client.Client()}
     self.xjob_handler = xrpcapi.XJobAPI()
Beispiel #5
0
 def __init__(self):
     super(TricircleTrunkDriver, self).__init__()
     self.xjob_handler = xrpcapi.XJobAPI()
     self.helper = helper.NetworkHelper(self)
     self.clients = {}
Beispiel #6
0
 def __init__(self):
     self.xjob_handler = xrpcapi.XJobAPI()
 def __init__(self):
     super(TricircleSecurityGroupMixin, self).__init__()
     self.xjob_handler = xrpcapi.XJobAPI()
Beispiel #8
0
 def __init__(self, project_id):
     self.clients = {'t_region': FakeClient('t_region')}
     self.project_id = project_id
     self.xjob_handler = xrpcapi.XJobAPI()
Beispiel #9
0
 def __init__(self):
     super(TricircleSegmentPlugin, self).__init__()
     self.xjob_handler = xrpcapi.XJobAPI()
     self.clients = {}
     self.central_plugin = TricirclePlugin()
     self.helper = helper.NetworkHelper(self)