Add driver_type.
This commit is contained in:
parent
c16cfd05bd
commit
731be163d6
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue