summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/backend/components.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-08-02 16:43:28 -0300
committerTomás Touceda <chiiph@leap.se>2014-08-02 16:43:28 -0300
commit5b04d2fe6ee586e9156e0eebf8d4024cc62fea92 (patch)
treec3f52f9b7f19f1e0f9b176fe935a9e6e31324e2f /src/leap/bitmask/backend/components.py
parent3b02e227cfa48074739eb4f6634a436e65923b61 (diff)
parent3b469a2c006381ba9e56c1de92be4e87ad67e51b (diff)
Merge remote-tracking branch 'refs/remotes/kali/feature/pseudo-cancel-eip' into develop
Diffstat (limited to 'src/leap/bitmask/backend/components.py')
-rw-r--r--src/leap/bitmask/backend/components.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/leap/bitmask/backend/components.py b/src/leap/bitmask/backend/components.py
index b372db89..f721086b 100644
--- a/src/leap/bitmask/backend/components.py
+++ b/src/leap/bitmask/backend/components.py
@@ -69,7 +69,6 @@ class ILEAPComponent(zope.interface.Interface):
"""
Interface that every component for the backend should comply to
"""
-
key = zope.interface.Attribute("Key id for this component")
@@ -552,6 +551,12 @@ class EIP(object):
"""
self._vpn.tear_down_firewall()
+ def bitmask_root_vpn_down(self):
+ """
+ Bring openvpn down, using bitmask-root helper.
+ """
+ self._vpn.bitmask_root_vpn_down()
+
def get_gateways_list(self, domain):
"""
Signal a list of gateways for the given provider.