summaryrefslogtreecommitdiffstats
path: root/modules/opnfv/deployment/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/opnfv/deployment/example.py')
-rw-r--r--modules/opnfv/deployment/example.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/opnfv/deployment/example.py b/modules/opnfv/deployment/example.py
index 3999a11c6..52d9b5630 100644
--- a/modules/opnfv/deployment/example.py
+++ b/modules/opnfv/deployment/example.py
@@ -34,3 +34,17 @@ print("List of nodes in cluster 4:")
nodes = handler.get_nodes({'cluster': '4'})
for node in nodes:
print(node)
+
+
+print("########## COMPASS ##########")
+handler = factory.Factory.get_handler('compass',
+ '192.168.200.2',
+ 'root',
+ installer_pwd='root')
+
+print(handler.get_deployment_status())
+print(handler.get_deployment_info())
+print('Details of each node:')
+nodes = handler.nodes
+for node in nodes:
+ print(node)