|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
username | M | string | SNMPv3 SNMP-USER-BASED-SM-MIB usmUserName and usmUserSecurityName. | ||
group | O | enumeration | admin | SNMPv3 SNMP-VIEW-BASED-ACM-MIB vacmGroupName. | |
authProtocol | O | enumeration | hmacsha | SNMPv3 SNMP-USER-BASED-SM-MIB authentication protocol. | |
authKey | O | hexList | SNMPv3 SNMP-USER-BASED-SM-MIB authentication key. | ||
privProtocol | O | enumeration | aes128 | SNMPv3 SNMP-USER-BASED-SM-MIB privacy protocol used by user. | |
privKey | O | hexList | SNMPv3 SNMP-USER-BASED-SM-MIB privacy key. |
RESTCONF API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/restconf/data/sonusOrca:oam/snmp/users={username} |
RESTCONF API: POST Example |
---|
curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/data/sonusOrca:oam/snmp --data ' |
RESTCONF API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/restconf/data/sonusOrca:oam/snmp/users={username} |