Ejemplo n.º 1
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.º 2
0
    def __init__(self, virtapi):
        self.virtapi = virtapi

        self.config = container_config.LXDContainerConfig()
        self.container_dir = container_dir.LXDContainerDirectories()
        self.image = image.LXDContainerImage()
        self.firewall_driver = container_firewall.LXDContainerFirewall()
        self.session = session.LXDAPISession()

        self.vif_driver = vif.LXDGenericDriver()
        self.instance_dir = None
Ejemplo n.º 3
0
 def setUp(self):
     super(LXDTestContainerConfig, self).setUp()
     self.config = config.LXDContainerConfig()