- def __init__(self, uuid, name, tenant_id, tenant_name, url, url_admin=None, user=None, passwd=None, log_level="ERROR", config={}):
+ def __init__(self, uuid, name, tenant_id, tenant_name, url, url_admin=None, user=None, passwd=None, log_level=None, config={}):
+ """Constructor of VIM
+ "uuid": id asigned to this VIM
+ "name": name assigned to this VIM, can be used for logging
+ "tenant_id", tenant_name: VIM tenant to be used
+ "url_admin": optional, url used for administrative tasks
+ "user", "passwd": credentials of the VIM user
+ "log_level": if must use a different log_level than the general one
+ "config": dictionary with extra VIM information. This contains a consolidate version of general VIM config at create
+ and particular VIM config at attach
+ Returns can raise an exception if some check is done and fails
+ """