Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.6.0.3
openapi_snmp.h
Go to the documentation of this file.
1 
9 /**********************************************************************
10 *
11 * Copyright 2016-2018 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_snmp.h
28 *
29 * @purpose Simple Network Management Protocol (SNMP) Configuration
30 *
31 * @component OPEN
32 *
33 * @create 09/20/2013
34 *
35 * @end
36 *
37 *********************************************************************/
38 #ifndef OPENAPI_SNMP_H_INCLUDED
39 #define OPENAPI_SNMP_H_INCLUDED
40 
41 #include <stdbool.h>
42 #include "openapi_common.h"
43 
45 #define OPENAPI_SNMP_TAG_LIST_TRAP_NOTIFY_STR "TrapNotify"
46 #define OPENAPI_SNMP_TAG_LIST_INFORM_NOTIFY_STR "InformNotify"
47 #define OPENAPI_SNMP_UDP_IPV4_DOMAIN_STR "snmpUDPDomain"
48 #define OPENAPI_SNMP_UDP_IPV6_DOMAIN_STR "transportDomainUdpIpv6"
49 #define OPENAPI_SNMP_SECURITY_MODEL_SNMPV1_STR "snmpv1"
50 #define OPENAPI_SNMP_SECURITY_MODEL_SNMPV2C_STR "snmpv2c"
51 #define OPENAPI_SNMP_DEFAULT_GROUP_READ_STR "DefaultGroupRead"
52 #define OPENAPI_SNMP_DEFAULT_GROUP_WRITE_STR "DefaultGroupWrite"
53 #define OPENAPI_SNMP_DEFAULT_READ_STR "DefaultRead"
54 #define OPENAPI_SNMP_DEFAULT_WRITE_STR "DefaultWrite"
55 #define OPENAPI_SNMP_DEFAULT_SUPER_STR "DefaultSuper"
56 #define OPENAPI_SNMP_DEFAULT_VIEW_STR "Default"
58 #define OPENAPI_SNMP_INDEX_NOT_FOUND -1
59 #define OPENAPI_SNMP_COMMUNITY_NAME_MAX 21
60 
62 typedef enum
63 {
69 
71 typedef enum
72 {
76 
78 typedef enum
79 {
84 
86 typedef enum
87 {
95 
97 typedef enum
98 {
104 
106 typedef enum
107 {
112 
114 typedef enum
115 {
121 
123 typedef enum
124 {
128 
130 typedef enum
131 {
135 
137 typedef enum
138 {
142 
143 
145 typedef enum
146 {
160 
161 typedef enum
162 {
163  OPEN_SNMP_COMMUNITY_STATUS_VALID = 1,
164  OPEN_SNMP_COMMUNITY_STATUS_INVALID = 2,
165  OPEN_SNMP_COMMUNITY_STATUS_DELETE = 3,
166  OPEN_SNMP_COMMUNITY_STATUS_CONFIG = 4
167 } OPEN_SNMP_COMMUNITY_STATUS_t;
168 
169 typedef enum
170 {
171  OPEN_SNMP_TRAP_VER_NONE = 1,
172  OPEN_SNMP_TRAP_VER_SNMPV1 = 2,
173  OPEN_SNMP_TRAP_VER_SNMPV2C = 3
174 }OPEN_SNMP_TRAP_VERSION_t;
175 
176 typedef struct OPEN_SNMP_COMMUNITY_s
177 {
178  OPEN_SNMP_COMMUNITY_ACCESS_TYPE_t type; /* Community Access Type */
179  open_inet_addr_t ipAddr; /* IPv4 address (optional) */
180  open_inet_addr_t ipMask; /* IPv4 address mask (optional) */
181  OPEN_SNMP_COMMUNITY_STATUS_t status; /* Community Status */
183 
185 {
186  OPEN_SNMP_TRAP_VERSION_t version;
187  OPEN_SNMP_COMMUNITY_STATUS_t status;
189 
190 /*************************************************************************/
219  open_buffdesc *communityName,
221  open_buffdesc *viewName,
222  open_inet_addr_t addr);
223 
224 /*************************************************************************/
245  open_buffdesc *communityName);
246 
247 /*************************************************************************/
276  open_buffdesc *communityName,
278  open_buffdesc *viewName,
279  open_inet_addr_t *addr,
280  open_buffdesc *nextCommunityName);
281 
282 /*************************************************************************/
309  open_buffdesc *communityName,
310  open_buffdesc *groupName,
311  open_inet_addr_t addr);
312 
313 /*************************************************************************/
340  open_buffdesc *filterName,
341  open_buffdesc *oidTree,
342  OPEN_SNMP_NOTIFY_FILTER_TYPE_t filterType);
343 
344 /*************************************************************************/
369  open_buffdesc *filterName,
370  open_buffdesc *oidTree);
371 
372 /*************************************************************************/
404  open_buffdesc *filterName,
405  open_buffdesc *oidTree,
406  OPEN_SNMP_NOTIFY_FILTER_TYPE_t *filterType,
407  open_buffdesc *nextFilterName,
408  open_buffdesc *nextOidTree);
409 
410 /*************************************************************************/
446  open_buffdesc *groupName,
447  OPEN_SNMP_SECURITY_MODEL_t securityModel,
448  OPEN_SNMP_SECURITY_LEVEL_t securityLevel,
449  open_buffdesc *contextPrefix,
450  open_buffdesc *readView,
451  open_buffdesc *writeView,
452  open_buffdesc *notifyView);
453 
454 /*************************************************************************/
480  open_buffdesc *groupName,
481  OPEN_SNMP_SECURITY_MODEL_t securityModel,
482  OPEN_SNMP_SECURITY_LEVEL_t securityLevel,
483  open_buffdesc *contextPrefix);
484 
485 /*************************************************************************/
528  open_buffdesc *groupName,
529  OPEN_SNMP_SECURITY_MODEL_t *securityModel,
530  OPEN_SNMP_SECURITY_LEVEL_t *securityLevel,
531  open_buffdesc *contextPrefix,
532  open_buffdesc *readView,
533  open_buffdesc *writeView,
534  open_buffdesc *notifyView,
535  open_buffdesc *nextGroupName,
536  open_buffdesc *nextContextPrefix);
537 
538 /*************************************************************************/
557 
558 /*************************************************************************/
576  open_buffdesc *engineId);
577 
578 /*************************************************************************/
603  open_buffdesc *engineId);
604 
605 /*************************************************************************/
651  open_buffdesc *userName,
652  open_buffdesc *groupName,
654  open_buffdesc *authPwd,
655  open_buffdesc *authKey,
657  open_buffdesc *privPwd,
658  open_buffdesc *privKey,
659  open_buffdesc *engineId);
660 
661 /*************************************************************************/
687  open_buffdesc *userName,
688  open_buffdesc *engineId);
689 
690 /*************************************************************************/
727  open_buffdesc *userName,
728  open_buffdesc *engineId,
729  open_buffdesc *groupName,
732  open_buffdesc *nextUserName,
733  open_buffdesc *nextEngineId);
734 
735 /*************************************************************************/
773  open_buffdesc *host,
774  uint32_t serverPort,
775  open_buffdesc *securityName,
776  OPEN_SNMP_SECURITY_MODEL_t securityModel,
777  OPEN_SNMP_SECURITY_LEVEL_t securityLevel,
778  OPEN_SNMP_NOTIFY_TYPE_t notifyType,
779  uint32_t timeout,
780  uint32_t retries,
781  open_buffdesc *filter);
782 
783 /*************************************************************************/
803  open_buffdesc *host,
804  OPEN_SNMP_NOTIFY_TYPE_t notifyType);
805 
806 /*************************************************************************/
840  open_buffdesc *host,
841  uint32_t *serverPort,
842  open_buffdesc *securityName,
843  OPEN_SNMP_SECURITY_MODEL_t *securityModel,
844  OPEN_SNMP_SECURITY_LEVEL_t *securityLevel,
845  OPEN_SNMP_NOTIFY_TYPE_t *notifyType,
846  uint32_t *timeout,
847  uint32_t *retries,
848  open_buffdesc *filter,
849  open_buffdesc *nextHost);
850 
851 /*************************************************************************/
868  uint32_t trapFlag,
869  bool *mode);
870 
871 /*************************************************************************/
895  uint32_t trapFlags,
896  bool mode);
897 
898 /*************************************************************************/
919  uint32_t *intf,
920  OPEN_INTF_TYPE_t *type,
921  open_inet_addr_t *addr);
922 
923 /*************************************************************************/
945  uint32_t intf);
946 
947 /*************************************************************************/
974  open_buffdesc *viewName,
975  open_buffdesc *oidTree,
976  OPEN_SNMP_VIEW_TYPE_t viewType);
977 
978 /*************************************************************************/
1004  open_buffdesc *viewName,
1005  open_buffdesc *oidTree);
1006 
1007 /*************************************************************************/
1039  open_buffdesc *viewName,
1040  open_buffdesc *oidTree,
1041  OPEN_SNMP_VIEW_TYPE_t *viewType,
1042  open_buffdesc *nextViewName,
1043  open_buffdesc *nextOidTree);
1044 
1045 /*************************************************************************/
1073  open_buffdesc *name,
1074  open_buffdesc *oidTree,
1076  open_buffdesc *oidString);
1077 
1078 /*************************************************************************/
1107  open_buffdesc *name,
1108  open_buffdesc *oidTree,
1110  open_buffdesc *oidVal);
1111 
1112 /*************************************************************************/
1127  open_buffdesc *sysContact);
1128 
1129 /*************************************************************************/
1150  open_buffdesc *sysContact);
1151 
1152 /*************************************************************************/
1167  open_buffdesc *sysName);
1168 
1169 /*************************************************************************/
1190  open_buffdesc *sysName);
1191 
1192 /*************************************************************************/
1207  open_buffdesc *sysLocation);
1208 
1209 /*************************************************************************/
1229  open_buffdesc *sysLocation);
1230 
1231 /*************************************************************************/
1254  open_buffdesc *communityName,
1255  OPEN_SNMP_COMMUNITY_t community);
1256 
1257 /*************************************************************************/
1277  open_buffdesc *communityName);
1278 
1279 /*************************************************************************/
1300  open_buffdesc *communityName,
1301  open_buffdesc *nextCommunityName);
1302 
1303 /*************************************************************************/
1322  open_buffdesc *communityName,
1323  OPEN_SNMP_COMMUNITY_t *community);
1324 
1325 /*************************************************************************/
1347  open_buffdesc *communityName,
1348  open_inet_addr_t ipAddr,
1349  OPEN_SNMP_TRAP_CONFIG_t trapConfig);
1350 
1351 /*************************************************************************/
1372  open_buffdesc *communityName,
1373  open_inet_addr_t ipAddr);
1374 
1375 /*************************************************************************/
1395  open_buffdesc *communityName,
1396  open_inet_addr_t ipAddr,
1397  OPEN_SNMP_TRAP_CONFIG_t *trapConfig);
1398 
1399 /*************************************************************************/
1419  open_buffdesc *communityName,
1420  open_inet_addr_t ipAddr,
1421  open_buffdesc *nextCommunityName);
1422 
1423 /*************************************************************************/
1443  open_buffdesc *communityName,
1444  open_inet_addr_t ipAddr,
1445  open_inet_addr_t *nextIPAddr);
1446 
1447 #endif /* OPENAPI_SNMP_H_INCLUDED */
1448 
open_error_t openapiSnmpCommunityCreate(openapiClientHandle_t *client_handle, open_buffdesc *communityName, OPEN_SNMP_COMMUNITY_ACCESS_TYPE_t accessType, open_buffdesc *viewName, open_inet_addr_t addr)
Create a new, or edit an existing SNMP community.
Unacknowledged trap type.
Definition: openapi_snmp.h:73
open_error_t openapiTrapManagerConfigIPGetNext(openapiClientHandle_t *client_handle, open_buffdesc *communityName, open_inet_addr_t ipAddr, open_inet_addr_t *nextIPAddr)
Get next IP address SNMP Trap information.
open_error_t openapiSnmpGroupGetNext(openapiClientHandle_t *client_handle, open_buffdesc *groupName, OPEN_SNMP_SECURITY_MODEL_t *securityModel, OPEN_SNMP_SECURITY_LEVEL_t *securityLevel, open_buffdesc *contextPrefix, open_buffdesc *readView, open_buffdesc *writeView, open_buffdesc *notifyView, open_buffdesc *nextGroupName, open_buffdesc *nextContextPrefix)
Retrieve the next SNMP group entry based on group name.
Acknowledged trap type.
Definition: openapi_snmp.h:74
open_error_t openapiSnmpViewCreate(openapiClientHandle_t *client_handle, open_buffdesc *viewName, open_buffdesc *oidTree, OPEN_SNMP_VIEW_TYPE_t viewType)
Create a new, or edit an existing SNMP view.
open_error_t openapiSnmpFilterGetNext(openapiClientHandle_t *client_handle, open_buffdesc *filterName, open_buffdesc *oidTree, OPEN_SNMP_NOTIFY_FILTER_TYPE_t *filterType, open_buffdesc *nextFilterName, open_buffdesc *nextOidTree)
Retrieve the next SNMP filter entry based on filter name and oidTree.
open_error_t openapiSnmpSysNameGet(openapiClientHandle_t *client_handle, open_buffdesc *sysName)
Get the system name.
VACM filter tree family.
Definition: openapi_snmp.h:140
OPEN_SNMP_SECURITY_MODEL_t
Security model id.
Definition: openapi_snmp.h:97
Power supply status traps.
Definition: openapi_snmp.h:149
open_error_t openapiSnmpGroupDelete(openapiClientHandle_t *client_handle, open_buffdesc *groupName, OPEN_SNMP_SECURITY_MODEL_t securityModel, OPEN_SNMP_SECURITY_LEVEL_t securityLevel, open_buffdesc *contextPrefix)
Delete an existing SNMP group.
open_error_t openapiSnmpCommunityGetNext(openapiClientHandle_t *client_handle, open_buffdesc *communityName, OPEN_SNMP_COMMUNITY_ACCESS_TYPE_t *accessType, open_buffdesc *viewName, open_inet_addr_t *addr, open_buffdesc *nextCommunityName)
Retrieve the next SNMP community entry based on community name.
open_error_t openapiSnmpTrapFlagSet(openapiClientHandle_t *client_handle, uint32_t trapFlags, bool mode)
Enable or disable the traps identified via the trapFlags selection.
VACM view tree family.
Definition: openapi_snmp.h:139
open_error_t openapiSnmpUserDelete(openapiClientHandle_t *client_handle, open_buffdesc *userName, open_buffdesc *engineId)
Delete an existing SNMP user name entry with a matching engine id.
Excluded from the MIB view.
Definition: openapi_snmp.h:126
open_error_t openapiSnmpFilterCreate(openapiClientHandle_t *client_handle, open_buffdesc *filterName, open_buffdesc *oidTree, OPEN_SNMP_NOTIFY_FILTER_TYPE_t filterType)
Create a new, or edit an existing SNMP filter entry.
All interfaces for Port MAC locking security violations.
Definition: openapi_snmp.h:158
Temperature status traps.
Definition: openapi_snmp.h:150
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiSnmpSysNameSet(openapiClientHandle_t *client_handle, open_buffdesc *sysName)
Set the SNMP system name.
open_error_t openapiSnmpSysContactGet(openapiClientHandle_t *client_handle, open_buffdesc *sysContact)
Get the system contact information.
Communication with authentication and without privacy.
Definition: openapi_snmp.h:109
open_error_t openapiSnmpSysLocationGet(openapiClientHandle_t *client_handle, open_buffdesc *sysLocation)
Get the system location information.
open_error_t openapiSnmpLocalEngineIdGet(openapiClientHandle_t *client_handle, open_buffdesc *engineId)
Get the SNMP engine id on the local device.
OPEN_INTF_TYPE_t
open_error_t openapiSnmpHostDelete(openapiClientHandle_t *client_handle, open_buffdesc *host, OPEN_SNMP_NOTIFY_TYPE_t notifyType)
Delete an existing SNMPv1/2 or v3 host entry.
Secure Hash Algorithm.
Definition: openapi_snmp.h:81
OPEN_SNMP_SECURITY_LEVEL_t
SNMPV3 Security levels.
Definition: openapi_snmp.h:106
OPEN_SNMP_MESSAGE_PROCESSING_MODEL_t
Message processing model, typically the SNMP version.
Definition: openapi_snmp.h:114
open_error_t openapiSnmpLocalEngineIdSet(openapiClientHandle_t *client_handle, open_buffdesc *engineId)
Set the SNMP engine id on the local device.
OPEN_SNMP_VACM_TREE_FAMILY_TYPE_t
Used to identify tree family type MIB.
Definition: openapi_snmp.h:137
Communication with authentication and privacy.
Definition: openapi_snmp.h:110
Included in the MIB view.
Definition: openapi_snmp.h:132
OPEN_SNMP_VIEW_TYPE_t
Exclusion value of the vacmViewTreeFamilyType MIB object.
Definition: openapi_snmp.h:123
Included in the MIB view.
Definition: openapi_snmp.h:125
All available OSPFv3 traps.
Definition: openapi_snmp.h:155
When multiple logins are active.
Definition: openapi_snmp.h:153
open_error_t openapiSnmpFilterDelete(openapiClientHandle_t *client_handle, open_buffdesc *filterName, open_buffdesc *oidTree)
Delete an existing SNMP filter entry based on the filterName and optionally the oidTree.
OPEN_SNMP_NOTIFY_FILTER_TYPE_t
Exclusion value of the vacmFilterViewTreeFamilyType MIB object.
Definition: openapi_snmp.h:130
open_error_t openapiSnmpTreeFamilyOidValGet(openapiClientHandle_t *client_handle, open_buffdesc *name, open_buffdesc *oidTree, OPEN_SNMP_VACM_TREE_FAMILY_TYPE_t treeType, open_buffdesc *oidVal)
Get the actual OID value for the given view or filter.
open_error_t openapiSnmpSysLocationSet(openapiClientHandle_t *client_handle, open_buffdesc *sysLocation)
Set the SNMP system location.
Communication without authentication and privacy.
Definition: openapi_snmp.h:108
OPEN_USM_USER_PRIV_PROTOCOL_t
User-Based Security Model Privilege protocols.
Definition: openapi_snmp.h:86
Data Encryption Standard protocol.
Definition: openapi_snmp.h:89
open_error_t openapiSnmpLocalEngineIdDelete(openapiClientHandle_t *client_handle)
Delete the SNMP engine id on the local device.
open_error_t openapiSnmpViewDelete(openapiClientHandle_t *client_handle, open_buffdesc *viewName, open_buffdesc *oidTree)
Delete an existing SNMP view entry based on the viewName and optionally the oidTree.
open_error_t openapiSnmpCommunityDelete(openapiClientHandle_t *client_handle, open_buffdesc *communityName)
Delete an existing SNMP community entry and related securityToGroup entries and target tags...
open_error_t openapiSnmpTrapFlagGet(openapiClientHandle_t *client_handle, uint32_t trapFlag, bool *mode)
Retrieve the trap mode for a single trap.
open_error_t openapiSnmpCommunityAndIPAddrDelete(openapiClientHandle_t *client_handle, open_buffdesc *communityName)
Delete an existing SNMP community entry and related securityToGroup entries if SNMP config API is not...
open_error_t openapiSnmpCommunityAndIPAddrCreate(openapiClientHandle_t *client_handle, open_buffdesc *communityName, OPEN_SNMP_COMMUNITY_t community)
Create a new, or edit an existing SNMP community.
open_error_t openapiSnmpTreeFamilyOidStringGet(openapiClientHandle_t *client_handle, open_buffdesc *name, open_buffdesc *oidTree, OPEN_SNMP_VACM_TREE_FAMILY_TYPE_t treeType, open_buffdesc *oidString)
Get the translated string representation of an OID for the given view or filter.
open_error_t openapiTrapManagerConfigCreate(openapiClientHandle_t *client_handle, open_buffdesc *communityName, open_inet_addr_t ipAddr, OPEN_SNMP_TRAP_CONFIG_t trapConfig)
Create a new, or edit an existing SNMP Trap entry.
open_error_t openapiSnmpCommunityAndIPAddrGetNext(openapiClientHandle_t *client_handle, open_buffdesc *communityName, open_buffdesc *nextCommunityName)
Retrieve the next SNMP community entry based on community name.
open_error_t openapiSnmpTrapSrcIntfGet(openapiClientHandle_t *client_handle, uint32_t *intf, OPEN_INTF_TYPE_t *type, open_inet_addr_t *addr)
Get the source interface which SNMP trap originates.
User authentication traps.
Definition: openapi_snmp.h:147
Switch level link up/down traps.
Definition: openapi_snmp.h:152
open_error_t openapiSnmpHostCreate(openapiClientHandle_t *client_handle, open_buffdesc *host, uint32_t serverPort, open_buffdesc *securityName, OPEN_SNMP_SECURITY_MODEL_t securityModel, OPEN_SNMP_SECURITY_LEVEL_t securityLevel, OPEN_SNMP_NOTIFY_TYPE_t notifyType, uint32_t timeout, uint32_t retries, open_buffdesc *filter)
Create an SNMPv1/2 or v3 host.
OPEN_USM_USER_AUTH_PROTOCOL_t
User-Based Security Model Authentication protocols.
Definition: openapi_snmp.h:78
User-Based Security Model.
Definition: openapi_snmp.h:102
Message Digest Algorithm.
Definition: openapi_snmp.h:82
open_error_t openapiTrapManagerConfigCommunityGetNext(openapiClientHandle_t *client_handle, open_buffdesc *communityName, open_inet_addr_t ipAddr, open_buffdesc *nextCommunityName)
Get next community SNMP Trap information.
open_error_t openapiSnmpViewGetNext(openapiClientHandle_t *client_handle, open_buffdesc *viewName, open_buffdesc *oidTree, OPEN_SNMP_VIEW_TYPE_t *viewType, open_buffdesc *nextViewName, open_buffdesc *nextOidTree)
Retrieve the next SNMP view entry based on view name and oidTree.
OPEN_SNMP_TRAP_FLAGS_t
Supported SNMP trap flags.
Definition: openapi_snmp.h:145
open_error_t openapiSnmpCommunityAndIPAddrGet(openapiClientHandle_t *client_handle, open_buffdesc *communityName, OPEN_SNMP_COMMUNITY_t *community)
Gets an existing SNMP community.
OPEN_SNMP_COMMUNITY_ACCESS_TYPE_t
SNMP Community access types.
Definition: openapi_snmp.h:62
open_error_t openapiSnmpSysContactSet(openapiClientHandle_t *client_handle, open_buffdesc *sysContact)
Set the SNMP system contact.
open_error_t openapiSnmpTrapSrcIntfSet(openapiClientHandle_t *client_handle, uint32_t intf)
Set the source interface which SNMP trap originates.
OPEN_SNMP_NOTIFY_TYPE_t
SNMP Notification types.
Definition: openapi_snmp.h:71
User authentication traps.
Definition: openapi_snmp.h:157
open_error_t openapiTrapManagerConfigGet(openapiClientHandle_t *client_handle, open_buffdesc *communityName, open_inet_addr_t ipAddr, OPEN_SNMP_TRAP_CONFIG_t *trapConfig)
Get SNMP Trap information.
open_error_t openapiSnmpUserGetNext(openapiClientHandle_t *client_handle, open_buffdesc *userName, open_buffdesc *engineId, open_buffdesc *groupName, OPEN_USM_USER_AUTH_PROTOCOL_t *authProto, OPEN_USM_USER_PRIV_PROTOCOL_t *privProto, open_buffdesc *nextUserName, open_buffdesc *nextEngineId)
Retrieve the next SNMP user entry based on user name and engine id.
open_error_t openapiSnmpGroupCreate(openapiClientHandle_t *client_handle, open_buffdesc *groupName, OPEN_SNMP_SECURITY_MODEL_t securityModel, OPEN_SNMP_SECURITY_LEVEL_t securityLevel, open_buffdesc *contextPrefix, open_buffdesc *readView, open_buffdesc *writeView, open_buffdesc *notifyView)
Create a new SNMP group.
All available OSPFv2 traps.
Definition: openapi_snmp.h:154
Excluded from the MIB view.
Definition: openapi_snmp.h:133
Spanning Tree traps.
Definition: openapi_snmp.h:156
open_error_t openapiTrapManagerConfigDelete(openapiClientHandle_t *client_handle, open_buffdesc *communityName, open_inet_addr_t ipAddr)
Deletes an existing SNMP Trap entry and related entries if SNMP config API is not supported...
open_error_t openapiSnmpCommunityGroupCreate(openapiClientHandle_t *client_handle, open_buffdesc *communityName, open_buffdesc *groupName, open_inet_addr_t addr)
Map a new internal security name for SNMP v1 and SNMP v2 security models to an existing group name...
open_error_t openapiSnmpUserCreate(openapiClientHandle_t *client_handle, open_buffdesc *userName, open_buffdesc *groupName, OPEN_USM_USER_AUTH_PROTOCOL_t authProto, open_buffdesc *authPwd, open_buffdesc *authKey, OPEN_USM_USER_PRIV_PROTOCOL_t privProto, open_buffdesc *privPwd, open_buffdesc *privKey, open_buffdesc *engineId)
Create a new SNMP user entry.
open_error_t openapiSnmpHostGetNext(openapiClientHandle_t *client_handle, open_buffdesc *host, uint32_t *serverPort, open_buffdesc *securityName, OPEN_SNMP_SECURITY_MODEL_t *securityModel, OPEN_SNMP_SECURITY_LEVEL_t *securityLevel, OPEN_SNMP_NOTIFY_TYPE_t *notifyType, uint32_t *timeout, uint32_t *retries, open_buffdesc *filter, open_buffdesc *nextHost)
Retrieve the next SNMPv1/2 or v3 host based on host IP address.
All available BGP traps.
Definition: openapi_snmp.h:151