openstack_vms: update novaclient auth

The openstack novaclient has updated it's auth mechanism, deprecating
the method used in this module.  This patch updates the novaclient
authentication call to leverage this new auth method.
This commit is contained in:
David Wahlstrom 2016-08-30 13:55:27 -07:00
parent d423c52bec
commit 338d446bb3

View File

@ -1,6 +1,6 @@
from i3pystatus import IntervalModule
# requires python-novaclient
from novaclient.v2 import client
from novaclient import client
import webbrowser
@ -35,6 +35,7 @@ class Openstack_vms(IntervalModule):
def run(self):
nclient = client.Client(
'2.0',
self.username,
self.password,
self.tenant_name,