aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/irdb/zookeeper.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2012-07-04 16:42:45 +0000
committerRob Austein <sra@hactrn.net>2012-07-04 16:42:45 +0000
commit4287abf5e0daef7f5f95d358fc8376a507504357 (patch)
treeeb295788a95745c7840aaba068784141f58fe6ce /rpkid/rpki/irdb/zookeeper.py
parentef7dbddced6f61179f2c61011c0b78fdc6b4d8fb (diff)
Oops, forgot to include revoke_forgotten command when copying other
control operations over from irbe_cli to rpkic. svn path=/trunk/; revision=4572
Diffstat (limited to 'rpkid/rpki/irdb/zookeeper.py')
-rw-r--r--rpkid/rpki/irdb/zookeeper.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/rpkid/rpki/irdb/zookeeper.py b/rpkid/rpki/irdb/zookeeper.py
index 7dedeb7e..844b50de 100644
--- a/rpkid/rpki/irdb/zookeeper.py
+++ b/rpkid/rpki/irdb/zookeeper.py
@@ -983,6 +983,15 @@ class Zookeeper(object):
action = "set", self_handle = self.handle, revoke = "yes"))
+ def revoke_forgotten(self):
+ """
+ Poke rpkid to revoke old forgotten RPKI keys for the current handle.
+ """
+
+ self.call_rpkid(rpki.left_right.self_elt.make_pdu(
+ action = "set", self_handle = self.handle, revoke_forgotten = "yes"))
+
+
def call_pubd(self, *pdus):
"""
Issue a call to pubd, return result.