BIND 10 #2380: revise b10-loadzone using datasrc.ZoneLoader

BIND 10 Development do-not-reply at isc.org
Thu Dec 6 04:04:05 UTC 2012


#2380: revise b10-loadzone using datasrc.ZoneLoader
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  task          |                       Status:  new
            Priority:  medium        |                    Milestone:
           Component:  loadzone      |  Sprint-20121218
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  8             |  Feature Depending on Ticket:
         Total Hours:  0             |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Description changed by jinmei:

Old description:

> Subtask of #2368, depend on #2379.
>
> This may not be super trivial, but I guess it's reasonably clear
> what should be done and how (if not, let's discuss it in comments).
>
> One note: this new loadzone isn't expected to create a new DB (see
> #1861).  it should fail if the DB doesn't exist.

New description:

 Subtask of #2368, depend on #2379.

 This may not be super trivial, but I guess it's reasonably clear
 what should be done and how (if not, let's discuss it in comments).

 ~~One note: this new loadzone isn't expected to create a new DB (see
 #1861).  It should fail if the DB doesn't exist.~~
 This new loadzone would take the type of data source (probably as a
 command line option), but in practice it should always be sqlite3
 for now.  For sqlite3, its `DataSourceClient` will set up the DB
 if it doesn't exist or is not yet initialized (creating tables, etc);
 which shouldn't (see #1861), but for now let's depend on the behavior.

 If the specified zone does not yet exist in the DB, this loadzone
 should (for now) either directly update the 'zones' table of the
 sqlite3 DB or use the interface introduced in #2541 (and #2542 if
 loadzone is written in Python).

--

-- 
Ticket URL: <http://bind10.isc.org/ticket/2380#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list