Home | History | Annotate | Download | only in lxc
      1 # Copyright 2015 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 """This module provides some tools to interact with LXC containers, for example:
      6   1. Download base container from given GS location, setup the base container.
      7   2. Create a snapshot as test container from base container.
      8   3. Mount a directory in drone to the test container.
      9   4. Run a command in the container and return the output.
     10   5. Cleanup, e.g., destroy the container.
     11 """
     12 
     13 from constants import *
     14 from container import Container
     15 from container_bucket import ContainerBucket
     16 from lxc import install_package
     17 from lxc import install_packages
     18 from lxc import install_python_package
     19 from zygote import Zygote
     20