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/src/asfvolt16_driver.h b/src/asfvolt16_driver.h
index 5ee1a98..6f5a884 100755
--- a/src/asfvolt16_driver.h
+++ b/src/asfvolt16_driver.h
@@ -35,6 +35,7 @@
 #define MAX_OMCI_MSG_LENGTH 44
 
 char voltha_device_id[ASFVOLT_MAX_DEVICE_ID_SIZE];
+unsigned int is_reboot;
 
 typedef struct BalCoreIpInfo
 {
diff --git a/src/bal_indications_hdlr.c b/src/bal_indications_hdlr.c
index 8f13e88..df75a58 100755
--- a/src/bal_indications_hdlr.c
+++ b/src/bal_indications_hdlr.c
@@ -132,6 +132,7 @@
 
       BalErr *output;
       result = bal_ind__bal_acc_term_ind(client, NULL, &balIndCfg, &output, NULL, 0);
+      is_reboot = BAL_REBOOT_STATUS__BAL_OLT_UP_AFTER_ACTIVATION;
    }
 
    return result;