On Wed, Aug 21, 2013 at 05:43:23PM +0800, hzguanqiang(a)corp.netease.com wrote:
Hi, Daniel.
It seems that the virsh command 'lxc-enter-namespace' encapsulates several
functions just as 'virDomainLxcOpenNamespace',
'virDomainGetSecurityLabel', 'virDomainLxcEnterSecurityLabel' ,
'virDomainLxcEnterNamespace', 'virFork', etc. And I found only
'virDomainLxcOpenNamespace' is provided by python package 'libvirtmod_lxc
'. Does this mean that 'lxc-enter-namespace' can only be used through virsh
command and not supported with python?
Hmm, yes, we have not exposed this API via python layer, which is
a mistake. Please file a bug about it, or if you feel you have the
skills, write a patch to address it.
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|