Commit Graph

24 Commits (master)

Author SHA1 Message Date
Justin Riley 1d7f8dcf63 catch and log all sync exceptions in daemon
...instead of crashing.
2017-04-14 14:14:57 -04:00
Justin Riley f71b8080cc daemon: sync with opennebula on defined interval
- Added --sync-interval option that defaults to 5 minutes
2016-10-21 00:30:39 -04:00
Justin Riley f05db7d322 tests: add fixtures from opennebula test instance 2016-10-07 15:30:32 -04:00
Justin Riley abd1744553 utils: add tests for get_fqdn 2016-10-05 23:36:07 -04:00
Justin Riley 5475be37f2 add tests for onedns.server (now at 100% coverage) 2016-09-28 11:35:07 -04:00
Justin Riley bc88849e31 add utils for verifying presence/absence in DNS 2016-09-28 10:48:26 -04:00
Justin Riley 8bad8b47d4 add tests for onedns base exception 2016-08-19 12:28:10 -04:00
Justin Riley a97e9f687c add tests for cli 2016-08-19 09:19:50 -04:00
Justin Riley b735c84a04 resolver: add thread mutex and use new zone module 2016-08-17 16:21:05 -04:00
Justin Riley 2c0283fdb7 add zone module with in-memory zone implementation 2016-08-17 10:13:43 -04:00
Justin Riley 56f6998753 add vms fixture that gets recorded using vcrpy
Should help prevent creating duplicate vcrpy yaml's in
onedns/tests/fixtures for the same 'get all vms' request in multiple
tests.
2016-08-12 11:24:52 -04:00
Justin Riley 7f2a3ca8a8 add kwargs for server, port, and tcp to dnsquery 2016-08-12 11:03:55 -04:00
Justin Riley 9ba49ee677 tests: move dns query code to onedns.tests.utils 2016-08-03 12:01:41 -04:00
Justin Riley e6a1724251 fix flake8 failures 2016-08-03 11:45:57 -04:00
Justin Riley 2c32c03ab4 vcr: scrub ONE xmlrpc auth from recordings 2016-08-03 11:38:10 -04:00
Justin Riley 17acd42c7d vcr: decompress response bodies before recording 2016-08-03 11:33:36 -04:00
Justin Riley 8d00264eb7 vcr: save fixtures with .yaml extension 2016-08-03 11:33:17 -04:00
Justin Riley 679f3a0369 use vcrpy for oneclient tests
Will commit cassettes later once the tests have been executed on a test
VM and the test authorization token has been stripped.
2016-08-03 00:36:18 -04:00
Justin Riley 923c8305ae add tests for utils module 2016-08-02 23:19:04 -04:00
Justin Riley 649fb7d6a6 add tests for onedns.logger module 2016-08-02 18:35:17 -04:00
Justin Riley c4941aaf44 add tests for one.OneClient 2016-08-02 18:06:51 -04:00
Justin Riley c1a6d81157 add daemon method to DynamicResolver
Keeps main process up indefinitely as long as DynamicResolver UDP
socketserver is up
2016-08-02 13:29:30 -04:00
Justin Riley 12a2a46f14 move server.py -> resolver.py 2016-08-02 12:39:02 -04:00
Justin Riley a80a85191c add DynamicResolver class with 100% test coverage 2016-08-02 11:29:16 -04:00