1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Generated by redfish-codegen. Do not modify.
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
pub enum SNMPAuthenticationProtocols {
/// This value shall indicate authentication is not required.
None,
/// This value shall indicate authentication using SNMP community strings and the value of TrapCommunity.
CommunityString,
/// This value shall indicate authentication conforms to the RFC3414-defined HMAC-MD5-96 authentication protocol.
#[serde(rename = "HMAC_MD5")]
HMACMD5,
/// This value shall indicate authentication conforms to the RFC3414-defined HMAC-SHA-96 authentication protocol.
#[serde(rename = "HMAC_SHA96")]
HMACSHA96,
/// This value shall indicate authentication for SNMPv3 access conforms to the RFC7860-defined usmHMAC128SHA224AuthProtocol. Added in version v1_10_0.
#[serde(rename = "HMAC128_SHA224")]
HMAC128SHA224,
/// This value shall indicate authentication for SNMPv3 access conforms to the RFC7860-defined usmHMAC192SHA256AuthProtocol. Added in version v1_10_0.
#[serde(rename = "HMAC192_SHA256")]
HMAC192SHA256,
/// This value shall indicate authentication for SNMPv3 access conforms to the RFC7860-defined usmHMAC256SHA384AuthProtocol. Added in version v1_10_0.
#[serde(rename = "HMAC256_SHA384")]
HMAC256SHA384,
/// This value shall indicate authentication for SNMPv3 access conforms to the RFC7860-defined usmHMAC384SHA512AuthProtocol. Added in version v1_10_0.
#[serde(rename = "HMAC384_SHA512")]
HMAC384SHA512,
}
#[allow(clippy::derivable_impls)]
impl Default for SNMPAuthenticationProtocols {
fn default() -> SNMPAuthenticationProtocols {
SNMPAuthenticationProtocols::None
}
}
impl crate::Metadata<'static> for SNMPAuthenticationProtocols {
const JSON_SCHEMA: &'static str = "EventDestination.v1_13_0.json";
}