BIND 10 #3122: Simplified datasrc info
BIND 10 Development
do-not-reply at isc.org
Wed Aug 28 09:07:31 UTC 2013
#3122: Simplified datasrc info
-------------------------------------+-------------------------------------
Reporter: | Owner:
vorner | Status: new
Type: task | Milestone: New Tasks
Priority: | Keywords:
medium | Sensitive: 0
Component: | Sub-Project: DNS
Unclassified | Estimated Difficulty: 0
CVSS Scoring: | Total Hours: 0
Defect Severity: N/A |
Feature Depending on Ticket: |
Simplified memmgr |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Create a simplified DatasrcInfo. This one will just keep info about all
the data sources (and, probably, the client lists as well) that are
interesting and set of readers.
It will be able to get all of the readers, add and remove. No need for
state machine there. The interface could look like:
{{{#!python
class DatasrcInfo:
def add_reader(id):
...
def remove_reader(id):
...
def get_readers(id):
...
def config_update(new_config):
...
def get_config():
"""
The active config, stored from config_update.
"""
...
def get_segment_params():
"""
The parameters for segments to be sent to the clients.
"""
}}}
It may be based (copy-pasted & edited) from the current DatasrcInfo, but
we will still need the current one for a short while (before it is
replaced by other tickets).
--
Ticket URL: <http://bind10.isc.org/ticket/3122>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list