Sanitize keypair name for heat

Engine creates keypair for the stacks it creates. Keypairs are named
after the scenario which can contain version information such as
master, 1.1, and so on.

But OpenStack heat considers keypair names containing dots insecure
so this change replaces dots with underscores if there is any.

Change-Id: I3a50da1c5a2407a1d92c117157c6914895adc39d
1 file changed