diff options
author | Rob Austein <sra@hactrn.net> | 2012-07-04 16:42:45 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-07-04 16:42:45 +0000 |
commit | 4287abf5e0daef7f5f95d358fc8376a507504357 (patch) | |
tree | eb295788a95745c7840aaba068784141f58fe6ce /rpkid/rpki/irdb/zookeeper.py | |
parent | ef7dbddced6f61179f2c61011c0b78fdc6b4d8fb (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.py | 9 |
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. |