blob: 8ee042630f539fed90a8895d08dd25a05d5970ae [file] [log] [blame]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""This module provides some tools to interact with LXC containers, for example:
1. Download base container from given GS location, setup the base container.
2. Create a snapshot as test container from base container.
3. Mount a directory in drone to the test container.
4. Run a command in the container and return the output.
5. Cleanup, e.g., destroy the container.
"""
from constants import *
from container import Container
from container_bucket import ContainerBucket
from lxc import install_package
from lxc import install_packages
from lxc import install_python_package