/** * @brief Remove stp instance. * * @param[in] stp_id stp instance id * @return SAI_STATUS_SUCCESS if operation is successful otherwise a different * error code is returned. */ sai_status_t sai_remove_stp_entry( _In_ sai_object_id_t stp_id) { SAI_LOG_ENTER(SAI_API_STP); sai_status_t status = SAI_STATUS_SUCCESS; status = switch_api_stp_group_delete(device, (switch_handle_t)stp_id); SAI_LOG_EXIT(SAI_API_STP); return (sai_status_t) status; }
/** * @brief Remove stp instance. * * @param[in] stp_id stp instance id * @return SAI_STATUS_SUCCESS if operation is successful otherwise a different * error code is returned. */ sai_status_t sai_remove_stp_entry( _In_ sai_object_id_t stp_id) { sai_status_t status = SAI_STATUS_SUCCESS; status = switch_api_stp_group_delete((switch_handle_t)stp_id); return (sai_status_t) status; }