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

List of all members.

Public Member Functions

def __str__
def from_strings
def parse_str
def to_rfc3779_tuple

Public Attributes

 min

Static Public Attributes

 datum_type = long
 Type of underlying data (min and max).

Detailed Description

Range of Autonomous System Numbers.

Denotes a single ASN by a range whose min and max values are
identical.

Definition at line 80 of file resource_set.py.


Member Function Documentation

def rpki::resource_set::resource_range_as::__str__ (   self)
Convert a resource_range_as to string format.

Definition at line 93 of file resource_set.py.

def rpki::resource_set::resource_range_as::from_strings (   cls,
  a,
  b = None 
)
Construct ASN range from strings.

Definition at line 123 of file resource_set.py.

def rpki::resource_set::resource_range_as::parse_str (   cls,
  x 
)
Parse ASN resource range from text (eg, XML attributes).

Definition at line 112 of file resource_set.py.

Referenced by rpki::resource_set::resource_set::__init__(), and rpki::resource_set::roa_prefix_set::__init__().

Here is the caller graph for this function:

def rpki::resource_set::resource_range_as::to_rfc3779_tuple (   self)
Convert a resource_range_as to tuple format for RFC 3779 ASN.1 encoding.

Definition at line 102 of file resource_set.py.

References rpki::resource_set::resource_range::max, rpki::resource_set::roa_prefix::max(), rpki::resource_set::resource_range::min, and min.

Here is the call graph for this function:


Member Data Documentation


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