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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
// Generated by redfish-codegen. Do not modify.
use redfish_macros::IntoRedfishMessage;
/// This registry defines the update status and error messages.
#[derive(Clone, Debug, IntoRedfishMessage)]
#[message(crate::models::message::v1_1_2::Message)]
pub enum Update {
/// This message shall be used to indicate that the update operation transitioned to a job for managing the progress of the operation.
#[message(message = "The update operation has transitioned to the job at URI '%1'.")]
#[message(id = "Update.1.0.1.OperationTransitionedToJob")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Follow the referenced job and monitor the job for further updates.")]
OperationTransitionedToJob(
/// This argument shall contain the URI of the `Job` resource that is managing the progress of the update operation.
String,
),
/// This message shall be used to indicate that the component failed to apply an image.
#[message(message = "Installation of image '%1' to '%2' failed.")]
#[message(id = "Update.1.0.1.ApplyFailed")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
ApplyFailed(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component applying the image.
String,
),
/// This message shall be used to indicate that a component is verifying an image.
#[message(message = "Image '%1' is being verified at '%2'.")]
#[message(id = "Update.1.0.1.VerifyingAtComponent")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
VerifyingAtComponent(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component verifying the image.
String,
),
/// This message shall be used to indicate that a resource or device was updated.
#[message(message = "Device '%1' successfully updated with image '%2'.")]
#[message(id = "Update.1.0.1.UpdateSuccessful")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
UpdateSuccessful(
/// This argument shall contain the URI of the resource or a unique name of the device that was updated.
String,
/// This argument shall contain the identifier for the image.
String,
),
/// This message shall be used to indicate that the service failed to transfer an image to a component.
#[message(message = "Transfer of image '%1' to '%2' failed.")]
#[message(id = "Update.1.0.1.TransferFailed")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
TransferFailed(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component receiving the image.
String,
),
/// This message shall be used to indicate that the resource or device is awaiting for an action to proceed with installing an image.
#[message(message = "Awaiting for an action to proceed with installing image '%1' on '%2'.")]
#[message(id = "Update.1.0.1.AwaitToUpdate")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Perform the requested action to advance the update operation.")]
AwaitToUpdate(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component awaiting for an action to install the image.
String,
),
/// This message shall be used to indicate that the service is transferring an image to a component.
#[message(message = "Image '%1' is being transferred to '%2'.")]
#[message(id = "Update.1.0.1.TransferringToComponent")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
TransferringToComponent(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component receiving the image.
String,
),
/// This message shall be used to indicate that a component is applying an image.
#[message(message = "Image '%1' is being applied on '%2'.")]
#[message(id = "Update.1.0.1.ApplyingOnComponent")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
ApplyingOnComponent(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component applying the image.
String,
),
/// This message shall be used to indicate that the component failed to verify an image.
#[message(message = "Verification of image '%1' at '%2' failed.")]
#[message(id = "Update.1.0.1.VerificationFailed")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
VerificationFailed(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component verifying the image.
String,
),
/// This message shall be used to indicate that an update is in progress.
#[message(message = "An update is in progress.")]
#[message(id = "Update.1.0.1.UpdateInProgress")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
UpdateInProgress,
/// This message shall be used to indicate that a target resource or device for a image has been determined for update.
#[message(message = "The target device '%1' will be updated with image '%2'.")]
#[message(id = "Update.1.0.1.TargetDetermined")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
TargetDetermined(
/// This argument shall contain the URI of the resource or a unique name of the device that will be updated.
String,
/// This argument shall contain the identifier for the image.
String,
),
/// This message shall be used to indicate that all target resources or devices for an update operation have been determined by the service.
#[message(message = "All the target device to be updated have been determined.")]
#[message(id = "Update.1.0.1.AllTargetsDetermined")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
AllTargetsDetermined,
/// This message shall be used to indicate that a component is installing an image.
#[message(message = "Image '%1' is being installed on '%2'.")]
#[message(id = "Update.1.0.1.InstallingOnComponent")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "None.")]
InstallingOnComponent(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component installing the image.
String,
),
/// This message shall be used to indicate that the component failed to activate the image.
#[message(message = "Activation of image '%1' on '%2' failed.")]
#[message(id = "Update.1.0.1.ActivateFailed")]
#[message(severity = "crate::models::resource::Health::Critical")]
#[message(resolution = "None.")]
ActivateFailed(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component activating the image.
String,
),
/// This message shall be used to indicate that the resource or device is awaiting for an action to proceed with activating an image.
#[message(message = "Awaiting for an action to proceed with activating image '%1' on '%2'.")]
#[message(id = "Update.1.0.1.AwaitToActivate")]
#[message(severity = "crate::models::resource::Health::OK")]
#[message(resolution = "Perform the requested action to advance the update operation.")]
AwaitToActivate(
/// This argument shall contain the identifier for the image.
String,
/// This argument shall contain the URI of the resource or a unique name of the component awaiting for an action to activate the image.
String,
),
}