aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/irdb/zookeeper.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/rpki/irdb/zookeeper.py')
-rw-r--r--rpkid/rpki/irdb/zookeeper.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/rpkid/rpki/irdb/zookeeper.py b/rpkid/rpki/irdb/zookeeper.py
index 7cd9020e..d172e18e 100644
--- a/rpkid/rpki/irdb/zookeeper.py
+++ b/rpkid/rpki/irdb/zookeeper.py
@@ -912,7 +912,7 @@ class Zookeeper(object):
"""
Poke rpkid to immediately run the cron job for the current handle.
- This method is used by the gui when a user has changed something in the
+ This method is used by the GUI when a user has changed something in the
IRDB (ghostbuster, roa) which does not require a full synchronize() call,
to force the object to be immediately issued.
"""
@@ -921,6 +921,15 @@ class Zookeeper(object):
action = "set", self_handle = self.handle, run_now = "yes"))
+ def publish_world_now(self):
+ """
+ Poke rpkid to (re)publish everything for the current handle.
+ """
+
+ self.call_rpkid(rpki.left_right.self_elt.make_pdu(
+ action = "set", self_handle = self.handle, publish_world_now = "yes"))
+
+
def call_pubd(self, *pdus):
"""
Issue a call to pubd, return result.