Revision 8113a52e lib/config.py
b/lib/config.py | ||
---|---|---|
1155 | 1155 |
off_data = fn(node.name for node in node_info if node.offline) |
1156 | 1156 |
on_data = fn(node.name for node in node_info if not node.offline) |
1157 | 1157 |
mc_data = fn(node.name for node in node_info if node.master_candidate) |
1158 |
mc_ips_data = fn(node.primary_ip for node in node_info |
|
1159 |
if node.master_candidate) |
|
1158 | 1160 |
node_data = fn(node_names) |
1159 | 1161 |
node_pri_ips_data = fn(node_pri_ips) |
1160 | 1162 |
node_snd_ips_data = fn(node_snd_ips) |
... | ... | |
1166 | 1168 |
constants.SS_CLUSTER_TAGS: cluster_tags, |
1167 | 1169 |
constants.SS_FILE_STORAGE_DIR: cluster.file_storage_dir, |
1168 | 1170 |
constants.SS_MASTER_CANDIDATES: mc_data, |
1171 |
constants.SS_MASTER_CANDIDATES_IPS: mc_ips_data, |
|
1169 | 1172 |
constants.SS_MASTER_IP: cluster.master_ip, |
1170 | 1173 |
constants.SS_MASTER_NETDEV: cluster.master_netdev, |
1171 | 1174 |
constants.SS_MASTER_NODE: cluster.master_node, |
Also available in: Unified diff