]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/proxy/__init__.py
Mod de los parametros de inicializacion de vrrp.
[software/pymin.git] / pymin / services / proxy / __init__.py
index 0577938271deced0545b6786caf08fa8f6545fe4..715b0ab2ac6a4b3e597498151a43ac2d81272fef 100644 (file)
@@ -10,18 +10,7 @@ from pymin.services.util import Restorable, ConfigWriter, InitdHandler, \
 
 import crypt
 
 
 import crypt
 
-__ALL__ = ('ProxyHandler', 'Error')
-
-class Error(HandlerError):
-    r"""
-    Error(command) -> Error instance :: Base DnsHandler exception class.
-
-    All exceptions raised by the DnsHandler inherits from this one, so you can
-    easily catch any DnsHandler exception.
-
-    message - A descriptive error message.
-    """
-    pass
+__ALL__ = ('ProxyHandler',)
 
 class Host(Sequence):
     def __init__(self,ip):
 
 class Host(Sequence):
     def __init__(self,ip):
@@ -35,8 +24,8 @@ class HostHandler(DictSubHandler):
 
     handler_help = u"Manage proxy hosts"
 
 
     handler_help = u"Manage proxy hosts"
 
-    _dict_subhandler_attr = 'hosts'
-    _dict_subhandler_class = Host
+    _cont_subhandler_attr = 'hosts'
+    _cont_subhandler_class = Host
 
 class User(Sequence):
     def __init__(self, name, password):
 
 class User(Sequence):
     def __init__(self, name, password):
@@ -52,8 +41,8 @@ class UserHandler(DictSubHandler):
 
     handler_help = u"Manage proxy users"
 
 
     handler_help = u"Manage proxy users"
 
-    _dict_subhandler_attr = 'users'
-    _dict_subhandler_class = User
+    _cont_subhandler_attr = 'users'
+    _cont_subhandler_class = User
 
 class ProxyHandler(Restorable, ConfigWriter, InitdHandler,
                    TransactionalHandler, ParametersHandler):
 
 class ProxyHandler(Restorable, ConfigWriter, InitdHandler,
                    TransactionalHandler, ParametersHandler):