RPKI Engine  1.0
Public Member Functions | Static Public Attributes
rpki::left_right::child_elt Class Reference
Inheritance diagram for rpki::left_right::child_elt:
Inheritance graph
Collaboration diagram for rpki::left_right::child_elt:
Collaboration graph

List of all members.

Public Member Functions

def ca_from_class_name
def child_certs
def fetch_child_certs
def parents
def serve_destroy_hook
def serve_post_save_hook
def serve_reissue
def serve_up_down

Static Public Attributes

tuple attributes = ("action", "tag", "self_handle", "child_handle", "bsc_handle")
 XML attributes for this element.
tuple booleans = ("reissue", )
 Boolean attributes (value "yes" or "no") for this element.
 bpki_cert = None
 bpki_glue = None
string element_name = "child"
tuple elements = ("bpki_cert", "bpki_glue")
 XML elements contained by this element.
tuple handles = (("self", self_elt), ("bsc", bsc_elt))
tuple sql_template

Detailed Description

<child/> element.

Definition at line 1018 of file left_right.py.


Member Function Documentation

def rpki::left_right::child_elt::ca_from_class_name (   self,
  class_name 
)
def rpki::left_right::child_elt::child_certs (   self)
Fetch all child_cert objects that link to this child object.

Definition at line 1046 of file left_right.py.

References fetch_child_certs().

Referenced by rpki::rpkid::ca_detail_obj::delete(), rpki::rpkid::ca_detail_obj::reissue(), serve_destroy_hook(), serve_reissue(), and rpki::rpkid::ca_detail_obj::update().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::left_right::child_elt::fetch_child_certs (   self,
  ca_detail = None,
  ski = None,
  unique = False 
)
def rpki::left_right::child_elt::parents (   self)
def rpki::left_right::child_elt::serve_destroy_hook (   self,
  cb,
  eb 
)
Extra server actions when destroying a child_elt.

Reimplemented from rpki::xml_utils::data_elt.

Definition at line 1091 of file left_right.py.

References child_certs().

Here is the call graph for this function:

def rpki::left_right::child_elt::serve_post_save_hook (   self,
  q_pdu,
  r_pdu,
  cb,
  eb 
)
Extra server actions for child_elt.

Reimplemented from rpki::xml_utils::data_elt.

Definition at line 1059 of file left_right.py.

References rpki::left_right::self_elt::serve_reissue(), rpki::left_right::parent_elt::serve_reissue(), and serve_reissue().

Referenced by rpki::xml_utils::data_elt::serve_create().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::left_right::child_elt::serve_reissue (   self,
  cb,
  eb 
)
Handle a left-right reissue action for this child.

Definition at line 1068 of file left_right.py.

References child_certs().

Referenced by serve_post_save_hook().

Here is the call graph for this function:

Here is the caller graph for this function:

def rpki::left_right::child_elt::serve_up_down (   self,
  query,
  callback 
)

Member Data Documentation

tuple rpki::left_right::child_elt::attributes = ("action", "tag", "self_handle", "child_handle", "bsc_handle") [static]

XML attributes for this element.

Reimplemented from rpki::xml_utils::base_elt.

Definition at line 1024 of file left_right.py.

Referenced by irbe_cli::cmd_elt_mixin::client_getopt(), rpki::xml_utils::base_elt::make_elt(), and rpki::xml_utils::base_elt::read_attrs().

tuple rpki::left_right::child_elt::booleans = ("reissue", ) [static]

Boolean attributes (value "yes" or "no") for this element.

Reimplemented from rpki::xml_utils::base_elt.

Definition at line 1026 of file left_right.py.

Referenced by irbe_cli::cmd_elt_mixin::client_getopt(), rpki::xml_utils::base_elt::make_elt(), and rpki::xml_utils::base_elt::read_attrs().

Definition at line 1036 of file left_right.py.

Referenced by serve_up_down().

Definition at line 1037 of file left_right.py.

Referenced by serve_up_down().

string rpki::left_right::child_elt::element_name = "child" [static]
tuple rpki::left_right::child_elt::elements = ("bpki_cert", "bpki_glue") [static]
tuple rpki::left_right::child_elt::handles = (("self", self_elt), ("bsc", bsc_elt)) [static]

Reimplemented from rpki::left_right::data_elt.

Definition at line 1034 of file left_right.py.

Initial value:
rpki.sql.template("child", "child_id", "child_handle",
                                   "self_id", "bsc_id",
                                   ("bpki_cert", rpki.x509.X509),
                                   ("bpki_glue", rpki.x509.X509),
                                   ("last_cms_timestamp", rpki.sundial.datetime))

Definition at line 1028 of file left_right.py.

Referenced by rpki::xml_utils::data_elt::serve_create(), rpki::sql::sql_persistent::sql_decode(), rpki::sql::sql_persistent::sql_delete(), rpki::sql::sql_persistent::sql_encode(), and rpki::sql::sql_persistent::sql_store().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties