Post by AMI_shirleyh on Dec 14, 2020 12:17:46 GMT
SNMP Account
Q1 . In AccountService, AccountTypes Property is patchable. Does that mean User can change SNMP to Redfish or OEM after it has been created ?
I think it doesn't make sense to patch it after we create an account once as a Redfish or SNMP Account.
Q2. If we add only SNMP in the AccountTypes array property, does that mean it is Redfish & SNMP Account or only SNMP Account ?
Q3. "SNMPAuthenticationProtocols": { "enum": [ "None","HMAC_MD5","HMAC_SHA96" ] }
We have different AuthenticationProtocols in our BMC. So is there any reason for including only the above Enum's?
This is similar for "SNMPEncryptionProtocols": { "enum": ["None","CBC_DES","CFB128_AES128"] }
Can we have SNMPEncryptionProtocols property as a String Type alone and no Enum's?
It would be easier for us to map to our BMC. Otherwise let us know if any specific reasons for enforcing these Enums?
SNMPTrap
Q1. Already we have SNMP Credentials in ManagerAccount under SNMP property. So why do we need SNMP Property in EventDestination Schema for sending SNMP Trap?
Is SNMP Property in EventDestination independent of SNMP Property in ManagerAccounts ?
The following is a snippet from DMTF Mockup:
EventDestinationRequest
{
"Name": "SNMPv3 EventSubscription",
"Destination": "snmp://contorso_employee457@snmp_server.controso.com:162",
"ResourceTypes": [
"Certificate", "Volume"],
"Context": "My_SNMPv3_Events",
"Protocol": "SNMPv3",
"SubscriptionType": "SNMP",
}
"Name": "SNMPv3 EventSubscription",
"Destination": "snmp://contorso_employee457@snmp_server.controso.com:162",
"ResourceTypes": [
"Certificate", "Volume"],
"Context": "My_SNMPv3_Events",
"Protocol": "SNMPv3",
"SubscriptionType": "SNMP",
}
ManagerAccount Response
{
"@odata.type": "#ManagerAccount.v1_4_0.ManagerAccount",
"Id": "2",
"Name": "Another User Account",
"Description": "This user is both a Redfish administrator and a SNMPv3 user.",
"Enabled": true,
"Password": null,
"UserName": "controso_employee457",
"RoleId": "Administrator",
"Locked": false,
"AccountTypes": [
"Redfish",
"SNMP"
],
"@odata.type": "#ManagerAccount.v1_4_0.ManagerAccount",
"Id": "2",
"Name": "Another User Account",
"Description": "This user is both a Redfish administrator and a SNMPv3 user.",
"Enabled": true,
"Password": null,
"UserName": "controso_employee457",
"RoleId": "Administrator",
"Locked": false,
"AccountTypes": [
"Redfish",
"SNMP"
],
"SNMP": {
"AuthenticationKeySet": false,
"AuthenticationProtocol": "None"/"HMAC_MD5"/"HMAC_SHA96",
"EncryptionKeySet": false,
"EncryptionProtocol": "None"/"CBC_DES"/"CFB128_AES128",
},
"@odata.id": "/redfish/v1/AccountService/Accounts/2",
"@redfish.Copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see www.dmtf.org/about/policies/copyright."
}
"AuthenticationKeySet": false,
"AuthenticationProtocol": "None"/"HMAC_MD5"/"HMAC_SHA96",
"EncryptionKeySet": false,
"EncryptionProtocol": "None"/"CBC_DES"/"CFB128_AES128",
},
"@odata.id": "/redfish/v1/AccountService/Accounts/2",
"@redfish.Copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see www.dmtf.org/about/policies/copyright."
}