Revision a20e4768 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
32 | 32 |
import os.path |
33 | 33 |
import time |
34 | 34 |
import re |
35 |
import platform |
|
36 | 35 |
import logging |
37 | 36 |
import copy |
38 | 37 |
import OpenSSL |
... | ... | |
59 | 58 |
from ganeti import qlang |
60 | 59 |
from ganeti import opcodes |
61 | 60 |
from ganeti import ht |
61 |
from ganeti import runtime |
|
62 | 62 |
|
63 | 63 |
import ganeti.masterd.instance # pylint: disable=W0611 |
64 | 64 |
|
... | ... | |
5520 | 5520 |
"config_version": constants.CONFIG_VERSION, |
5521 | 5521 |
"os_api_version": max(constants.OS_API_VERSIONS), |
5522 | 5522 |
"export_version": constants.EXPORT_VERSION, |
5523 |
"architecture": (platform.architecture()[0], platform.machine()),
|
|
5523 |
"architecture": runtime.GetArchInfo(),
|
|
5524 | 5524 |
"name": cluster.cluster_name, |
5525 | 5525 |
"master": cluster.master_node, |
5526 | 5526 |
"default_hypervisor": cluster.enabled_hypervisors[0], |
Also available in: Unified diff