xref: /openbmc/bmcweb/features/redfish/include/generated/enums/aggregation_source.hpp (revision 2ae81db99a155febe45d27e3834cfa5471b3ecdf)
1853c0dc5SEd Tanous #pragma once
2853c0dc5SEd Tanous #include <nlohmann/json.hpp>
3853c0dc5SEd Tanous 
4853c0dc5SEd Tanous namespace aggregation_source
5853c0dc5SEd Tanous {
6853c0dc5SEd Tanous // clang-format off
7853c0dc5SEd Tanous 
8853c0dc5SEd Tanous enum class SNMPAuthenticationProtocols{
9853c0dc5SEd Tanous     Invalid,
10853c0dc5SEd Tanous     None,
11853c0dc5SEd Tanous     CommunityString,
12853c0dc5SEd Tanous     HMAC_MD5,
13853c0dc5SEd Tanous     HMAC_SHA96,
14853c0dc5SEd Tanous     HMAC128_SHA224,
15853c0dc5SEd Tanous     HMAC192_SHA256,
16853c0dc5SEd Tanous     HMAC256_SHA384,
17853c0dc5SEd Tanous     HMAC384_SHA512,
18853c0dc5SEd Tanous };
19853c0dc5SEd Tanous 
20853c0dc5SEd Tanous enum class SNMPEncryptionProtocols{
21853c0dc5SEd Tanous     Invalid,
22853c0dc5SEd Tanous     None,
23853c0dc5SEd Tanous     CBC_DES,
24853c0dc5SEd Tanous     CFB128_AES128,
25*2ae81db9SGunnar Mills     CFB128_AES192,
26*2ae81db9SGunnar Mills     CFB128_AES256,
27853c0dc5SEd Tanous };
28853c0dc5SEd Tanous 
29853c0dc5SEd Tanous enum class AggregationType{
30853c0dc5SEd Tanous     Invalid,
31853c0dc5SEd Tanous     NotificationsOnly,
32853c0dc5SEd Tanous     Full,
33853c0dc5SEd Tanous };
34853c0dc5SEd Tanous 
35a8d8f9d8SEd Tanous enum class UserAuthenticationMethod{
36a8d8f9d8SEd Tanous     Invalid,
37a8d8f9d8SEd Tanous     PublicKey,
38a8d8f9d8SEd Tanous     Password,
39a8d8f9d8SEd Tanous };
40a8d8f9d8SEd Tanous 
41853c0dc5SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(SNMPAuthenticationProtocols, {
42853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::Invalid, "Invalid"},
43853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::None, "None"},
44853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::CommunityString, "CommunityString"},
45853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::HMAC_MD5, "HMAC_MD5"},
46853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::HMAC_SHA96, "HMAC_SHA96"},
47853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::HMAC128_SHA224, "HMAC128_SHA224"},
48853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::HMAC192_SHA256, "HMAC192_SHA256"},
49853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::HMAC256_SHA384, "HMAC256_SHA384"},
50853c0dc5SEd Tanous     {SNMPAuthenticationProtocols::HMAC384_SHA512, "HMAC384_SHA512"},
51853c0dc5SEd Tanous });
52853c0dc5SEd Tanous 
53853c0dc5SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(SNMPEncryptionProtocols, {
54853c0dc5SEd Tanous     {SNMPEncryptionProtocols::Invalid, "Invalid"},
55853c0dc5SEd Tanous     {SNMPEncryptionProtocols::None, "None"},
56853c0dc5SEd Tanous     {SNMPEncryptionProtocols::CBC_DES, "CBC_DES"},
57853c0dc5SEd Tanous     {SNMPEncryptionProtocols::CFB128_AES128, "CFB128_AES128"},
58*2ae81db9SGunnar Mills     {SNMPEncryptionProtocols::CFB128_AES192, "CFB128_AES192"},
59*2ae81db9SGunnar Mills     {SNMPEncryptionProtocols::CFB128_AES256, "CFB128_AES256"},
60853c0dc5SEd Tanous });
61853c0dc5SEd Tanous 
62853c0dc5SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(AggregationType, {
63853c0dc5SEd Tanous     {AggregationType::Invalid, "Invalid"},
64853c0dc5SEd Tanous     {AggregationType::NotificationsOnly, "NotificationsOnly"},
65853c0dc5SEd Tanous     {AggregationType::Full, "Full"},
66853c0dc5SEd Tanous });
67853c0dc5SEd Tanous 
68a8d8f9d8SEd Tanous NLOHMANN_JSON_SERIALIZE_ENUM(UserAuthenticationMethod, {
69a8d8f9d8SEd Tanous     {UserAuthenticationMethod::Invalid, "Invalid"},
70a8d8f9d8SEd Tanous     {UserAuthenticationMethod::PublicKey, "PublicKey"},
71a8d8f9d8SEd Tanous     {UserAuthenticationMethod::Password, "Password"},
72a8d8f9d8SEd Tanous });
73a8d8f9d8SEd Tanous 
74853c0dc5SEd Tanous }
75853c0dc5SEd Tanous // clang-format on
76