Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.13.1.2
openapi_authmgr.h
Go to the documentation of this file.
1 
9 /*********************************************************************
10 *
11 * Copyright 2023 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 **********************************************************************
26 *
27 * @filename openapi_authmgr.h
28 *
29 * @purpose Authentication manager Configuration and Status
30 *
31 * @component OPEN
32 *
33 * @create 02/23/2023
34 *
35 * @end
36 *
37 **********************************************************************/
38 #ifndef OPENAPI_AUTHMGR_H_INCLUDED
39 #define OPENAPI_AUTHMGR_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
43 #define OPEN_AUTHMGR_USER_NAME_LEN 65
44 
45 #define OPEN_AUTHMGR_AUTH_HISTORY_TABLE_ENTRY_INDEX_MAX 0xFFFFFFFF
46 
48 typedef enum
49 {
50  OPEN_AUTHMGR_INITIALIZE = 0,
59 typedef enum
60 {
64 
66 typedef enum
67 {
73 
75 typedef enum
76 {
81 
83 typedef enum
84 {
94 
96 typedef enum
97 {
101 
103 typedef enum
104 {
110 
112 typedef enum
113 {
121 
123 typedef enum
124 {
129 
130 /*************************************************************************/
146 
147 /*************************************************************************/
163 
164 /*************************************************************************/
180 
181 /*************************************************************************/
197 
198 /*************************************************************************/
215 open_error_t openapiAuthMgrPortAuthMethodOrderSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t method);
216 
217 /*************************************************************************/
234 open_error_t openapiAuthMgrPortAuthMethodOrderGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method);
235 
236 /*************************************************************************/
253 open_error_t openapiAuthMgrPortAuthMethodPrioritySet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t method);
254 
255 /*************************************************************************/
272 open_error_t openapiAuthMgrPortAuthMethodPriorityGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method);
273 
274 /*************************************************************************/
291 open_error_t openapiAuthMgrPortMaxUsersSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t maxUsers);
292 
293 /*************************************************************************/
310 open_error_t openapiAuthMgrPortMaxUsersGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *maxUsers);
311 
312 /*************************************************************************/
328 open_error_t openapiAuthMgrPortUnauthenticatedVlanSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t vlanId);
329 
330 /*************************************************************************/
346 open_error_t openapiAuthMgrPortUnauthenticatedVlanGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *vlanId);
347 
348 /*************************************************************************/
364 open_error_t openapiAuthMgrPortMaxAuthAttemptsSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t maxAuthAttempts);
365 
366 /*************************************************************************/
382 open_error_t openapiAuthMgrPortMaxAuthAttemptsGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *maxAuthAttempts);
383 
384 /*************************************************************************/
401 open_error_t openapiAuthMgrEnabledMethodGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method);
402 
403 /*************************************************************************/
420 open_error_t openapiAuthMgrEnabledPriorityGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method);
421 
422 /*************************************************************************/
438 open_error_t openapiAuthMgrNumClientsGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *clientsCount);
439 
440 /*************************************************************************/
456 open_error_t openapiAuthMgrLogicalPortClientMacAddrGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, open_buffdesc *macAddrBuffDesc);
457 
458 /*************************************************************************/
475 
476 /*************************************************************************/
493 
494 /*************************************************************************/
511 
512 /*************************************************************************/
528 open_error_t openapiAuthMgrLogicalPortUserNameGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, open_buffdesc *userName);
529 
530 /*************************************************************************/
547 
548 /*************************************************************************/
564 open_error_t openapiAuthMgrLogicalPortClientVlanTypeGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *vlanType);
565 
566 /*************************************************************************/
582 open_error_t openapiAuthMgrLogicalPortSessionTimeGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *sessionTime);
583 
584 /*************************************************************************/
600 open_error_t openapiAuthMgrLogicalPortSessionTimeoutGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *sessionTimeout);
601 
602 /*************************************************************************/
618 open_error_t openapiAuthmgrLogicalPortTimeLeftForTerminateActionGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *timeLeft);
619 
620 /*************************************************************************/
636 open_error_t openapiAuthMgrLogicalPortTerminationActionGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *terminationAction);
637 
638 /*************************************************************************/
654 open_error_t openapiAuthMgrLogicalPortFilterIdGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, open_buffdesc *filterId);
655 
656 /*************************************************************************/
674 open_error_t openapiAuthMgrAuthenticationReAuthPeriodFromSeverGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *reAuthPeriod);
675 
676 /*************************************************************************/
694 open_error_t openapiDbAuthMgrAuthenticationReAuthPeriodGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *reAuthPeriod);
695 
696 /*************************************************************************/
712 open_error_t openapiAuthMgrLogicalPortFirstGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *firstlIntIfNum);
713 
714 /*************************************************************************/
730 open_error_t openapiAuthMgrLogicalPortNextGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *nextlIntIfNum);
731 
732 /*****************************************************************/
747 
748 /*****************************************************************/
763 
764 /*****************************************************************/
779  uint32_t ifNum, OPEN_AUTHMGR_PORT_STATUS_t *status);
780 
781 /*****************************************************************/
796  uint32_t ifNum, OPEN_AUTHMGR_PORT_CONTROL_t *mode);
797 /*****************************************************************/
812  OPEN_CONTROL_t mode);
813 
814 /*****************************************************************/
829  OPEN_CONTROL_t *mode);
830 
831 /*****************************************************************/
847  uint32_t ifNum,
849 
850 /*****************************************************************/
866  uint32_t ifNum,
868 
869 /*****************************************************************/
883 open_error_t openapiAuthMgrPortGuestVlanGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *vlanId);
884 
885 /*****************************************************************/
899 open_error_t openapiAuthMgrPortGuestVlanSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId);
900 
901 
902 /*****************************************************************/
919  uint32_t ifNum,
920  OPEN_BOOL_t val);
921 
922 /*****************************************************************/
939  uint32_t ifNum,
940  OPEN_BOOL_t *val);
941 /*****************************************************************/
959  uint32_t ifNum,
960  OPEN_BOOL_t val);
961 
962 /*****************************************************************/
980  uint32_t ifNum,
981  OPEN_BOOL_t *val);
982 /*****************************************************************/
1000  uint32_t logicalIfNum,
1001  uint32_t *vlan,
1003 
1004 /*****************************************************************/
1020  uint32_t ifNum,
1021  uint32_t val);
1022 
1023 /*****************************************************************/
1039  uint32_t ifNum,
1040  uint32_t *val);
1041 /*****************************************************************/
1057  uint32_t ifNum,
1058  uint32_t val);
1059 
1060 /*****************************************************************/
1076  uint32_t ifNum,
1077  uint32_t *val);
1078 
1079 /*****************************************************************/
1099  uint32_t ifNum, uint32_t *vlan);
1100 
1101 /*****************************************************************/
1120  uint32_t ifNum, OPEN_AUTHMGR_VLAN_ASSIGNED_MODE_t *reason);
1121 
1122 /*************************************************************************/
1141  uint32_t *intIfNum,
1142  uint32_t *entryIndex);
1143 
1144 /*************************************************************************/
1164  uint32_t *intIfNum,
1165  uint32_t *entryIndex);
1166 
1167 /*************************************************************************/
1186  uint32_t intIfNum,
1187  uint32_t entryIndex);
1188 
1189 /*************************************************************************/
1208  uint32_t intIfNum);
1209 
1210 /*************************************************************************/
1227 
1228 /*************************************************************************/
1249  uint32_t intIfNum,
1250  uint32_t entryIndex,
1251  open_buffdesc *timeStamp);
1252 
1253 /*************************************************************************/
1276  uint32_t intIfNum,
1277  uint32_t entryIndex,
1278  OPEN_AUTHMGR_METHOD_t *method);
1279 
1280 /*****************************************************************/
1302  uint32_t intIfNum,
1303  uint32_t entryIndex,
1304  uint32_t *reasonCode);
1305 
1306 /*****************************************************************/
1330  uint32_t intIfNum,
1331  uint32_t entryIndex,
1332  uint32_t reasonCode,
1333  open_buffdesc *reason);
1334 
1335 /*************************************************************************/
1357  uint32_t intIfNum,
1358  uint32_t entryIndex,
1359  OPEN_AUTHMGR_PORT_STATUS_t *authStatus);
1360 
1361 /*************************************************************************/
1383  uint32_t intIfNum,
1384  uint32_t entryIndex,
1385  open_buffdesc *macAddress);
1386 
1387 /*****************************************************************/
1409  uint32_t intIfNum,
1410  uint32_t entryIndex,
1411  uint32_t *vlanId);
1412 
1413 /*****************************************************************/
1435  uint32_t intIfNum,
1436  uint32_t entryIndex,
1437  OPEN_AUTHMGR_VLAN_ASSIGNED_MODE_t *vlanAssignedType);
1438 
1439 /*************************************************************************/
1461  uint32_t intIfNum,
1462  uint32_t entryIndex,
1463  open_buffdesc *filterId);
1464 
1465 /*************************************************************************/
1487  uint32_t intIfNum, OPEN_BOOL_t initialize);
1488 
1489 /*************************************************************************/
1509  uint32_t intIfNum,
1511 
1512 /*************************************************************************/
1530  uint32_t intIfNum,
1531  OPEN_AUTHMGR_PORT_DIRECTION_t *pCntrlDir);
1532 
1533 #endif /* OPENAPI_AUTHMGR_H_INCLUDED */
1534 
open_error_t openapiAuthMgrPortStatusGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_AUTHMGR_PORT_STATUS_t *status)
Gets the authentication manager port status.
open_error_t openapiAuthMgrLogicalPortClientReauthStateGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, OPEN_CONTROL_t *reauthState)
Get the client reauthenticating state for the logical interface.
open_error_t openapiAuthMgrLogicalPortFirstGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *firstlIntIfNum)
Gets the first logical port in use for the physcial interface.
open_error_t openapiAuthMgrAuthenticationPeriodicGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *val)
Gets the authentication periodic (reauth) enabled status for the specified interface.
open_error_t openapiAuthMgrEnabledPriorityGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method)
Get the Enabled method priority.
OPEN_AUTHMGR_PORT_CONTROL_t
OPEN_AUTHMGR_PORT_DIRECTION_t
Port controlled directions.
open_error_t openapiAuthMgrHistoryLogMethodGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, OPEN_AUTHMGR_METHOD_t *method)
Gets the authentication method from the authentication manager auth history table for a given interfa...
open_error_t openapiAuthMgrPortControlModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_AUTHMGR_PORT_CONTROL_t *mode)
Gets the authentication manager port configured control mode.
open_error_t openapiAuthMgrHistoryLogTimestampGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, open_buffdesc *timeStamp)
Gets the time stamp from the authentication manager auth history table for a given interface and entr...
open_error_t openapiAuthMgrAuthenticationPeriodicSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t val)
Sets the authentication periodic (reauth) enabled status for the specified interface.
open_error_t openapiAuthMgrAuthenticationHostModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_AUTHMGR_HOST_CONTROL_t *mode)
Gets the authentication host mode for the specified interface.
open_error_t openapiAuthMgrLogicalPortClientVlanTypeGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *vlanType)
Get the authenticated client vlan type (data/voice) for the logical interface.
open_error_t openapiAuthMgrHistoryLogVlanIdGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, uint32_t *vlanId)
Gets the VLAN ID from the authentication manager auth history table for a given interface and entry i...
open_error_t openapiAuthMgrAuthenticationInActivityPeriodGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *val)
Gets the inactivity period for the specified interface.
open_error_t openapiAuthMgrPortMaxAuthAttemptsSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t maxAuthAttempts)
Set the max number of failed authentication attempts value on the specified port. ...
OPEN_AUTHMGR_PORT_STATUS_t
open_error_t openapiAuthMgrPortVlanAssignedReasonGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_AUTHMGR_VLAN_ASSIGNED_MODE_t *reason)
Gets the authentication manager port assigned VLAN reason.
open_error_t openapiAuthMgrAuthenticationHostModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_AUTHMGR_HOST_CONTROL_t mode)
Sets the authentication host mode for the specified interface.
OPEN_AUTHMGR_METHOD_TYPE_t
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiAuthMgrLogicalPortClientAuthStatusGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, OPEN_AUTHMGR_PORT_STATUS_t *authStatus)
Get the client authenticated Status for the logical interface.
open_error_t openapiAuthMgrLogicalPortClientAuthStateGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, OPEN_AUTHMGR_STATES_t *authState)
Get the client reauth state for the logical interface.
open_error_t openapiAuthMgrPortMaxUsersGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *maxUsers)
Get the max users of the port.
open_error_t openapiAuthMgrPortAdminControlledDirectionsGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_AUTHMGR_PORT_DIRECTION_t *pCntrlDir)
Gets Auth manager admin control direction on the specified port.
open_error_t openapiAuthMgrLogicalPortTerminationActionGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *terminationAction)
Get the logical port termination action value.
open_error_t openapiAuthMgrDynamicVlanCreationModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *dynamicVlanMode)
Get the authentication manager Dynamic Vlan Creation Mode.
open_error_t openapiAuthMgrHistoryLogReasonCodeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, uint32_t *reasonCode)
Gets the reason code from the authentication manager auth history table for a given interface and ent...
OPEN_AUTHMGR_TERMINATION_ACTION_t
open_error_t openapiAuthMgrLogicalPortFilterIdGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, open_buffdesc *filterId)
Get the filter id for the logical interface.
open_error_t openapiAuthMgrHistoryLogInterfacePurge(openapiClientHandle_t *client_handle, uint32_t intIfNum)
Purges all authentication manager auth history log entries for a given interface. ...
open_error_t openapiAuthMgrAuthenticationInActivityPeriodSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t val)
Sets the inactivity period for the specified interface.
open_error_t openapiAuthMgrAuthenticationReAuthPeriodServerGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *val)
Gets the flag to get reauthentication period from server/user for the specified interface.
open_error_t openapiAuthMgrNumClientsGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *clientsCount)
Get the number of clients authenticated.
OPEN_AUTHMGR_VLAN_ASSIGNED_MODE_t
open_error_t openapiAuthMgrPortAuthMethodOrderGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method)
Get authentication manager method order.
open_error_t openapiAuthMgrHistoryLogFilterIdGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, open_buffdesc *filterId)
Gets the filter ID from the authentication manager auth history table for a given interface and entry...
open_error_t openapiAuthMgrAuthenticationReAuthPeriodGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *val)
Gets the reauthentication period for the specified interface.
Captive-Portal.
open_error_t openapiAuthMgrPortUnauthenticatedVlanSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t vlanId)
Set the Authentication fail action (Unauthenticated vlan) value.
open_error_t openapiAuthMgrEnabledMethodGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method)
Get the Enabled method order.
open_error_t openapiAuthMgrAuthenticationReAuthPeriodSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t val)
Sets the reauthentication period for the specified interface.
open_error_t openapiAuthMgrAdminModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode)
Gets the authentication manager global administrative mode.
open_error_t openapiAuthMgrLogicalPortVlanAssignmentGet(openapiClientHandle_t *client_handle, uint32_t logicalIfNum, uint32_t *vlan, OPEN_AUTHMGR_VLAN_ASSIGNED_MODE_t *reason)
Gets the authentication manager assigned VLAN ID and reason for the specified logical interface...
open_error_t openapiAuthMgrPortMaxAuthAttemptsGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *maxAuthAttempts)
Get the max number of failed authentication attempts value on the specified port. ...
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiAuthMgrHistoryLogAuthStatusGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, OPEN_AUTHMGR_PORT_STATUS_t *authStatus)
Gets the client authenticated status from the authentication manager auth history table for a given i...
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiAuthMgrLogicalPortClientAuthenticatedMethodGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, OPEN_AUTHMGR_METHOD_t *method)
Get the client authenticated Method for the logical interface.
open_error_t openapiAuthMgrPortAuthMethodPrioritySet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t method)
Set authentication manager method priority.
open_error_t openapiAuthMgrPortOperatingControlModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_AUTHMGR_PORT_CONTROL_t *mode)
Gets the authentication manager port operating control mode.
open_error_t openapiAuthMgrAuthenticationReAuthPeriodFromSeverGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *reAuthPeriod)
Get the reauthentication status which is coonfigured on the radius server.
open_error_t openapiAuthMgrHistoryLogReverseIndexNextGet(openapiClientHandle_t *client_handle, uint32_t *intIfNum, uint32_t *entryIndex)
Gets the authentication manager next History Log interface and entry index in reverse order...
open_error_t openapiAuthMgrPortControlModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_AUTHMGR_PORT_CONTROL_t mode)
Sets the authentication manager port configured control mode.
open_error_t openapiAuthMgrHistoryLogIndexNextGet(openapiClientHandle_t *client_handle, uint32_t *intIfNum, uint32_t *entryIndex)
Gets the authentication manager next History Log interface and entry index.
open_error_t openapiAuthMgrPortAuthMethodOrderSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t method)
Set authentication manager method order.
open_error_t openapiAuthMgrAuthenticationReAuthPeriodFromServerSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t val)
Sets the flag to get reauthentication period from server/user for the specified interface.
open_error_t openapiAuthMgrPortUnauthenticatedVlanGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *vlanId)
Get the Authentication fail action (Unauthenticated vlan) value.
open_error_t openapiAuthMgrAdminModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Sets the authentication manager global administrative mode.
open_error_t openapiAuthMgrPortAdminControlledDirectionsSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_AUTHMGR_PORT_DIRECTION_t cntrlDir)
Sets the authentication admin control direction on the specified port.
open_error_t openapiAuthMgrPortMaxUsersSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t maxUsers)
Set the max users for the port.
open_error_t openapiAuthMgrLogicalPortUserNameGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, open_buffdesc *userName)
Get the client username for the logical interface.
open_error_t openapiAuthMgrHistoryLogClientMacAddressGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, open_buffdesc *macAddress)
Gets the client MAC address from the authentication manager auth history table for a given interface ...
open_error_t openapiAuthMgrPortGuestVlanSet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t vlanId)
Set the Authentication Server Alive action.
open_error_t openapiAuthMgrLogicalPortSessionTimeGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *sessionTime)
Get Logical port Session time.
open_error_t openapiAuthMgrHistoryLogPurgeAll(openapiClientHandle_t *client_handle)
Purges all authentication manager auth history log entries.
OPEN_AUTHMGR_METHOD_t
open_error_t openapiDbAuthMgrAuthenticationReAuthPeriodGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t *reAuthPeriod)
Get the reauthentication period on the specified port.
open_error_t openapiAuthMgrHistoryLogReasonStringGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, uint32_t reasonCode, open_buffdesc *reason)
Gets the reason code in string format from the authentication manager auth history table for a given ...
open_error_t openapiAuthMgrPortGuestVlanGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *vlanId)
Get the Authentication guest vlan Id.
open_error_t openapiAuthMgrLogicalPortNextGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *nextlIntIfNum)
Gets the next logical port for the physcial interface.
open_error_t openapiAuthMgrLogicalPortSessionTimeoutGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *sessionTimeout)
Get the session timeout value for the logical interface.
open_error_t openapiAuthmgrLogicalPortTimeLeftForTerminateActionGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, uint32_t *timeLeft)
Get the time left for the session termination action to occur for the logical interface.
open_error_t openapiAuthMgrPortAuthMethodPriorityGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t index, OPEN_AUTHMGR_METHOD_t *method)
Get authentication manager method priority.
open_error_t openapiAuthMgrHistoryLogVlanAssignedTypeGet(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex, OPEN_AUTHMGR_VLAN_ASSIGNED_MODE_t *vlanAssignedType)
Gets the VLAN assigned type from the authentication manager auth history table for a given interface ...
open_error_t openapiAuthMgrLogicalPortClientMacAddrGet(openapiClientHandle_t *client_handle, uint32_t lIntIfNum, open_buffdesc *macAddrBuffDesc)
Get the client/supplicant Mac address for the logical interface.
open_error_t openapiAuthMgrVlanAssignmentModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t vlanAssignmentMode)
Set the authentication manager Vlan Assignment Mode.
OPEN_AUTHMGR_STATES_t
open_error_t openapiAuthMgrPortVlanAssignedGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *vlan)
Gets the authentication manager port assigned VLAN.
open_error_t openapiAuthMgrVlanAssignmentModeGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *vlanAssignmentMode)
Get the authentication manager Vlan Assignment Mode.
OPEN_AUTHMGR_HOST_CONTROL_t
open_error_t openapiAuthMgrDynamicVlanCreationModeSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t dynamicVlanMode)
Set the authentication manager Dynamic Vlan Creation Mode.
open_error_t openapiAuthMgrHistoryLogEntryIsValid(openapiClientHandle_t *client_handle, uint32_t intIfNum, uint32_t entryIndex)
Checks if the authentication manager history log entry exists in history table.
open_error_t openapiAuthMgrPortInitializeSet(openapiClientHandle_t *client_handle, uint32_t intIfNum, OPEN_BOOL_t initialize)
To initialize (or) re-authenticate the specific interface.