Bug 999737 - RFE: support lxc-enter-namespace with python bindings
RFE: support lxc-enter-namespace with python bindings
Status: NEW
Product: Virtualization Tools
Classification: Community
Component: libvirt-python (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Libvirt Maintainers
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-21 22:09 EDT by QiangGuan
Modified: 2016-04-11 13:07 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description QiangGuan 2013-08-21 22:09:15 EDT
Description of problem:

In the newest version of libvirt, lxc-enter-namespace is supported by virsh command. But it seems that it's the only way to use it. And there is no API exposed via python layer.

Version-Release number of selected component (if applicable):
The newest version still exists the problem

How reproducible:
Use python to import all libvirt-related packages and see details by dir() function. No whole API for lxc-enter-namespace is provided.



Steps to Reproduce:
1. Use an Interactive python:
import libvirt
import libvirt_lxc
import libvirtmod
import libvirtmod_lxc
2.
dir(libvirt)
dir(libvirt_lxc)
dir(libvirtmod)
dir(libvirtmod_lxc)
3.
search lxc from the output of dir(..) above. 

Actual results:
'lxcOpenNamespace'
'virDomainLxcOpenNamespace'

Expected results:
A whole API for 'lxc-enter-namespace' function is exposed.

Additional info:
Comment 1 Cole Robinson 2016-04-11 13:07:36 EDT
FWIW this is still relevant, the LXCEnterNamespace wrapper isn't implemented for the python bindings

Note You need to log in before you can comment on or make changes to this bug.