Revision fc0fe88c
b/lib/bootstrap.py | ||
---|---|---|
221 | 221 |
secondary_ip=secondary_ip, |
222 | 222 |
serial_no=1, |
223 | 223 |
master_candidate=True, |
224 |
offline=False, |
|
224 | 225 |
) |
225 | 226 |
|
226 | 227 |
sscfg = InitConfig(constants.CONFIG_VERSION, |
b/lib/cmdlib.py | ||
---|---|---|
1977 | 1977 |
self.new_node = objects.Node(name=node, |
1978 | 1978 |
primary_ip=primary_ip, |
1979 | 1979 |
secondary_ip=secondary_ip, |
1980 |
master_candidate=master_candidate) |
|
1980 |
master_candidate=master_candidate, |
|
1981 |
offline=False) |
|
1981 | 1982 |
|
1982 | 1983 |
def Exec(self, feedback_fn): |
1983 | 1984 |
"""Adds the new node to the cluster. |
... | ... | |
5914 | 5915 |
"primary_ip": ninfo.primary_ip, |
5915 | 5916 |
"secondary_ip": ninfo.secondary_ip, |
5916 | 5917 |
"total_cpus": remote_info['cpu_total'], |
5918 |
"offline": ninfo.offline, |
|
5917 | 5919 |
} |
5918 | 5920 |
node_results[nname] = pnr |
5919 | 5921 |
data["nodes"] = node_results |
b/lib/objects.py | ||
---|---|---|
685 | 685 |
"secondary_ip", |
686 | 686 |
"serial_no", |
687 | 687 |
"master_candidate", |
688 |
"offline", |
|
688 | 689 |
] |
689 | 690 |
|
690 | 691 |
|
Also available in: Unified diff