CORD-1904: Update ControllerSlice deletion to the interface of the new
Ansible OpenStack modules
Change-Id: Id78f1de633e140c6380f9337442459095925da76
(cherry picked from commit f3d69bbef0071fac653eeb9c7216801de0a30079)
diff --git a/xos/synchronizer/steps/sync_controller_slices.py b/xos/synchronizer/steps/sync_controller_slices.py
index 663ded8..19c3de4 100644
--- a/xos/synchronizer/steps/sync_controller_slices.py
+++ b/xos/synchronizer/steps/sync_controller_slices.py
@@ -87,9 +87,9 @@
tenant_fields = {'endpoint':controller_slice.controller.auth_url,
'admin_user': controller_slice.controller.admin_user,
'admin_password': controller_slice.controller.admin_password,
- 'admin_tenant': 'admin',
- 'tenant': controller_slice.slice.name,
- 'tenant_description': controller_slice.slice.description,
+ 'admin_project': 'admin',
+ 'project': controller_slice.slice.name,
+ 'project_description': controller_slice.slice.description,
'name':controller_user.user.email,
'ansible_tag':'%s@%s'%(controller_slice.slice.name,controller_slice.controller.name),
'delete': True}