openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

issumgmt.h (1290B)


      1 /*! \file issumgmt.h
      2  *
      3  * ISSU management definition for LTSW.
      4  */
      5 /*
      6  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      7  * 
      8  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      9  */
     10 
     11 #ifndef DIAG_LTSW_ISSUMGMT_H
     12 #define DIAG_LTSW_ISSUMGMT_H
     13 
     14 /*!
     15  * \brief Configure the start SDK version for ISSU upgrade.
     16  *
     17  * \retval SHR_E_NONE Success.
     18  * \retval !SHR_E_NONE Failure.
     19  */
     20 extern int
     21 issumgmt_start_version_set(const char *start_ver);
     22 
     23 /*!
     24  * \brief Configure the current SDK version for ISSU upgrade.
     25  *
     26  * \retval SHR_E_NONE Success.
     27  * \retval !SHR_E_NONE Failure.
     28  */
     29 extern int
     30 issumgmt_current_version_set(const char *current_ver);
     31 
     32 /*!
     33  * \brief Start the ISSU upgrade process.
     34  *
     35  * This management function is used to notify the SDK and SDKLT that
     36  * the ISSU process is starting now.
     37  *
     38  * \retval SHR_E_NONE Success.
     39  * \retval !SHR_E_NONE Failure.
     40  */
     41 extern int
     42 issumgmt_upgrade_start(void);
     43 
     44 /*!
     45  * \brief The ISSU upgrade process done.
     46  *
     47  * This management function is used to notify the SDK and SDKLT that
     48  * the ISSU process is done.
     49  *
     50  * \retval SHR_E_NONE Success.
     51  * \retval !SHR_E_NONE Failure.
     52  */
     53 extern int
     54 issumgmt_upgrade_done(void);
     55 
     56 #endif /* DIAG_LTSW_ISSUMGMT_H */