|
1 | | -"""Connect Authenticate and get node objects from AWS, Azure and GCP. |
| 1 | +"""Authenticate and get node objects from user-specified cloud providers. |
2 | 2 |
|
3 | 3 | License: |
4 | 4 |
|
5 | | - MCC - Unified CLI Utility for AWS, Azure and GCP Instance Control. |
6 | | - Copyright (C) 2017 Robert Peteuil |
| 5 | + MCC - Command-Line Instance Control for AWS, Azure and GCP. |
| 6 | + Copyright (C) 2017-2018 Robert Peteuil |
7 | 7 |
|
8 | 8 | This program is free software: you can redistribute it and/or modify |
9 | 9 | it under the terms of the GNU General Public License as published by |
@@ -63,7 +63,7 @@ def get_conns(cred, providers): |
63 | 63 |
|
64 | 64 |
|
65 | 65 | def get_data(conn_objs, providers): |
66 | | - """Refresh node data using previous connection-objects.""" |
| 66 | + """Refresh node data using existing connection-objects.""" |
67 | 67 | cld_svc_map = {"aws": nodes_aws, |
68 | 68 | "azure": nodes_az, |
69 | 69 | "gcp": nodes_gcp} |
@@ -104,7 +104,7 @@ def busy_disp_on(): |
104 | 104 |
|
105 | 105 |
|
106 | 106 | def busy_disp_off(dobj): |
107 | | - """Turn OFF busy_display to show working statues.""" |
| 107 | + """Turn OFF busy_display to indicate completion.""" |
108 | 108 | dobj.kill(block=False) |
109 | 109 | sys.stdout.write("\033[D \033[D") |
110 | 110 | sys.stdout.flush() |
@@ -155,7 +155,7 @@ def nodes_aws(c_obj): |
155 | 155 |
|
156 | 156 |
|
157 | 157 | def adj_nodes_aws(aws_nodes): |
158 | | - """Retrieve details specific to AWS.""" |
| 158 | + """Adjust details specific to AWS.""" |
159 | 159 | for node in aws_nodes: |
160 | 160 | node.cloud = "aws" |
161 | 161 | node.cloud_disp = "AWS" |
@@ -194,7 +194,7 @@ def nodes_az(c_obj): |
194 | 194 |
|
195 | 195 |
|
196 | 196 | def adj_nodes_az(az_nodes): |
197 | | - """Retrieve details specific to Azure.""" |
| 197 | + """Adjust details specific to Azure.""" |
198 | 198 | for node in az_nodes: |
199 | 199 | node.cloud = "azure" |
200 | 200 | node.cloud_disp = "Azure" |
@@ -248,7 +248,7 @@ def nodes_gcp(c_obj): |
248 | 248 |
|
249 | 249 |
|
250 | 250 | def adj_nodes_gcp(gcp_nodes): |
251 | | - """Retrieve details specific to GCP.""" |
| 251 | + """Adjust details specific to GCP.""" |
252 | 252 | for node in gcp_nodes: |
253 | 253 | node.cloud = "gcp" |
254 | 254 | node.cloud_disp = "GCP" |
|
0 commit comments