BIND 10 #2853: Python wrapper of data source extensions
BIND 10 Development
do-not-reply at isc.org
Tue Jun 18 08:10:30 UTC 2013
#2853: Python wrapper of data source extensions
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner: muks
Type: task | Status:
Priority: medium | closed
Component: data source | Milestone:
Keywords: | Sprint-20130625
Sensitive: 0 | Resolution: fixed
Sub-Project: DNS | CVSS Scoring:
Estimated Difficulty: 5 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| shared memory data source
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Changes (by muks):
* status: reviewing => closed
* resolution: => fixed
Comment:
Merged to `master` branch in commit
`741e96ebecac59ad257288094eab660661344b39`:
{{{
* b867942 [2853] Fix paths to testfiles
* bee3ea9 [2853] Wrap long lines
* e5d3eeb [2853] Fix indentation
* 55f6765 [2853] Fix docstring of testcase
* 9368ade [2853] Add test for SEGMENT_UNUSED case
* 45087a1 [2853] Remove references to catch_load_error
* 3a874c8 [2853] Make code safer by using RAII container
* 7775ce4 [2853] style fix: position of '*'
* 922c6e4 [2853] Add a note that Py_BuildValue() will not throw
* bd74cbb [2853] Update constructor documentation
* 7448e48 [2853] Fix unittest for the new DataSourceStatus constructor
* c8050a3 [2853] Split DataSourceStatus constructor into two
* dde7e27 [2853] Use info.ztable_segment_ as indicator of unused segment
* bd3f52d [2853] Remove unused catch argument name
* 157d04b [2853] Update coding style
* 3ffa4a9 [2853] Handle exceptions from getSegmentType()
* 3cc9fc1 [2853] Add get_status() test where segment type is mapped and
state is SEGMENT_WAITING
* fbe7def [2853] Update getStatus() C++ method
* 171e04f [2853] Fix Doxygen and Python documentation
* 41439e2 [2853] Update some more docs
* c7c8f0a [2853] Update documentation
* dcef553 [2853] Move ConfigurableClientList doc to a separate file
* dcd88c0 [2853] Test that ZoneWriter methods throw
* 9d2bd29 [2853] Fix args type for load() method
* 2cba268 [2853] Use a decorator when skipping test
* 7028594 [2853] Wrap long line
* 92ebcb9 [2853] Add some more assertions
* 3a6139c [2853] Return empty list instead of None for empty get_status()
result
* a555e12 [2853] Update ZoneWriter documentation from C++ docs using
doxygen XML output
* fae036e [2853] Add Python binding for getStatus() method
* efea641 [2853] Return any error message returned by ZoneWriter::load()
* cbd8f4d [2853] Use Py_RETURN_NONE macro instead of returning PyNone
directly
* f61a5e7 [2853] Add Doxyfile-xml
* 3d96ea4 [2853] Skip running test_find_mapped() where shared memory is
not available
* 358984a [2853] Update comment
* 86d1383 [2853] Make sure the ZoneWriter object is cleared before the
mapfile is removed
* 38beb04 Revert "[2853] Add another unittest (that crashes currently)"
* c5352f6 [2853] Add another unittest (that crashes currently)
* 71eec22 [2853] Acquire a ref on the ConfigurableClientList object when
creating a ZoneWriter
* 9b1ceb8 [2853] removed unnecessary reinterpret_cast from the template
output.
* b18071c [2853] provided more helpful and detailed doc for
doxygen2pydoc.py
* fe14d0c [2853] Cleanup the mapped file after tests are run
* faffa47 [2853] Add the doxygen2pydoc.py tool
* 9163e6f [2853] Wrap some long lines
* 58335ce [2853] Remove redundant code
* 632a559 [2853] Fix compile warnings
* 1ceeb74 [2853] Use our regular CXXFLAGS when compiling Python bindings
* 35c2010 [2853] Add some more assertions
* 1903035 [2853] Call reset_memory_segment() again with READ_ONLY mode
after using the ZoneWriter
* b3befd1 [2853] make sure to return None (Py_None) for py methods
returning None.
* 71de47f [2853] Add a testcase using reset_memory_segment() and
get_cached_zone_writer()
* 2935657 [2853] Fix call
* 77010a2 [2853] Initialize ZoneWriter module part
* d340d82 [2853] Add Python wrappers around ZoneWriter methods
* f26eae2 [2853] Add Python wrapper for getCachedZoneWriter()
* 70c715e [2853] Wrap to 79 cols
* 6a4ee80 [2853] Add shell of ZoneWriter class
* 508e355 [2853] Use getCachedZoneWriter() in prepareCache()
}}}
The following commits were pushed to `master` branch after merge:
{{{
* 3a7fba8 [master] Use const reference instead of creating a copy of Name
* 7f026c4 [master] Skip mapped file tests where unavailable
* 1a8db04 [master] Update .gitignore file
* ff10ffe [master] Fix Python version-specific errors
* 253dc44 [master] Update .gitignore files
}}}
Resolving as fixed. Thank you for the reviews Michal.
--
Ticket URL: <http://bind10.isc.org/ticket/2853#comment:39>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list