38 #ifndef OPENAPI_QOS_AUTO_VLAN_H_INCLUDED
39 #define OPENAPI_QOS_AUTO_VLAN_H_INCLUDED
46 OPEN_AUTO_VLAN_FIRST = 0,
54 #define OPEN_QOS_AUTO_VLAN_DYNAMIC_VLAN_SUPPORT L7_FALSE
55 #define OPEN_DEFAULT_AUTO_CAMERA_STATUS OPEN_DISABLE
56 #define OPEN_DEFAULT_AUTO_CAMERA_VLAN 0
57 #define OPEN_DEFAULT_AUTO_CAMERA_PRIORITY 7
59 #define OPEN_DEFAULT_AUTO_WIFI_STATUS OPEN_DISABLE
60 #define OPEN_DEFAULT_AUTO_WIFI_VLAN 0
61 #define OPEN_DEFAULT_AUTO_WIFI_PRIORITY 7
63 #define OPEN_AUTO_VLAN_MAX_MAC_OUIS L7_AUTO_VLAN_MAX_MAC_OUIS
64 #define OPEN_AUTO_VLAN_FIRST_MAC_OUI_INDEX 0
65 #define OPEN_AUTO_VLAN_OUI_LEN AUTO_VLAN_OUI_LEN
66 #define OPEN_AUTO_VLAN_OUI_DESC_STRINGLEN AUTO_VLAN_OUI_DESC_STRINGLEN
67 #define OPEN_AUTO_VLAN_OUI_STR_MAX_LEN 9
199 uint32_t autoVlanPriority);
349 uint32_t currentIndex, uint32_t *nextOuiIndex);
442 uint32_t prevIfNum, uint32_t *nextIfNum);
506 uint32_t *nextIndex);
open_error_t openapiQosAutoVlanDetectedDevicesGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *count)
Gets the count of devices learned for given Auto VLAN type.
open_error_t openapiQosAutoVlanPriorityGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *autoVlanPriority)
Gets the Priority for Auto VLAN traffic on switch.
open_error_t openapiQosAutoVlanPrioritySet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t autoVlanPriority)
Sets the Priority for Auto VLAN traffic on switch.
open_error_t openapiQosAutoVlanOuiDescGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
Gets the autoVlan OUI description, given OUI entry string.
open_error_t openapiQosAutoVlanPortStatusGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ifNum, OPEN_CONTROL_t *status)
Gets Auto VLAN operational port status.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiQosAutoVlanOuiFirstEntryGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *firstIndex)
Gets first Auto VLAN OUI Index.
open_error_t openapiQosAutoVlanOuiRemove(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, open_buffdesc *autoVlanOui)
Removes Auto Vlan OUI entry.
open_error_t openapiQosAutoVlanIndexOuiRemove(openapiClientHandle_t *client_handle, uint32_t ouiIndex)
Removes Auto VLAN OUI entry at particular Index.
open_error_t openapiQosAutoVlanOuiEntryGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t currentIndex, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
Gets Auto VLAN OUI entry details.
open_error_t openapiQosAutoVlanValidIntfFirstGet(openapiClientHandle_t *client_handle, uint32_t *ifNum)
Get the first interface that is valid for Auto VLAN.
OPEN_AUTO_VLAN_TYPES_t
< Auto VLAN Types
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiQosAutoVlanGlobalModeSet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, OPEN_CONTROL_t mode)
Enables or disables the AUTO VLAN global status.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiQosAutoVlanIntfModeSet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ifNum, OPEN_CONTROL_t mode)
Enables or disables the AUTO VLAN status on interface.
open_error_t openapiQosAutoVlanIndexOuiAdd(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ouiIndex, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
Adds Auto VLAN OUI entry at particular Index.
open_error_t openapiQoSAutoVlanIsValidIntf(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *isValid)
Determine if the interface is valid for AUTO VLAN configuration.
open_error_t openapiQosAutoVlanIntfModeGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t ifNum, OPEN_CONTROL_t *mode)
Gets the status of AUTO VLAN on interface.
open_error_t openapiQosAutoVlanIdSet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t vlanId)
Sets the VLAN for autoVlan traffic on switch.
open_error_t openapiQosAutoVlanOuiAdd(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, open_buffdesc *autoVlanOui, open_buffdesc *autoOuiDesc)
Adds Auto VLAN OUI entry.
open_error_t openapiQosAutoVlanIdGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *vlanId)
Gets the vlan Id configured for Auto VLAN type.
open_error_t openapiQosAutoVlanOuiCountGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t *autoVlanOuiCount)
Gets the count of OUIs already configured.
open_error_t openapiQosAutoVlanOuiEntryNextGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, uint32_t currentIndex, uint32_t *nextOuiIndex)
Gets Auto VLAN OUI next index.
open_error_t openapiQosAutoVlanGlobalModeGet(openapiClientHandle_t *client_handle, OPEN_AUTO_VLAN_TYPES_t autoVlanType, OPEN_CONTROL_t *mode)
Gets the AUTO VLAN global status.
open_error_t openapiQosAutoVlanLearnedEntryNextGet(openapiClientHandle_t *client_handle, uint32_t index, open_buffdesc *autoVlanMac, OPEN_AUTO_VLAN_TYPES_t *autoVlanType, uint32_t *intIfNum, uint32_t *nextIndex)
Gets the Auto VLAN learned entry and next index.
open_error_t openapiQosAutoVlanValidIntfNextGet(openapiClientHandle_t *client_handle, uint32_t prevIfNum, uint32_t *nextIfNum)
Get the next interface that is valid for auto VLAN.