Updated message
Change-Id: I27b10914b3f3b2e7955a0e373554a943689073a4
diff --git a/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py b/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py
index e08d6bd..e410561 100644
--- a/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py
+++ b/xos/synchronizer/model_policies/model_policy_att_workflow_driver_serviceinstance.py
@@ -85,19 +85,19 @@
# TODO if the status hasn't changed don't save it again
if si.authentication_state == "AWAITING":
subscriber.status = "awaiting-auth"
- si.status_message = "Awaiting Authentication"
+ si.status_message += " - Awaiting Authentication"
elif si.authentication_state == "REQUESTED":
subscriber.status = "awaiting-auth"
- si.status_message = "Authentication requested"
+ si.status_message += " - Authentication requested"
elif si.authentication_state == "STARTED":
subscriber.status = "awaiting-auth"
- si.status_message = "Authentication started"
+ si.status_message += " - Authentication started"
elif si.authentication_state == "APPROVED":
subscriber.status = "enabled"
- si.status_message = "Authentication succeded"
+ si.status_message += " - Authentication succeded"
elif si.authentication_state == "DENIED":
subscriber.status = "auth-failed"
- si.status_message = "Authentication denied"
+ si.status_message += " - Authentication denied"
self.logger.debug("MODEL_POLICY: handling subscriber", onu_device=subscriber.onu_device, authentication_state=si.authentication_state, subscriber_status=subscriber.status)
subscriber.save(always_update_timestamp=True)