Revision 8a12ce45
b/lib/cmdlib.py | ||
---|---|---|
1999 | 1999 |
"export_version": constants.EXPORT_VERSION, |
2000 | 2000 |
"master": self.sstore.GetMasterNode(), |
2001 | 2001 |
"architecture": (platform.architecture()[0], platform.machine()), |
2002 |
"hypervisor_type": self.sstore.GetHypervisorType(), |
|
2002 | 2003 |
} |
2003 | 2004 |
|
2004 | 2005 |
return result |
b/scripts/gnt-cluster | ||
---|---|---|
141 | 141 |
print ("Architecture (this node): %s (%s)" % |
142 | 142 |
(result["architecture"][0], result["architecture"][1])) |
143 | 143 |
|
144 |
print ("Cluster hypervisor: %s" % result["hypervisor_type"]) |
|
145 |
|
|
144 | 146 |
return 0 |
145 | 147 |
|
146 | 148 |
|
Also available in: Unified diff