experimental/saiextensions.h (43 lines of code) (raw):
/**
* Copyright (c) 2018 Microsoft Open Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT
* LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS
* FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.
*
* See the Apache Version 2.0 License for specific language governing
* permissions and limitations under the License.
*
* Microsoft would like to thank the following companies for their review and
* assistance with these files: Intel Corporation, Mellanox Technologies Ltd,
* Dell Products, L.P., Facebook, Inc., Marvell International Ltd.
*
* @file saiextensions.h
*
* @brief This module defines extensions of the Switch Abstraction Interface (SAI)
*/
#ifndef __SAIEXTENSIONS_H_
#define __SAIEXTENSIONS_H_
#include <sai.h>
#include <saitypes.h>
/* existing enum extensions */
#include "saitypesextensions.h"
#include "saiswitchextensions.h"
#include "saiportextensions.h"
/* new experimental object type includes */
#include "saiexperimentaldashappliance.h"
#include "saiexperimentaldashflow.h"
#include "saiexperimentaldashtunnel.h"
#include "saiexperimentaldashha.h"
#include "saiexperimentaldashvip.h"
#include "saiexperimentaldashpavalidation.h"
#include "saiexperimentaldashvnet.h"
#include "saiexperimentaldashoutboundrouting.h"
#include "saiexperimentaldashoutboundcatopa.h"
#include "saiexperimentaldashmeter.h"
#include "saiexperimentaldashinboundrouting.h"
#include "saiexperimentaldasheni.h"
#include "saiexperimentaldashdirectionlookup.h"
#include "saiexperimentaldashacl.h"
#include "saiexperimentalbmtor.h"
/**
* @brief Extensions to SAI APIs
*
* @flags free
*/
typedef enum _sai_api_extensions_t
{
SAI_API_EXTENSIONS_RANGE_START = SAI_API_EXTENSIONS_RANGE_BASE,
SAI_API_BMTOR = SAI_API_EXTENSIONS_RANGE_START,
SAI_API_DASH_ACL,
SAI_API_DASH_DIRECTION_LOOKUP,
SAI_API_DASH_ENI,
SAI_API_DASH_INBOUND_ROUTING,
SAI_API_DASH_METER,
SAI_API_DASH_OUTBOUND_CA_TO_PA,
SAI_API_DASH_OUTBOUND_ROUTING,
SAI_API_DASH_VNET,
SAI_API_DASH_PA_VALIDATION,
SAI_API_DASH_VIP,
SAI_API_DASH_HA,
SAI_API_DASH_TUNNEL,
SAI_API_DASH_FLOW,
SAI_API_DASH_APPLIANCE,
/* Add new experimental APIs above this line */
SAI_API_EXTENSIONS_RANGE_END
} sai_api_extensions_t;
#endif /* __SAIEXTENSIONS_H_ */