diff --git a/vslib/Sai.cpp b/vslib/Sai.cpp index c8c34547c44c..09558f643f8a 100644 --- a/vslib/Sai.cpp +++ b/vslib/Sai.cpp @@ -445,49 +445,6 @@ sai_status_t Sai::get( \ SAIREDIS_DECLARE_EVERY_ENTRY(DECLARE_GET_ENTRY); -// QUAD SERIALIZED - -sai_status_t Sai::create( - _In_ sai_object_type_t object_type, - _In_ const std::string& serializedObjectId, - _In_ uint32_t attr_count, - _In_ const sai_attribute_t *attr_list) -{ - SWSS_LOG_ENTER(); - - return SAI_STATUS_NOT_IMPLEMENTED; -} - -sai_status_t Sai::remove( - _In_ sai_object_type_t objectType, - _In_ const std::string& serializedObjectId) -{ - SWSS_LOG_ENTER(); - - return SAI_STATUS_NOT_IMPLEMENTED; -} - -sai_status_t Sai::set( - _In_ sai_object_type_t objectType, - _In_ const std::string &serializedObjectId, - _In_ const sai_attribute_t *attr) -{ - SWSS_LOG_ENTER(); - - return SAI_STATUS_NOT_IMPLEMENTED; -} - -sai_status_t Sai::get( - _In_ sai_object_type_t objectType, - _In_ const std::string& serializedObjectId, - _In_ uint32_t attr_count, - _Inout_ sai_attribute_t *attr_list) -{ - SWSS_LOG_ENTER(); - - return SAI_STATUS_NOT_IMPLEMENTED; -} - // STATS sai_status_t Sai::getStats( @@ -614,44 +571,6 @@ sai_status_t Sai::bulkSet( object_statuses); } -// BULK QUAD SERIALIZED - -sai_status_t Sai::bulkCreate( - _In_ sai_object_type_t object_type, - _In_ const std::vector &serialized_object_ids, - _In_ const uint32_t *attr_count, - _In_ const sai_attribute_t **attr_list, - _In_ sai_bulk_op_error_mode_t mode, - _Inout_ sai_status_t *object_statuses) -{ - SWSS_LOG_ENTER(); - - return SAI_STATUS_NOT_IMPLEMENTED; -} - -sai_status_t Sai::bulkRemove( - _In_ sai_object_type_t object_type, - _In_ const std::vector &serialized_object_ids, - _In_ sai_bulk_op_error_mode_t mode, - _Out_ sai_status_t *object_statuses) -{ - SWSS_LOG_ENTER(); - - return SAI_STATUS_NOT_IMPLEMENTED; -} - -sai_status_t Sai::bulkSet( - _In_ sai_object_type_t object_type, - _In_ const std::vector &serialized_object_ids, - _In_ const sai_attribute_t *attr_list, - _In_ sai_bulk_op_error_mode_t mode, - _Out_ sai_status_t *object_statuses) -{ - SWSS_LOG_ENTER(); - - return SAI_STATUS_NOT_IMPLEMENTED; -} - // BULK QUAD ENTRY #define DECLARE_BULK_CREATE_ENTRY(OT,ot) \ diff --git a/vslib/Sai.h b/vslib/Sai.h index 6f0a36f2058e..86c186c8934a 100644 --- a/vslib/Sai.h +++ b/vslib/Sai.h @@ -155,52 +155,6 @@ namespace saivs _In_ sai_api_t api, _In_ sai_log_level_t log_level) override; - private: // QUAD API helpers - - sai_status_t create( - _In_ sai_object_type_t objectType, - _In_ const std::string& serializedObjectId, - _In_ uint32_t attr_count, - _In_ const sai_attribute_t *attr_list); - - sai_status_t remove( - _In_ sai_object_type_t objectType, - _In_ const std::string& serializedObjectId); - - sai_status_t set( - _In_ sai_object_type_t objectType, - _In_ const std::string& serializedObjectId, - _In_ const sai_attribute_t *attr); - - sai_status_t get( - _In_ sai_object_type_t objectType, - _In_ const std::string& serializedObjectId, - _In_ uint32_t attr_count, - _Inout_ sai_attribute_t *attr_list); - - private: // bulk QUAD API helpers - - sai_status_t bulkCreate( - _In_ sai_object_type_t object_type, - _In_ const std::vector &serialized_object_ids, - _In_ const uint32_t *attr_count, - _In_ const sai_attribute_t **attr_list, - _In_ sai_bulk_op_error_mode_t mode, - _Inout_ sai_status_t *object_statuses); - - sai_status_t bulkRemove( - _In_ sai_object_type_t object_type, - _In_ const std::vector &serialized_object_ids, - _In_ sai_bulk_op_error_mode_t mode, - _Out_ sai_status_t *object_statuses); - - sai_status_t bulkSet( - _In_ sai_object_type_t object_type, - _In_ const std::vector &serialized_object_ids, - _In_ const sai_attribute_t *attr_list, - _In_ sai_bulk_op_error_mode_t mode, - _Out_ sai_status_t *object_statuses); - private: // QUAD pre sai_status_t preSet(