VOL-503:asfvolt16:implement ASFVOLT16 OLT reboot operation
This review depends on review request: https://gerrit.opencord.org/#/c/6304/
Change-Id: Ica1ae099f62d7279307dca77a3270ec8c659f7c8
diff --git a/device_simulator/bal_stub.c b/device_simulator/bal_stub.c
index 78b4823..d89a37c 100644
--- a/device_simulator/bal_stub.c
+++ b/device_simulator/bal_stub.c
@@ -79,6 +79,11 @@
access_term_ind.key = &accTermKey;
balIndCfg.access_term_ind = &access_term_ind;
status = bal_ind__bal_acc_term_ind(client, NULL, &balIndCfg, &output, NULL, 0);
+ if(GRPC_C_FAIL == status)
+ {
+ printf("\n Failed To Send Access Terminal Indication: Please verify the VOLTHA IP Address configured\n");
+ }
+ is_stub_reboot = 1;
}
break;
case BAL_OBJ_ID__BAL_OBJ_ID_INTERFACE:
@@ -89,6 +94,10 @@
balIndCfg.u_case = BAL_INDICATIONS__U_INTERFACE_IND;
prevObjType = front->obj_type;
status = bal_ind__bal_iface_ind(client, NULL, &balIndCfg, &output, NULL, 0);
+ if(GRPC_C_FAIL == status)
+ {
+ printf("\n Failed To Send Interface Indication: Please verify the VOLTHA IP Address configured\n");
+ }
}
break;
case BAL_OBJ_ID__BAL_OBJ_ID_SUBSCRIBER_TERMINAL: