BIND 10 #2052: dns::LabelSequence::compare()

BIND 10 Development do-not-reply at isc.org
Sat Jun 16 17:22:42 UTC 2012


#2052: dns::LabelSequence::compare()
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |  UnAssigned
            Priority:  medium        |                       Status:  new
           Component:  libdns++      |                    Milestone:  Next-
           Sensitive:  0             |  Sprint-Proposed
         Sub-Project:  DNS           |                     Keywords:
Estimated Difficulty:  0             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 In memory-efficient version of in-memory data source, it will be quite
 likely to store names in the form of a sequence of a label (i.e.,
 the portion of the entire name corresponding to a specific RBTree
 node).  So, it's quite likely we'll use dns::LabelSequence (with some
 extensions) to manipulate them.

 This task is one such extension: introducing a "compare" method to
 LabelSequence.  It's a natural extension of Name::compare(), and
 it also returns NameComparisonResult.  But in the case of
 LabelSequence there's one new possible result: there's no hierarchical
 relationship between the two label (such as between "www" (which is
 not an absolute name) and "example.org.").  So we also need to extend
 NameRelation introducing "NONE" to represent this relationship.
 Name::compare() can never return this relation but
 LabelSequence::compare() can.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2052>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list