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