rpki.left_right.self_elt Class Reference

Inherits rpki::left_right::data_elt.

Inherited by irbe_cli.self_elt.

List of all members.

Public Member Functions

def bscs
def children
def client_poll
def parents
def regenerate_crls_and_manifests
def repositories
def route_origins
def serve_fetch_all
def serve_fetch_one
def serve_post_save_hook
def serve_rekey
def serve_revoke
def update_children
def update_roas

Static Public Attributes

tuple attributes = ("action", "tag", "self_id", "crl_interval", "regen_margin")
 XML attributes for this element.
tuple booleans = ("rekey", "reissue", "revoke", "run_now", "publish_world_now")
 Boolean attributes (value "yes" or "no") for this element.
 bpki_cert = None
 bpki_glue = None
 crl_interval = None
string element_name = "self"
tuple elements = ("bpki_cert", "bpki_glue")
 XML elements contained by this element.
 regen_margin = None
 self_id = None
tuple sql_template
 use_hsm = False


Detailed Description

<self/> element.

Definition at line 92 of file left_right.py.


Member Function Documentation

def rpki.left_right.self_elt.bscs (   self  ) 

Fetch all BSC objects that link to this self object.

Definition at line 112 of file left_right.py.

def rpki.left_right.self_elt.children (   self  ) 

Fetch all child objects that link to this self object.

Definition at line 124 of file left_right.py.

def rpki.left_right.self_elt.client_poll (   self,
  callback 
)

Run the regular client poll cycle with each of this self's parents
in turn.

Definition at line 185 of file left_right.py.

def rpki.left_right.self_elt.parents (   self  ) 

Fetch all parent objects that link to this self object.

Definition at line 120 of file left_right.py.

def rpki.left_right.self_elt.regenerate_crls_and_manifests (   self,
  cb 
)

Generate new CRLs and manifests as necessary for all of this
self's CAs.  Extracting nextUpdate from a manifest is hard at the
moment due to implementation silliness, so for now we generate a
new manifest whenever we generate a new CRL

This method also cleans up tombstones left behind by revoked
ca_detail objects, since we're walking through the relevant
portions of the database anyway.

Definition at line 320 of file left_right.py.

def rpki.left_right.self_elt.repositories (   self  ) 

Fetch all repository objects that link to this self object.

Definition at line 116 of file left_right.py.

def rpki.left_right.self_elt.route_origins (   self  ) 

Fetch all route_origin objects that link to this self object.

Definition at line 128 of file left_right.py.

def rpki.left_right.self_elt.serve_fetch_all (   self  ) 

Find the self objects upon which a list action should operate.
This is different from the list action for all other objects,
where list only works within a given self_id context.

Reimplemented from rpki.left_right.data_elt.

Definition at line 177 of file left_right.py.

def rpki.left_right.self_elt.serve_fetch_one (   self  ) 

Find the self object upon which a get, set, or destroy action
should operate.

Reimplemented from rpki.left_right.data_elt.

Definition at line 167 of file left_right.py.

def rpki.left_right.self_elt.serve_post_save_hook (   self,
  q_pdu,
  r_pdu,
  cb,
  eb 
)

Extra server actions for self_elt.

Reimplemented from rpki.xml_utils.data_elt.

Definition at line 132 of file left_right.py.

def rpki.left_right.self_elt.serve_rekey (   self,
  cb,
  eb 
)

Handle a left-right rekey action for this self.

Definition at line 145 of file left_right.py.

def rpki.left_right.self_elt.serve_revoke (   self,
  cb,
  eb 
)

Handle a left-right revoke action for this self.

Definition at line 156 of file left_right.py.

def rpki.left_right.self_elt.update_children (   self,
  cb 
)

Check for updated IRDB data for all of this self's children and
issue new certs as necessary.  Must handle changes both in
resources and in expiration date.

Definition at line 238 of file left_right.py.

def rpki.left_right.self_elt.update_roas (   self,
  cb 
)

Generate or update ROAs for this self's route_origin objects.

Definition at line 371 of file left_right.py.


Member Data Documentation

tuple rpki.left_right.self_elt.attributes = ("action", "tag", "self_id", "crl_interval", "regen_margin") [static]

XML attributes for this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 98 of file left_right.py.

tuple rpki.left_right.self_elt.booleans = ("rekey", "reissue", "revoke", "run_now", "publish_world_now") [static]

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

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 100 of file left_right.py.

Definition at line 109 of file left_right.py.

Definition at line 110 of file left_right.py.

Definition at line 107 of file left_right.py.

string rpki.left_right.self_elt.element_name = "self" [static]

Definition at line 97 of file left_right.py.

tuple rpki.left_right.self_elt.elements = ("bpki_cert", "bpki_glue") [static]

XML elements contained by this element.

Reimplemented from rpki.xml_utils.base_elt.

Definition at line 99 of file left_right.py.

Definition at line 108 of file left_right.py.

Definition at line 105 of file left_right.py.

Initial value:

rpki.sql.template("self", "self_id", "use_hsm", "crl_interval", "regen_margin",
                                   ("bpki_cert", rpki.x509.X509), ("bpki_glue", rpki.x509.X509))

Definition at line 102 of file left_right.py.

Definition at line 106 of file left_right.py.


The documentation for this class was generated from the following file:

Generated on Tue Jun 2 19:10:19 2009 for RPKI Engine by  doxygen 1.5.8