Add panko module
Change-Id: I0be0b152b6e4f52ff374383622ba666818ae0b06
Related-Issue: PROD-25009 (PROD:25009)
diff --git a/_modules/pankov2/__init__.py b/_modules/pankov2/__init__.py
new file mode 100644
index 0000000..31268b2
--- /dev/null
+++ b/_modules/pankov2/__init__.py
@@ -0,0 +1,23 @@
+try:
+ import os_client_config # noqa
+ from keystoneauth1 import exceptions as ka_exceptions # noqa
+ REQUIREMENTS_MET = True
+except ImportError:
+ REQUIREMENTS_MET = False
+
+from pankov2 import lists
+
+event_list = lists.event_list
+event_type_list = lists.event_type_list
+
+
+__all__ = ('event_list', 'event_type_list',)
+
+
+def __virtual__():
+ """Only load pankov2 if requirements are available."""
+ if REQUIREMENTS_MET:
+ return 'pankov2'
+ else:
+ return False, ("The pankov2 execution module cannot be loaded: "
+ "os_client_config or keystoneauth are unavailable.")
\ No newline at end of file