Add driver_type.

This commit is contained in:
uggla 2015-07-08 14:39:44 +02:00
parent c16cfd05bd
commit 731be163d6
2 changed files with 8 additions and 2 deletions

View File

@ -10,4 +10,8 @@ class ConfigurationItem(object):
self.ip_mgmt = ip_mgmt
self.login = login
self.password = password
self.ci_type = None
self.__data = None

View File

@ -1,9 +1,11 @@
# coding=utf-8
import types
class Driver(object):
def __init__(self):
self.driver_type=__name__
self.driver_type = self.__class__.__name__
# Get credentials from conf files for CMDB
pass