Tony Mack | 5f7abe0 | 2013-04-08 15:14:30 -0400 | [diff] [blame^] | 1 | from plstackapi.openstack.driver import OpenStackDriver |
2 | |||||
3 | def auth_check(auth): | ||||
4 | client = OpenStackDriver(username=auth['Username'], | ||||
5 | password=auth['AuthString'], | ||||
6 | tenant=auth['LoginBase']) | ||||
7 | client.authenticate() | ||||
8 | return client |