from .cobbler import HandlerCobblerMixin
from .ldap import HandlerLdapMixin
+from .vm import HandlerVmMixin
from .vmware import HandlerVmwareMixin
from ..config import CrTplConfiguration
from ..xlate import XLATOR
-__version__ = '2.4.5'
+__version__ = '2.4.6'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
ngettext = XLATOR.ngettext
# =============================================================================
-class CrTplHandler(BaseHandler, HandlerLdapMixin, HandlerCobblerMixin, HandlerVmwareMixin):
+class CrTplHandler(
+ BaseHandler, HandlerLdapMixin, HandlerCobblerMixin, HandlerVmMixin, HandlerVmwareMixin):
"""
A handler class for creating a vSphere template.
"""
--- /dev/null
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+"""
+@author: Frank Brehm
+@contact: frank.brehm@pixelpark.com
+@copyright: © 2023 by Frank Brehm, Berlin
+@summary: A mixin module for the CrTplHandler class for VM dependend methods.
+"""
+from __future__ import absolute_import, print_function
+
+# Standard modules
+import logging
+
+# Third party modules
+# from fb_tools.common import pp
+# from fb_tools.errors import HandlerError, ExpectedHandlerError
+
+# Own modules
+
+# from .. import print_section_start, print_section_end
+from ..xlate import XLATOR
+
+__version__ = '0.1.0'
+
+LOG = logging.getLogger(__name__)
+
+_ = XLATOR.gettext
+ngettext = XLATOR.ngettext
+
+# =============================================================================
+class HandlerVmMixin():
+ """
+ A mixin class for extending the CrTplHandler class for VMware/VSphere dependend methods.
+ """
+
+ pass
+
+
+# =============================================================================
+if __name__ == "__main__":
+
+ pass
+
+# =============================================================================
+
+# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 list