1 # vim: set encoding=utf-8 et sw=4 sts=4 :
3 # TODO documentation, validation
5 from pymin.seqtools import Sequence
6 from pymin.service.util import DictComposedSubHandler
8 __all__ = ('NameServerHandler',)
11 class NameServer(Sequence):
12 def __init__(self, name):
17 class NameServerHandler(DictComposedSubHandler):
18 handler_help = u"Manage DNS name servers (NS)"
19 _comp_subhandler_cont = 'zones'
20 _comp_subhandler_attr = 'nss'
21 _comp_subhandler_class = NameServer