+###############################################################################
+# Copyright (c) 2015 Ericsson AB and others.
+# szilard.cserey@ericsson.com
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+###############################################################################
+
+
import yaml
import io
-import sys
import os
import common
from environments.libvirt_environment import LibvirtEnvironment
from environments.virtual_fuel import VirtualFuel
-from dea import DeploymentEnvironmentAdapter
exec_cmd = common.exec_cmd
err = common.err
check_if_root = common.check_if_root
ArgParser = common.ArgParser
+
class ExecutionEnvironment(object):
+
def __new__(cls, storage_dir, pxe_bridge, dha_path, dea):
with io.open(dha_path) as yaml_file: