redfish_codegen/models/aggregation_source/v1_3_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 is not required.
7 None,
8 /// This value shall indicate authentication using SNMP community strings and the value of TrapCommunity.
9 CommunityString,
10 /// This value shall indicate authentication conforms to the RFC3414-defined HMAC-MD5-96 authentication protocol.
11 #[serde(rename = "HMAC_MD5")]
12 HMACMD5,
13 /// This value shall indicate authentication 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.
17 #[serde(rename = "HMAC128_SHA224")]
18 HMAC128SHA224,
19 /// This value shall indicate authentication for SNMPv3 access conforms to the RFC7860-defined usmHMAC192SHA256AuthProtocol.
20 #[serde(rename = "HMAC192_SHA256")]
21 HMAC192SHA256,
22 /// This value shall indicate authentication for SNMPv3 access conforms to the RFC7860-defined usmHMAC256SHA384AuthProtocol.
23 #[serde(rename = "HMAC256_SHA384")]
24 HMAC256SHA384,
25 /// This value shall indicate authentication for SNMPv3 access conforms to the RFC7860-defined usmHMAC384SHA512AuthProtocol.
26 #[serde(rename = "HMAC384_SHA512")]
27 HMAC384SHA512,
28}
29
30#[allow(clippy::derivable_impls)]
31impl Default for SNMPAuthenticationProtocols {
32 fn default() -> SNMPAuthenticationProtocols {
33 SNMPAuthenticationProtocols::None
34 }
35}
36
37impl crate::Metadata<'static> for SNMPAuthenticationProtocols {
38 const JSON_SCHEMA: &'static str = "AggregationSource.v1_3_1.json";
39}