neutron_fwaas.privileged.utils module¶
- exception neutron_fwaas.privileged.utils.BackInNamespaceExit¶
Bases:
SystemExit
Raised if we fail to moved back process in its original namespace.
- neutron_fwaas.privileged.utils.in_namespace(namespace)¶
Move current process in a specific namespace.
This contextmanager moves current process in a specific namespace and ensures to move it back in original namespace or kills it if we fail to move back in original namespace.