Revision 026f444f
b/lib/client/gnt_cluster.py | ||
---|---|---|
351 | 351 |
ToStdout("Configuration format: %s", result["config_version"]) |
352 | 352 |
ToStdout("OS api version: %s", result["os_api_version"]) |
353 | 353 |
ToStdout("Export interface: %s", result["export_version"]) |
354 |
ToStdout("VCS version: %s", result["vcs_version"]) |
|
354 | 355 |
return 0 |
355 | 356 |
|
356 | 357 |
|
b/lib/cmdlib/cluster.py | ||
---|---|---|
291 | 291 |
"config_version": constants.CONFIG_VERSION, |
292 | 292 |
"os_api_version": max(constants.OS_API_VERSIONS), |
293 | 293 |
"export_version": constants.EXPORT_VERSION, |
294 |
"vcs_version": constants.VCS_VERSION, |
|
294 | 295 |
"architecture": runtime.GetArchInfo(), |
295 | 296 |
"name": cluster.cluster_name, |
296 | 297 |
"master": cluster.master_node, |
b/lib/query.py | ||
---|---|---|
2549 | 2549 |
"API version for OS template scripts"), |
2550 | 2550 |
"export_version": ("ExportVersion", QFT_NUMBER, constants.EXPORT_VERSION, |
2551 | 2551 |
"Import/export file format version"), |
2552 |
"vcs_version": ("VCSVersion", QFT_TEXT, constants.VCS_VERSION, |
|
2553 |
"VCS version"), |
|
2552 | 2554 |
} |
2553 | 2555 |
|
2554 | 2556 |
|
b/src/Ganeti/Query/Server.hs | ||
---|---|---|
96 | 96 |
, ("config_version", showJSON C.configVersion) |
97 | 97 |
, ("os_api_version", showJSON $ maximum C.osApiVersions) |
98 | 98 |
, ("export_version", showJSON C.exportVersion) |
99 |
, ("vcs_version", showJSON C.vcsVersion) |
|
99 | 100 |
, ("architecture", showJSON arch_tuple) |
100 | 101 |
, ("name", showJSON $ clusterClusterName cluster) |
101 | 102 |
, ("master", showJSON $ clusterMasterNode cluster) |
Also available in: Unified diff