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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// Generated by redfish-codegen. Do not modify.
use redfish_macros::IntoRedfishMessage;
/// This registry defines the messages for networking devices
#[derive(Clone, Debug, IntoRedfishMessage)]
#[message(crate::models::message::v1_1_2::Message)]
pub enum NetworkDevice {
/// This message shall be used to indicate that a network cable has been inserted. This message shall not be sent for a backplane connection.
#[message(message = "A network cable has been inserted into network adapter '%1' port '%2'.")]
#[message(id = "NetworkDevice.1.0.2.CableInserted")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Refresh your cached version of the network port to get the updated information from the service.")]
CableInserted(
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network adapter into which a cable has been plugged.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network port into which a cable has been plugged.
String,
),
/// This message shall be used to indicate that a network connection is newly established, but that the link speed is lower than provisioned for the channel.
#[message(message = "A degraded network connection has been established for network adapter '%1' port '%2' function '%3'.")]
#[message(id = "NetworkDevice.1.0.2.DegradedConnectionEstablished")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Refresh your cached version of the network port to get the updated information from the service.")]
DegradedConnectionEstablished(
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network adapter to which a connection has been established.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network port to which a connection has been established.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network device function to which a connection has been established.
String,
),
/// This message shall be used to indicate that a network connection has repeatedly been established and dropped. This message shall not be repeated more than once in any 24 hour period.
#[message(message = "The network connection for network adapter '%1' port '%2' function '%3' has been established and dropped '%4' times in the last '%5' minutes.")]
#[message(id = "NetworkDevice.1.0.2.LinkFlapDetected")]
#[message(severity = "crate::models::resource::Health::Warning")]
#[message(resolution = "Contact the network administrator for problem resolution.")]
LinkFlapDetected(
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network adapter to which a connection has been established.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network port to which a connection has been established.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network device function to which a connection has been established.
String,
/// The value of this argument shall be a number representing the count of link establishment/disconnection cycles.
f64,
/// The value of this argument shall be a number representing the number of minutes over which link flapping activity has been detected.
f64,
),
/// This message shall be used to indicate that a network cable has been removed. This message shall not be sent for a backplane connection.
#[message(message = "A cable has been removed from network adapter '%1' port '%2'.")]
#[message(id = "NetworkDevice.1.0.2.CableRemoved")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Refresh your cached version of the network port to get the updated information from the service.")]
CableRemoved(
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network adapter from which a cable has been unplugged.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network port from which a cable has been unplugged.
String,
),
/// This message shall be used to indicate that the link for a network connection is no longer intact.
#[message(message = "The connection is no longer active for network adapter '%1' port '%2' function '%3'.")]
#[message(id = "NetworkDevice.1.0.2.ConnectionDropped")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Refresh your cached version of the network port to get the updated information from the service.")]
ConnectionDropped(
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network adapter from which a connection has dropped.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network port from which a connection has dropped.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network device function from which a connection has dropped.
String,
),
/// This message shall be used to indicate that the link for a network connection is newly established.
#[message(message = "A network connection has been established for network adapter '%1' port '%2' function '%3'.")]
#[message(id = "NetworkDevice.1.0.2.ConnectionEstablished")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Refresh your cached version of the network port to get the updated information from the service.")]
ConnectionEstablished(
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network adapter to which a connection has been established.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network port to which a connection has been established.
String,
/// The value of this argument shall contain a string that identifies or describes the location or physical context of the network device function to which a connection has been established.
String,
),
}