RPKI Engine
1.0
|
Public Member Functions | |
def | __init__ |
def | call_pubd |
def | publish |
def | withdraw |
Public Attributes | |
handlers | |
msgs | |
repositories | |
uris | |
Static Public Attributes | |
replace = True | |
Private Member Functions | |
def | _add |
Utility to simplify publication from within rpkid. General idea here is to accumulate a collection of objects to be published, in one or more repositories, each potentially with its own completion callback. Eventually we want to publish everything we've accumulated, at which point we need to iterate over the collection and do repository.call_pubd() for each repository.
Definition at line 1773 of file rpki/rpkid.py.
def rpki::rpkid::publication_queue::__init__ | ( | self | ) |
Definition at line 1786 of file rpki/rpkid.py.
def rpki::rpkid::publication_queue::_add | ( | self, | |
uri, | |||
obj, | |||
repository, | |||
handler, | |||
make_pdu | |||
) | [private] |
Definition at line 1793 of file rpki/rpkid.py.
References rpki::http::http_server::handlers, rpki::http::http_listener::handlers, handlers, msgs, replace, repositories, and uris.
Referenced by publish(), and withdraw().
def rpki::rpkid::publication_queue::call_pubd | ( | self, | |
cb, | |||
eb | |||
) |
Definition at line 1815 of file rpki/rpkid.py.
References rpki::http::http_server::handlers, rpki::http::http_listener::handlers, handlers, msgs, and repositories.
def rpki::rpkid::publication_queue::publish | ( | self, | |
cls, | |||
uri, | |||
obj, | |||
repository, | |||
handler = None |
|||
) |
Definition at line 1809 of file rpki/rpkid.py.
References _add().
def rpki::rpkid::publication_queue::withdraw | ( | self, | |
cls, | |||
uri, | |||
obj, | |||
repository, | |||
handler = None |
|||
) |
Definition at line 1812 of file rpki/rpkid.py.
References _add().
Definition at line 1786 of file rpki/rpkid.py.
Referenced by _add(), and call_pubd().
Definition at line 1786 of file rpki/rpkid.py.
Referenced by _add(), and call_pubd().
rpki::rpkid::publication_queue::replace = True [static] |
Definition at line 1784 of file rpki/rpkid.py.
Referenced by _add().
Definition at line 1786 of file rpki/rpkid.py.
Referenced by _add(), and call_pubd().
Definition at line 1786 of file rpki/rpkid.py.
Referenced by _add().