LGTM, thanks On Fri, 13 Nov 2015 at 11:17 'Hrvoje Ribicic' via ganeti-devel < [email protected]> wrote:
> With this patch, gnt-cluster info shows both the ssh key type and the > key length. > > Signed-off-by: Hrvoje Ribicic <[email protected]> > --- > lib/client/gnt_cluster.py | 2 ++ > src/Ganeti/Query/Server.hs | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/lib/client/gnt_cluster.py b/lib/client/gnt_cluster.py > index 717da44..0aa1bb4 100644 > --- a/lib/client/gnt_cluster.py > +++ b/lib/client/gnt_cluster.py > @@ -624,6 +624,8 @@ def ShowClusterConfig(opts, args): > ("zeroing image", result["zeroing_image"]), > ("compression tools", result["compression_tools"]), > ("enabled user shutdown", result["enabled_user_shutdown"]), > + ("ssh_key_type", result["ssh_key_type"]), > + ("ssh_key_bits", result["ssh_key_bits"]), > ]), > > ("Default node parameters", > diff --git a/src/Ganeti/Query/Server.hs b/src/Ganeti/Query/Server.hs > index c153740..5d39110 100644 > --- a/src/Ganeti/Query/Server.hs > +++ b/src/Ganeti/Query/Server.hs > @@ -270,6 +270,8 @@ handleCall _ _ cdata QueryClusterInfo = > , ("data_collector_interval", > showJSON . fmap dataCollectorInterval > $ clusterDataCollectors cluster) > + , ("ssh_key_type", showJSON $ clusterSshKeyType cluster) > + , ("ssh_key_bits", showJSON $ clusterSshKeyBits cluster) > ] > > in case master of > -- > 2.6.0.rc2.230.g3dd15c0 > > -- Helga Velroyen Software Engineer [email protected] Google Germany GmbH Dienerstraße 12 80331 München Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank. This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.
