Home | Trees | Indices | Help |
|
---|
|
object --+ | set.Set --+ | Rdataset
A DNS rdataset.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
int |
|
||
|
|||
Inherited from Inherited from |
|
|||
int |
covers The covered type. |
||
int |
rdclass The class of the rdataset |
||
int |
rdtype The type of the rdataset |
||
int |
ttl The DNS TTL (Time To Live) value |
||
Inherited from |
|
|||
Inherited from |
|
Create a new rdataset of the specified class and type.
See Also: the description of the class instance variables for the meaning of rdclass and rdtype |
Make a (shallow) copy of the set. There is a 'clone protocol' that subclasses of this class should use. To make a copy, first call your super's _clone() method, and use the object returned as the new instance. Then make shallow copies of the attributes defined in the subclass. This protocol allows us to write the set algorithms that return new instances (e.g. union) once, and keep using them in subclasses.
|
Set the TTL of the rdataset to be the lesser of the set's current TTL or the specified TTL. If the set contains no rdatas, set the TTL to the specified TTL.
|
Add the specified rdata to the rdataset. If the optional ttl parameter is supplied, then self.update_ttl(ttl) will be called prior to adding the rdata.
|
Update the set, adding any elements from other which are not already in the set.
|
Update the set, removing any elements from other which are not in both sets.
|
Add all rdatas in other to self.
|
repr(x)
|
str(x)
|
Two rdatasets are equal if they have the same class, type, and covers, and contain the same rdata.
|
|
Convert the rdataset into DNS master file format.
See Also: dns.name.Name.choose_relativity for more information on how origin and relativize determine the way names are emitted. Any additional keyword arguments are passed on to the rdata to_text() method. |
Convert the rdataset to wire format.
|
|
coversThe covered type. Usually this value is dns.rdatatype.NONE, but if the rdtype is dns.rdatatype.SIG or dns.rdatatype.RRSIG, then the covers value will be the rdata type the SIG/RRSIG covers. The library treats the SIG and RRSIG types as if they were a family of types, e.g. RRSIG(A), RRSIG(NS), RRSIG(SOA). This makes RRSIGs much easier to work with than if RRSIGs covering different rdata types were aggregated into a single RRSIG rdataset.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jan 25 16:39:10 2010 | http://epydoc.sourceforge.net |