Inherited by rpki.left_right.bsc_elt, rpki.left_right.child_elt, rpki.left_right.parent_elt, rpki.left_right.repository_elt, and rpki.left_right.self_elt.
Public Member Functions | |
def | bsc |
def | make_reply_clone_hook |
def | self |
def | serve_fetch_all |
def | serve_fetch_handle |
def | serve_fetch_one_maybe |
def | serve_pre_save_hook |
def | unimplemented_control |
Static Public Attributes | |
tuple | handles = () |
self_id = None |
Virtual class for top-level left-right protocol data elements.
Definition at line 50 of file left_right.py.
def rpki.left_right.data_elt.bsc | ( | self | ) |
def rpki.left_right.data_elt.make_reply_clone_hook | ( | self, | ||
r_pdu | ||||
) |
Set self_handle when cloning.
Reimplemented from rpki.xml_utils.data_elt.
Definition at line 67 of file left_right.py.
def rpki.left_right.data_elt.self | ( | self | ) |
def rpki.left_right.data_elt.serve_fetch_all | ( | self | ) |
Find the objects on which a list method should operate.
Reimplemented in rpki.left_right.self_elt.
Definition at line 87 of file left_right.py.
def rpki.left_right.data_elt.serve_fetch_handle | ( | cls, | ||
gctx, | ||||
self_id, | ||||
handle | ||||
) |
Find an object based on its handle.
Reimplemented in rpki.left_right.self_elt.
Definition at line 72 of file left_right.py.
def rpki.left_right.data_elt.serve_fetch_one_maybe | ( | self | ) |
Find the object on which a get, set, or destroy method should operate, or which would conflict with a create method.
Reimplemented in rpki.left_right.self_elt.
Definition at line 78 of file left_right.py.
def rpki.left_right.data_elt.serve_pre_save_hook | ( | self, | ||
q_pdu, | ||||
r_pdu, | ||||
cb, | ||||
eb | ||||
) |
Hook to do _handle => _id translation before saving.
Reimplemented from rpki.xml_utils.data_elt.
Reimplemented in rpki.left_right.bsc_elt.
Definition at line 94 of file left_right.py.
def rpki.left_right.data_elt.unimplemented_control | ( | self, | ||
controls | ||||
) |
Uniform handling for unimplemented control operations.
Reimplemented from rpki.xml_utils.data_elt.
Definition at line 109 of file left_right.py.
tuple rpki.left_right.data_elt.handles = () [static] |
Reimplemented in rpki.left_right.self_elt, rpki.left_right.bsc_elt, rpki.left_right.repository_elt, rpki.left_right.parent_elt, and rpki.left_right.child_elt.
Definition at line 55 of file left_right.py.
rpki.left_right.data_elt.self_id = None [static] |
Definition at line 57 of file left_right.py.