def __init__(self, host=None, port=None, dir=None, vm_name=None, user=None, password=None):
self.port = port<EOL>self.name = vm_name<EOL>self.workdir = dir<EOL>self.host = host<EOL>self.user = user<EOL>self.password = password<EOL>self.vcenter_conn = self.vcenter_connect()<EOL>self.vm_obj = self.get_vm_obj()<EOL>self.vm_dl_path = self.validate_save_dir()<EOL>
Instantiate with common attributes of exportable VMs
:param deploy_config: vcenter configuration
:param local_save_directory: directory to save to
:param name: name of the vmdk to export as
:param port: port to communicate with vcenter