update credentials to use name of slice/tenant of sliver
diff --git a/plstackapi/openstack/sliveragent.py b/plstackapi/openstack/sliveragent.py
index 322cdfd..732a5f1 100644
--- a/plstackapi/openstack/sliveragent.py
+++ b/plstackapi/openstack/sliveragent.py
@@ -12,6 +12,10 @@
# fill in null ip addresses
slivers = Sliver.objects.filter(ip=None)
for sliver in slivers:
+ # update connection
+ client.connect(username=client.keystone.username,
+ password=client.keystone.password,
+ tenant=sliver.slice.name)
servers = client.nova.servers.findall(id=sliver.instance_id)
if not servers:
continue