Justin Riley
8dfa63da5d
remove all traces of skydns and etcd from code
2016-08-02 11:54:29 -04:00
Justin Riley
9bcddf29ad
refactor code to use new OneDNS api class
...
- OneDNS class provides VM -> DNS interface
- Updated OneMonitor to subclass OneDNS
- Moved 'register' method from skydns client to OneDNS as add_vm
- Moved 'update' method from OneMonitor to OneDNS as sync
- Added methods to OneDNS to add/remove VMs by id
2016-07-21 09:52:00 -04:00
Justin Riley
b8b9dab77c
oneclient: add get_vm_by_id function
2016-07-19 14:05:28 -04:00
Justin Riley
38d9e539fb
add new 'add' and 'remove' subcommands
...
Allows manually adding and removing hosts from DNS. These will be
utilized by ONE hook scripts.
2016-07-19 09:15:34 -04:00
Justin Riley
3ceb81545d
flake8 cleanup
2016-07-14 23:15:52 -04:00
Justin Riley
fd5f3d7077
monitor all vms not just one_auth user
2016-07-14 23:11:29 -04:00
Justin Riley
0c78683153
first working version of SkyDNS client
2016-07-14 22:38:05 -04:00
Justin Riley
ad61c4d4b4
add required domain argument to onedns command
2016-07-14 22:38:03 -04:00
Justin Riley
6cb4976961
move hostname validation regex to skydns client
2016-07-14 22:25:54 -04:00
Justin Riley
5cc9f7f9a5
remove old VM namedtuple
2016-07-14 16:12:13 -04:00
Justin Riley
428af26881
initial project scaffolding
2016-07-14 15:33:13 -04:00