Ejemplo n.º 1
0
    def __init__(self):
        self.client = session.LXDAPISession()
        self.container_dir = container_dir.LXDContainerDirectories()
        self.lock_path = str(os.path.join(CONF.instances_path, 'locks'))

        self.container_image = None
        self.container_manifest = None
Ejemplo n.º 2
0
 def __init__(self, virtapi):
     self.virtapi = virtapi
     self.config = config.LXDContainerConfig()
     self.container_dir = container_dir.LXDContainerDirectories()
     self.session = session.LXDAPISession()
     self.operations = \
         operations.LXDContainerOperations(
             self.virtapi)
Ejemplo n.º 3
0
    def __init__(self, virtapi):
        self.virtapi = virtapi

        self.container_config = container_config.LXDContainerConfig()
        self.container_client = container_client.LXDContainerClient()
        self.container_dir = container_dir.LXDContainerDirectories()
        self.container_utils = container_utils.LXDContainerUtils()
        self.container_image = container_image.LXDContainerImage()
        self.firewall_driver = container_firewall.LXDContainerFirewall()

        self.vif_driver = vif.LXDGenericDriver()
Ejemplo n.º 4
0
 def __init__(self):
     self.container_dir = container_dir.LXDContainerDirectories()
     self.container_client = container_client.LXDContainerClient()
     self.container_image = container_image.LXDContainerImage()
     self.container_utils = container_utils.LXDContainerUtils()
     self.vif_driver = vif.LXDGenericDriver()
Ejemplo n.º 5
0
 def __init__(self):
     self.container_dir = container_dir.LXDContainerDirectories()
     self.session = session.LXDAPISession()
     self.vif_driver = vif.LXDGenericDriver()
Ejemplo n.º 6
0
 def __init__(self):
     self.connection = api.API()
     self.container_dir = container_dir.LXDContainerDirectories()
     self.lock_path = str(os.path.join(CONF.instances_path, 'locks'))