Modifications to allow for instance auth via ssh keys

* Adds private key field to keypair model
* Adds config for instance auth strategy
* Added logic into server behaviors to decide on instance auth strategy

Change-Id: Ia60bc1285bf5d5ba6a86c2a572724ad9d2df7e39
This commit is contained in:
Daryl Walleck
2013-06-10 21:06:31 -05:00
parent c482861408
commit 941945632a
8 changed files with 40 additions and 10 deletions

View File

@@ -127,3 +127,7 @@ class ComputeHypervisors(object):
KVM = 'kvm'
QEMU = 'qemu'
HYPER_V = 'hyper_v'
class InstanceAuthStrategies(object):
PASSWORD = 'password'
KEY = 'key'