|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.11.1.2
|
Functions | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| open_error_t | openapiPmlGlobalAdminModeGet (openapiClientHandle_t *clientHandle, OPEN_CONTROL_t *adminMode) |
| Get the Port MAC Locking Global Admin mode. More... | |
| open_error_t | openapiPmlGlobalAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode) |
| Sets the PML global admin mode. More... | |
| open_error_t | openapiPmlIntfAgeTimeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *ageTime) |
| Gets secure MAC address aging time for the specified interface. More... | |
| open_error_t | openapiPmlIntfAgeTimeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t ageTime) |
| Sets secure MAC address aging time for the specified interface. More... | |
| open_error_t | openapiPmlIntfDynamicEntryGetFirst (openapiClientHandle_t *clientHandle, uint32_t ifNum, open_buffdesc *macAddr, uint32_t *vlanId) |
| Gets the first dynamic entry for an interface. More... | |
| 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. More... | |
| open_error_t | openapiPmlIntfDynamicLearnedAddrCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count) |
| Gets the count of dynamcially learned mac Addresses. More... | |
| open_error_t | openapiPmlIntfDynamicLimitGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, uint32_t *limit) |
| Get the Port MAC Locking dynamic limit for the specified interface. More... | |
| 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. More... | |
| 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. More... | |
| open_error_t | openapiPmlIntfDynamicToStaticMove (openapiClientHandle_t *client_handle, uint32_t ifNum) |
| Converts dynamically locked entries to statically locked entries on this interface. More... | |
| 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. More... | |
| 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. More... | |
| open_error_t | openapiPmlIntfModeGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, OPEN_CONTROL_t *mode) |
| Get the Port MAC Locking mode for the specified interface. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| open_error_t | openapiPmlIntfStaticLearnedAddrCountGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *count) |
| Gets the count of statically learned mac Addresses. More... | |
| open_error_t | openapiPmlIntfStaticLimitGet (openapiClientHandle_t *clientHandle, uint32_t ifNum, uint32_t *limit) |
| Get the Port MAC Locking static limit for the specified interface. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| open_error_t | openapiPmlIntfStickyModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t sticky) |
| Configures PML sticky mode on this interface. More... | |
| open_error_t | openapiPmlIntfTrapFrequencyGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *interval) |
| Gets the frequency interval between successive SNMP traps. More... | |
| open_error_t | openapiPmlIntfTrapFrequencySet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t interval) |
| Sets the frequency interval between successive SNMP traps. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| open_error_t | openapiPmlNextValidIntfGet (openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *nextIfNum) |
| Gets the next valid PML interface. More... | |
| open_error_t | openapiPmlStaticAddrCountByVlanGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *count) |
| Gets the count of statically learned mac Addresses. More... | |
| open_error_t | openapiPmlStaticAddrGlobalCountGet (openapiClientHandle_t *client_handle, uint32_t *count) |
| Gets the global count of statically learned mac Addresses. More... | |
| open_error_t | openapiPmlVlanAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *adminMode) |
| Gets the PML vlan admin mode. More... | |
| open_error_t | openapiPmlVlanAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t adminMode) |
| Sets the PML vlan admin mode. More... | |
| 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. More... | |
| 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. More... | |
| open_error_t | openapiPmlVlanDynamicLimitGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *limit) |
| Gets the MAC limit per Vlan. More... | |
| open_error_t | openapiPmlVlanDynamicLimitSet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t limit) |
| Sets the vlan MAC Locking limit. More... | |
| open_error_t | openapiPmlVlanModeGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *mode) |
| Gets the MAC Locking mode for the specified vlan. More... | |
| open_error_t | openapiPmlVlanModeSet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t mode) |
| Sets the MAC Locking mode for the specified vlan. More... | |
| open_error_t | openapiPmlVlanOperationalLimitGet (openapiClientHandle_t *client_handle, uint32_t vlanId, uint32_t *limit) |
| Gets operational vlan MAC locking limit. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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. More... | |
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | streamID | 802.1QCI StreamID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | streamID | 802.1QCI StreamID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | streamID | 802.1QCI StreamID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlGlobalAdminModeGet | ( | openapiClientHandle_t * | clientHandle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Get the Port MAC Locking Global Admin mode.
| [in] | clientHandle | client handle from registration API |
| [out] | adminMode | on success, PML global admin mode. |
| OPEN_E_NONE | On success. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| open_error_t openapiPmlGlobalAdminModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | adminMode | ||
| ) |
Sets the PML global admin mode.
| [in] | client_handle | client handle from registration API |
| [in] | adminMode | PML global admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfAgeTimeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t * | ageTime | ||
| ) |
Gets secure MAC address aging time for the specified interface.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | ageTime | Age time in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfAgeTimeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t | ageTime | ||
| ) |
Sets secure MAC address aging time for the specified interface.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | ageTime | Age time in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfDynamicEntryGetFirst | ( | openapiClientHandle_t * | clientHandle, |
| uint32_t | ifNum, | ||
| open_buffdesc * | macAddr, | ||
| uint32_t * | vlanId | ||
| ) |
Gets the first dynamic entry for an interface.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | macAddr | MAC address |
| [out] | vlanId | VLAN ID |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.25
| 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.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | nextMacAddr | Next MAC address |
| [out] | nextVlanId | next VLAN ID |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfDynamicLearnedAddrCountGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t * | count | ||
| ) |
Gets the count of dynamcially learned mac Addresses.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | count | Learned dynamic address count |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfDynamicLimitGet | ( | openapiClientHandle_t * | clientHandle, |
| uint32_t | ifNum, | ||
| uint32_t * | limit | ||
| ) |
Get the Port MAC Locking dynamic limit for the specified interface.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | limit | on success, dynamic limit |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | limit | Dynamic limit |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | limit | Maximum dynamic limit |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfDynamicToStaticMove | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum | ||
| ) |
Converts dynamically locked entries to statically locked entries on this interface.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | isValid | if OPEN_TRUE, valid. Otherwise, OPEN_FALSE |
| OPEN_E_NONE | On success. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | macAddr | MAC address |
| [out] | vlanId | VLAN ID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfModeGet | ( | openapiClientHandle_t * | clientHandle, |
| uint32_t | ifNum, | ||
| OPEN_CONTROL_t * | mode | ||
| ) |
Get the Port MAC Locking mode for the specified interface.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | mode | on success, PML interface admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | intfMode | PML interface admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | limit | Static count |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [in] | sticky | Sticky |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | macAddr | MAC address |
| [out] | vlanId | VLAN ID |
| [out] | isSticky | on success, whether entry is sticky or not |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.25
| 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.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [in] | vlanId | VLAN ID |
| [out] | nextMacAddr | Next MAC address |
| [out] | nextVlanId | next VLAN ID |
| [out] | isnextEntrySticky | on success, whether next entry is sticky or not |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfStaticLearnedAddrCountGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t * | count | ||
| ) |
Gets the count of statically learned mac Addresses.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | count | Static address count |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfStaticLimitGet | ( | openapiClientHandle_t * | clientHandle, |
| uint32_t | ifNum, | ||
| uint32_t * | limit | ||
| ) |
Get the Port MAC Locking static limit for the specified interface.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | limit | on success, static limit |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | limit | Static limit |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | limit | Maximum static limit |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | stickyMode | on success, PML sticky mode |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| open_error_t openapiPmlIntfStickyModeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| OPEN_CONTROL_t | sticky | ||
| ) |
Configures PML sticky mode on this interface.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | sticky | Sticky mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfTrapFrequencyGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t * | interval | ||
| ) |
Gets the frequency interval between successive SNMP traps.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | interval | Time interval in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlIntfTrapFrequencySet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t | interval | ||
| ) |
Sets the frequency interval between successive SNMP traps.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | interval | Time interval in seconds |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | mode | on success, PML violation D-Disable mode |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | mode | Violation D-Disable Mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | clientHandle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | trapMode | on success, PML violation trap mode |
| OPEN_E_NONE | On success. |
| OPEN_E_UNAVAIL | Interface is not a valid PML interface. |
| OPEN_E_PARAM | Bad parameter was passed. |
| OPEN_E_FAIL | On failure. |
OpEN API Version: 1.18
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | vlanId | VLAN ID |
| [out] | count | MAC lock learned address count per vlan per interface |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | vlanId | VLAN ID |
| [out] | limit | MAC lock limit per vlan per interface |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | vlanId | VLAN ID |
| [in] | limit | MAC lock limit per vlan per interface |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlNextValidIntfGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | ifNum, | ||
| uint32_t * | nextIfNum | ||
| ) |
Gets the next valid PML interface.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | nextIfNum | Next valid PML interface number |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlStaticAddrCountByVlanGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | vlanId, | ||
| uint32_t * | count | ||
| ) |
Gets the count of statically learned mac Addresses.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [out] | count | Static address count |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlStaticAddrGlobalCountGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t * | count | ||
| ) |
Gets the global count of statically learned mac Addresses.
| [in] | client_handle | client handle from registration API |
| [out] | count | Learned static address count |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlVlanAdminModeGet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t * | adminMode | ||
| ) |
Gets the PML vlan admin mode.
| [in] | client_handle | client handle from registration API |
| [out] | adminMode | PML vlan admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlVlanAdminModeSet | ( | openapiClientHandle_t * | client_handle, |
| OPEN_CONTROL_t | adminMode | ||
| ) |
Sets the PML vlan admin mode.
| [in] | client_handle | client handle from registration API |
| [in] | adminMode | PML vlan admin mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [out] | macAddr | MAC address |
| [out] | vlanId | VLAN ID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | ifNum | interface number |
| [in] | macAddr | MAC address |
| [out] | nextMacAddr | MAC address |
| [out] | vlanId | VLAN ID |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlVlanDynamicLimitGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | vlanId, | ||
| uint32_t * | limit | ||
| ) |
Gets the MAC limit per Vlan.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [out] | limit | MAC lock limit per vlan |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlVlanDynamicLimitSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | vlanId, | ||
| uint32_t | limit | ||
| ) |
Sets the vlan MAC Locking limit.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [in] | limit | MAC lock limit per vlan |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlVlanModeGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | vlanId, | ||
| uint32_t * | mode | ||
| ) |
Gets the MAC Locking mode for the specified vlan.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [out] | mode | VLAN MAC Locking mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlVlanModeSet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | vlanId, | ||
| uint32_t | mode | ||
| ) |
Sets the MAC Locking mode for the specified vlan.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [in] | mode | VLAN MAC Locking mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| open_error_t openapiPmlVlanOperationalLimitGet | ( | openapiClientHandle_t * | client_handle, |
| uint32_t | vlanId, | ||
| uint32_t * | limit | ||
| ) |
Gets operational vlan MAC locking limit.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [out] | limit | MAC lock operational limit per vlan |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [out] | mode | Violation D-Disable Mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [in] | mode | Violation D-Disable Mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [out] | mode | Violation trap Mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25
| 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.
| [in] | client_handle | client handle from registration API |
| [in] | vlanId | VLAN ID |
| [in] | mode | Violation trap Mode |
| OPEN_E_NONE | On success. |
| OPEN_E_FAIL | On failure. |
| OPEN_E_PARAM | Invalid argument. |
| OPEN_E_UNAVAIL | Feature not available. |
OpEN API Version: 1.25