
The patch introduces the same functionality as the command line interface. When the template contains keypair, user can either provide a new keypair for the cluster or inherit one from the template. When template has no keypair attached, user has to provide a keypair for the cluster, otherwise the error will be returned (exactly as for the CLI). Closes-Bug: #1645754 Change-Id: I07c43be68022492f3c59b391ce6c31efc7b0aa79