50 #ifndef OPENAPI_PML_H_INCLUDED
51 #define OPENAPI_PML_H_INCLUDED
248 uint32_t *nextVlanId,
297 uint32_t *nextVlanId);
355 uint32_t ifNum, uint32_t *limit);
375 uint32_t ifNum, uint32_t limit);
394 uint32_t ifNum, uint32_t *limit);
413 uint32_t ifNum, uint32_t *limit);
433 uint32_t ifNum, uint32_t limit);
452 uint32_t ifNum, uint32_t *interval);
472 uint32_t ifNum, uint32_t interval);
597 uint32_t ifNum, uint32_t *count);
616 uint32_t ifNum, uint32_t *count);
635 uint32_t vlanId, uint32_t *count);
729 uint32_t vlanId, uint32_t *limit);
749 uint32_t vlanId, uint32_t limit);
768 uint32_t vlanId, uint32_t *limit);
865 uint32_t vlanId, uint32_t *mode);
885 uint32_t vlanId, uint32_t mode);
905 uint32_t ifNum, uint32_t vlanId,
927 uint32_t ifNum, uint32_t vlanId,
950 uint32_t ifNum, uint32_t vlanId,
970 uint32_t ifNum, uint32_t *ageTime);
990 uint32_t ifNum, uint32_t ageTime);
1009 uint32_t ifNum, uint32_t *nextIfNum);
1076 uint32_t vlanId, uint32_t streamID);
1099 uint32_t vlanId, uint32_t streamID);
1122 uint32_t *streamID);
open_error_t openapiPmlIntfIsValid(openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_BOOL_t *isValid)
Get whether an interface is a valid PML interface or not.
open_error_t openapiPmlIntfVlanDynamicLimitGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId, uint32_t *limit)
Gets the Port MAC Locking vlan dynamic limit for the specified interface.
open_error_t openapiPmlGlobalAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
Sets the PML global admin mode.
open_error_t openapiPmlIntfDynamicToStaticMove(openapiClientHandle_t *client_handle, uint32_t ifNum)
Converts dynamically locked entries to statically locked entries on this interface.
open_error_t openapiPmlVlanOperationalLimitGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *limit)
Gets operational vlan MAC locking limit.
open_error_t openapiPmlIntfVlanDynamicLimitSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId, uint32_t limit)
Sets the Port MAC Locking vlan dynamic limit for the specified interface.
open_error_t openapiPmlIntfDynamicMaxLimitGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *limit)
Gets the Port MAC Locking maximum dynamic limit for the specified interface.
open_error_t openapiPmlIntfStaticEntryGetFirst(openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId, OPEN_BOOL_t *isSticky)
Gets the first static entry for an interface.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiPmlIntfDynamicLearnedAddrCountGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count)
Gets the count of dynamcially learned mac Addresses.
open_error_t openapiPmlDot1qciStreamDelete(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, uint32_t streamID)
Deassociate the 802.1Qci stream with static PML entry.
open_error_t openapiPmlIntfTrapFrequencyGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *interval)
Gets the frequency interval between successive SNMP traps.
open_error_t openapiPmlIntfDynamicLimitSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t limit)
Sets the Port MAC Locking dynamic limit for the specified interface.
open_error_t openapiPmlIntfStaticLimitGet(openapiClientHandle_t *clientHandle, uint32_t ifNum, uint32_t *limit)
Get the Port MAC Locking static limit for the specified interface.
open_error_t openapiPmlIntfStaticLimitSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t limit)
Sets the Port MAC Locking static limit for the specified interface.
open_error_t openapiPmlIntfStaticMaxLimitGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *limit)
Gets the Port MAC Locking maximum static limit for the specified interface.
open_error_t openapiPmlDot1qciStreamGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, uint32_t *streamID)
Get the 802.1Qci stream ID associated with static PML entry.
open_error_t openapiPmlIntfStickyModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t sticky)
Configures PML sticky mode on this interface.
open_error_t openapiPmlVlanViolationTrapModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t mode)
Sets the MAC Locking violation trap mode for the specified vlan.
open_error_t openapiPmlIntfViolationTrapModeGet(openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *trapMode)
Get the Port MAC Locking violation trap mode for the specified interface.
open_error_t openapiPmlVlanDynamicLimitSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t limit)
Sets the vlan MAC Locking limit.
open_error_t openapiPmlIntfViolationDDisableModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t mode)
Sets the port MAC locking violation D-Disable mode for the specified interface.
open_error_t openapiPmlIntfViolationDDisableModeGet(openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *mode)
Get the Port MAC Locking violation D-Disable mode for the specified interface.
open_error_t openapiPmlIntfStaticEntryGetNext(openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, open_buffdesc *nextMacAddr, uint32_t *nextVlanId, OPEN_BOOL_t *isnextEntrySticky)
Gets the next static entry for an interface.
open_error_t openapiPmlVlanDynamicEntryGetNext(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, open_buffdesc *nextMacAddr, uint32_t *vlanId)
Gets the next dynamic entry for a vlan on a given interface.
open_error_t openapiPmlIntfStaticEntryAdd(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, OPEN_BOOL_t sticky)
Adds a statically locked entry to an interface.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiPmlIntfDynamicEntryGetNext(openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, open_buffdesc *nextMacAddr, uint32_t *nextVlanId)
Gets the next dynamic entry for an interface.
open_error_t openapiPmlIntfAgeTimeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t ageTime)
Sets secure MAC address aging time for the specified interface.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiPmlIntfStaticLearnedAddrCountGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count)
Gets the count of statically learned mac Addresses.
open_error_t openapiPmlStaticAddrCountByVlanGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *count)
Gets the count of statically learned mac Addresses.
open_error_t openapiPmlIntfStaticEntryDelete(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId)
Deletes a statically locked entry from an interface.
open_error_t openapiPmlVlanAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode)
Gets the PML vlan admin mode.
open_error_t openapiPmlNextValidIntfGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *nextIfNum)
Gets the next valid PML interface.
open_error_t openapiPmlIntfModeGet(openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *mode)
Get the Port MAC Locking mode for the specified interface.
open_error_t openapiPmlDot1qciStreamSet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t vlanId, uint32_t streamID)
Associate the 802.1Qci stream with static PML entry.
open_error_t openapiPmlIntfAgeTimeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *ageTime)
Gets secure MAC address aging time for the specified interface.
open_error_t openapiPmlVlanDynamicEntryGetFirst(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId)
Gets the first dynamic entry for a vlan on a given interface.
open_error_t openapiPmlIntfStaticCountGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *limit)
Gets the Port MAC Locking static count for the specified interface.
open_error_t openapiPmlGlobalAdminModeGet(openapiClientHandle_t *clientHandle, OPEN_CONTROL_t *adminMode)
Get the Port MAC Locking Global Admin mode.
open_error_t openapiPmlIntfStickyModeGet(openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *stickyMode)
Get the Port MAC Locking sticky mode for the specified interface.
open_error_t openapiPmlIntfLastViolationAddrGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId)
Gets the last violation entry for an interface.
open_error_t openapiPmlIntfModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t intfMode)
Set the Port MAC Locking mode for the specified interface.
open_error_t openapiPmlVlanDynamicLimitGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *limit)
Gets the MAC limit per Vlan.
open_error_t openapiPmlIntfDynamicEntryGetFirst(openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId)
Gets the first dynamic entry for an interface.
open_error_t openapiPmlStaticAddrGlobalCountGet(openapiClientHandle_t *client_handle, uint32_t *count)
Gets the global count of statically learned mac Addresses.
open_error_t openapiPmlIntfTrapFrequencySet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t interval)
Sets the frequency interval between successive SNMP traps.
open_error_t openapiPmlVlanModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *mode)
Gets the MAC Locking mode for the specified vlan.
open_error_t openapiPmlVlanModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t mode)
Sets the MAC Locking mode for the specified vlan.
open_error_t openapiPmlVlanViolationDDisableModeSet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t mode)
Sets the MAC Locking violation D-Disable mode for the specified vlan.
open_error_t openapiPmlVlanAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode)
Sets the PML vlan admin mode.
open_error_t openapiPmlIntfDynamicLimitGet(openapiClientHandle_t *clientHandle, uint32_t ifNum, uint32_t *limit)
Get the Port MAC Locking dynamic limit for the specified interface.
open_error_t openapiPmlVlanViolationDDisableModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t *mode)
Gets the MAC Locking violation D-Disable mode for the specified vlan.
open_error_t openapiPmlIntfVlanDynamicLearnedAddrCountGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId, uint32_t *count)
Gets the Port MAC Locking vlan dynamic learned address count for the specified interface and vlan...
open_error_t openapiPmlVlanViolationTrapModeGet(openapiClientHandle_t *client_handle, uint32_t vlanId, OPEN_BOOL_t *mode)
Gets the MAC Locking violation trap mode for the specified vlan.