commit | b9e504c87988968b4deddde7ce316e1ee4e41c52 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <sapan@opennetworking.org> | Tue Aug 29 18:39:53 2017 -0400 |
committer | Sapan Bhatia <sapan@opennetworking.org> | Tue Aug 29 18:46:43 2017 -0400 |
tree | 05c176ee532e3bfa534ab4bd17215727316359c8 | |
parent | 2b1f7f8dc8b5fd813a1debb2c6fca1d356009a0a [diff] [blame] |
Update backend messages to match new scheme (backend_status and backend_code instead of backend_status alone) Change-Id: Idb8b6e1f6b4f993e262491238e98018b4f603399
diff --git a/xos/synchronizer/steps/sync_controller_slices.py b/xos/synchronizer/steps/sync_controller_slices.py index a4cfd40..663ded8 100644 --- a/xos/synchronizer/steps/sync_controller_slices.py +++ b/xos/synchronizer/steps/sync_controller_slices.py
@@ -71,7 +71,8 @@ raise Exception('Could not update quota for %s'%controller_slice.slice.name) controller_slice.tenant_id = tenant_id - controller_slice.backend_status = '1 - OK' + controller_slice.backend_status = 'OK' + controller_slice.backend_code = 1 controller_slice.save()