示例#1
0
 def __init__(self, *args, **kwargs):
     super(SecurityGroupActionController, self).__init__(*args, **kwargs)
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver(
             skip_policy_check=True))
     self.compute_api = compute.API(
         security_group_api=self.security_group_api, skip_policy_check=True)
示例#2
0
 def __init__(self, *args, **kwargs):
     super(SecurityGroupActionController, self).__init__(*args, **kwargs)
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver(
             skip_policy_check=True))
     self.compute_api = compute.API(
         security_group_api=self.security_group_api, skip_policy_check=True)
示例#3
0
文件: manager.py 项目: hsluoyz/patron
 def __init__(self, *args, **kwargs):
     super(ConductorManager, self).__init__(service_name="conductor", *args, **kwargs)
     self.security_group_api = openstack_driver.get_openstack_security_group_driver()
     self._network_api = None
     self._compute_api = None
     self.compute_task_mgr = ComputeTaskManager()
     self.cells_rpcapi = cells_rpcapi.CellsAPI()
     self.additional_endpoints.append(self.compute_task_mgr)
示例#4
0
 def __init__(self, *args, **kwargs):
     super(ConductorManager, self).__init__(service_name='conductor',
                                            *args, **kwargs)
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())
     self._network_api = None
     self._compute_api = None
     self.compute_task_mgr = ComputeTaskManager()
     self.cells_rpcapi = cells_rpcapi.CellsAPI()
     self.additional_endpoints.append(self.compute_task_mgr)
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver(
             skip_policy_check=True))
示例#6
0
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver(
             skip_policy_check=True))
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())
示例#8
0
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver(
             skip_policy_check=True))
     self.compute_api = compute.API(
         security_group_api=self.security_group_api, skip_policy_check=True)
示例#9
0
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver(
             skip_policy_check=True))
     self.compute_api = compute.API(
         security_group_api=self.security_group_api, skip_policy_check=True)
示例#10
0
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())
     self.compute_api = compute.API(
                                security_group_api=self.security_group_api)
示例#11
0
 def __init__(self, *args, **kwargs):
     super(SecurityGroupsOutputController, self).__init__(*args, **kwargs)
     self.compute_api = compute.API()
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())
示例#12
0
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())
示例#13
0
 def __init__(self):
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())
     self.compute_api = compute.API(
         security_group_api=self.security_group_api)
示例#14
0
 def __init__(self, *args, **kwargs):
     super(SecurityGroupsOutputController, self).__init__(*args, **kwargs)
     self.compute_api = compute.API()
     self.security_group_api = (
         openstack_driver.get_openstack_security_group_driver())