Public Member Functions | |
def | __init__ |
def | build_https_ta_cache |
def | clear_https_ta_cache |
def | cronjob_handler |
def | irdb_query |
def | left_right_handler |
def | up_down_handler |
Public Attributes | |
bpki_ta | |
https_server_host | |
https_server_port | |
irbe_cert | |
irdb_cert | |
irdb_url | |
publication_kludge_base | |
rpkid_cert | |
rpkid_key | |
sql | |
Static Public Attributes | |
https_ta_cache = None | |
HTTPS trust anchor cache, to avoid regenerating it for every TLS connection. |
A container for various global rpkid parameters.
Definition at line 24 of file rpki_engine.py.
def rpki.rpki_engine.rpkid_context.__init__ | ( | self, | ||
cfg | ||||
) |
Definition at line 27 of file rpki_engine.py.
def rpki.rpki_engine.rpkid_context.build_https_ta_cache | ( | self | ) |
def rpki.rpki_engine.rpkid_context.clear_https_ta_cache | ( | self | ) |
def rpki.rpki_engine.rpkid_context.cronjob_handler | ( | self, | ||
query, | ||||
path | ||||
) |
Periodic tasks. As simple as possible for now, may need to break this up into separate handlers later.
Definition at line 112 of file rpki_engine.py.
def rpki.rpki_engine.rpkid_context.irdb_query | ( | self, | ||
self_id, | ||||
child_id = None | ||||
) |
Perform an IRDB callback query. In the long run this should not be a blocking routine, it should instead issue a query and set up a handler to receive the response. For the moment, though, we are doing simple lock step and damn the torpedos. Not yet doing anything useful with subject name. Most likely this function should really be wrapped up in a class that carries both the query result and also the intermediate state needed for the event-driven code that this function will need to become.
Definition at line 44 of file rpki_engine.py.
def rpki.rpki_engine.rpkid_context.left_right_handler | ( | self, | ||
query, | ||||
path | ||||
) |
def rpki.rpki_engine.rpkid_context.up_down_handler | ( | self, | ||
query, | ||||
path | ||||
) |
Definition at line 31 of file rpki_engine.py.
Definition at line 39 of file rpki_engine.py.
Definition at line 40 of file rpki_engine.py.
rpki::rpki_engine.rpkid_context::https_ta_cache = None [static] |
HTTPS trust anchor cache, to avoid regenerating it for every TLS connection.
Definition at line 133 of file rpki_engine.py.
Definition at line 33 of file rpki_engine.py.
Definition at line 32 of file rpki_engine.py.
Definition at line 37 of file rpki_engine.py.
Definition at line 42 of file rpki_engine.py.
Definition at line 34 of file rpki_engine.py.
Definition at line 35 of file rpki_engine.py.
Definition at line 29 of file rpki_engine.py.