Searched refs:Container (Results 1 - 7 of 7) sorted by relevance

/lxc/src/python-lxc/lxc/
H A D__init__.py148 class Container(_lxc.Container): class in inherits:_lxc.Container
151 Creates a new Container instance.
155 _lxc.Container.__init__(self, name, config_path)
157 _lxc.Container.__init__(self, name)
206 return _lxc.Container.set_config_item(self, key, value)
233 return _lxc.Container.create(self, **template_args)
253 if _lxc.Container.clone(self, **args):
254 return Container(newname, config_path=config_path)
266 return _lxc.Container
[all...]
/lxc/src/python-lxc/
H A Dlxc.c429 /* Base type and functions for Container */
433 } Container; typedef in typeref:struct:__anon21
436 Container_dealloc(Container* self)
443 Container_init(Container *self, PyObject *args, PyObject *kwds)
476 Container *self;
478 self = (Container *)type->tp_alloc(type, 0);
483 /* Container properties */
485 Container_config_file_name(Container *self, void *closure)
498 Container_controllable(Container *self, void *closure)
508 Container_defined(Container *sel
[all...]
/lxc/src/python-lxc/examples/
H A Dpyconsole.py42 ct = lxc.Container(sys.argv[1])
44 print("Container:%s tty:%d Ctrl-%c q to quit" %
48 sys.exit("Container %s not defined" % ct.name)
50 sys.exit("Container %s not running" % ct.name)
H A Dpyconsole-vte.py71 ct = lxc.Container(sys.argv[1])
73 print("Container:%s tty:%d" % (ct.name, ttynum))
75 sys.exit("Container %s not defined" % ct.name)
77 sys.exit("Container %s not running" % ct.name)
H A Dapi_test.py41 container = lxc.Container(CONTAINER_NAME)
/lxc/src/lxc/tools/
H A Dlxc-start-ephemeral.in148 orig = lxc.Container(args.orig, args.lxcpath)
169 dest = lxc.Container(os.path.basename(dest_path), args.lxcpath)
/lxc/templates/
H A Dlxc-ubuntu-cloud.in90 echo "# Container specific configuration" >> $path/config
132 LXC Container configuration for Ubuntu Cloud images.
371 echo "Container $name created."

Completed in 127 milliseconds