sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + "/osm_ro")
test_config['vimtype'] = args.vimtype
if args.vimtype == "vmware":
- import vimconn_vmware as vim
+ from osm_rovim_vmware import vimconn_vmware as vim
test_config["test_directory"] = os.path.dirname(__file__) + "/RO_tests"
passwd=org_passwd, url=vim_url, config=config_params)
elif args.vimtype == "aws":
- import vimconn_aws as vim
+ from osm_rovim_aws import vimconn_aws as vim
elif args.vimtype == "openstack":
- import vimconn_openstack as vim
+ from osm_rovim_openstack import vimconn_openstack as vim
test_config["test_directory"] = os.path.dirname(__file__) + "/RO_tests"
test_config['vim_conn'].debug = "true"
elif args.vimtype == "openvim":
- import vimconn_openvim as vim
+ from osm_rovim_openvim import vimconn_openvim as vim
elif args.vimtype == "azure":
- import vimconn_azure as vim
+ from osm_rovim_azure import vimconn_azure as vim
test_config["test_directory"] = os.path.dirname(__file__) + "/RO_tests"
def test_vim(args):
global test_config
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + "/osm_ro")
- import openmanoclient
+ from osm_ro import openmanoclient
executed = 0
failed = 0
test_config["client"] = openmanoclient.openmanoclient(
def test_wim(args):
global test_config
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + "/osm_ro")
- import openmanoclient
+ from osm_ro import openmanoclient
executed = 0
failed = 0
test_config["client"] = openmanoclient.openmanoclient(
def test_deploy(args):
global test_config
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + "/osm_ro")
- import openmanoclient
+ from osm_ro import openmanoclient
executed = 0
failed = 0
test_config["test_directory"] = os.path.dirname(__file__) + "/RO_tests"