aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv/installer_adapters/compass/CompassAdapter.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-11-16 10:54:23 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-11-16 16:46:11 +0100
commit4da1cc669354d2e632bb0bb93e9e09d24d3642f6 (patch)
tree69ad28ef1fc9925f193dd69505fd6bca2fc8b600 /opnfv/installer_adapters/compass/CompassAdapter.py
parent5ec14ae1e352f9edc862bee659bc2187a9ab150d (diff)
Move installer adapters to the new modules directory
JIRA: RELENG-149 JIRA: RELENG-161 Now that we have a modules directory in place, let's move all the shared python code to this location. We need to create a setup.py to install these modules in the system so that we don't have to modify the pythonpath. Change-Id: I7e608ce6e1e6b3d111405bc789cdb2ff7fcb49c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'opnfv/installer_adapters/compass/CompassAdapter.py')
-rw-r--r--opnfv/installer_adapters/compass/CompassAdapter.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/opnfv/installer_adapters/compass/CompassAdapter.py b/opnfv/installer_adapters/compass/CompassAdapter.py
new file mode 100644
index 0000000..47cbc64
--- /dev/null
+++ b/opnfv/installer_adapters/compass/CompassAdapter.py
@@ -0,0 +1,32 @@
+##############################################################################
+# Copyright (c) 2016 Ericsson AB and others.
+# Author: Jose Lausuch (jose.lausuch@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
+##############################################################################
+
+
+class CompassAdapter:
+
+ def __init__(self, installer_ip):
+ self.installer_ip = installer_ip
+
+ def get_deployment_info(self):
+ pass
+
+ def get_nodes(self):
+ pass
+
+ def get_controller_ips(self):
+ pass
+
+ def get_compute_ips(self):
+ pass
+
+ def get_file_from_installer(self, origin, target, options=None):
+ pass
+
+ def get_file_from_controller(self, origin, target, ip=None, options=None):
+ pass