redfish_codegen/models/storage_replica_info/v1_4_0/replica_progress_status.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4/// Values of ReplicaProgressStatus describe the status of the session with respect to Replication activity.
5#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
6pub enum ReplicaProgressStatus {
7 /// This enumeration literal shall indicate that the request is completed. Data flow is idle.
8 Completed,
9 /// This enumeration literal shall indicate that the data flow is inactive, suspended or quiesced.
10 Dormant,
11 /// This enumeration literal shall indicate that replication is in the process of establishing source/replica relationship and the data flow has not started.
12 Initializing,
13 /// This enumeration literal shall indicate that replication has preparation in progress.
14 Preparing,
15 /// This enumeration literal shall indicate that replication has synchronization in progress.
16 Synchronizing,
17 /// This enumeration literal shall indicate that replication has resynchronization in progress.
18 Resyncing,
19 /// This enumeration literal shall indicate that replication has a restore in progress.
20 Restoring,
21 /// This enumeration literal shall indicate that replication has a fracture in progress.
22 Fracturing,
23 /// This enumeration literal shall indicate that replication has a split in progress.
24 Splitting,
25 /// This enumeration literal shall indicate that replication is in the process of switching source and target.
26 FailingOver,
27 /// This enumeration literal shall indicate that replication is undoing the result of failover.
28 FailingBack,
29 /// This enumeration literal shall indicate that replication has a detach in progress.
30 Detaching,
31 /// This enumeration literal shall indicate that replication has an abort in progress.
32 Aborting,
33 /// This enumeration literal shall indicate that replication status is mixed across element pairs in a replication group. Generally, the individual statuses need to be examined.
34 Mixed,
35 /// This enumeration literal shall indicate that replication has a copy operation in the process of being suspended.
36 Suspending,
37 /// This enumeration literal shall indicate that the requested operation has completed, however, the synchronization relationship needs to be fractured before further copy operations can be issued.
38 RequiresFracture,
39 /// This enumeration literal shall indicate that the requested operation has completed, however, the synchronization relationship needs to be resynced before further copy operations can be issued.
40 RequiresResync,
41 /// This enumeration literal shall indicate that the requested operation has completed, however, the synchronization relationship needs to be activated before further copy operations can be issued.
42 RequiresActivate,
43 /// This enumeration literal shall indicate that the flow of data has stopped momentarily due to limited bandwidth or a busy system.
44 Pending,
45 /// This enumeration literal shall indicate that the requested operation has completed, however, the synchronization relationship needs to be detached before further copy operations can be issued.
46 RequiresDetach,
47 /// This enumeration literal shall indicate that the replication relationship is in the process of terminating.
48 Terminating,
49 /// This enumeration literal shall indicate that the requested operation has completed, however, the synchronization relationship needs to be split before further copy operations can be issued.
50 RequiresSplit,
51 /// This enumeration literal shall indicate that the requested operation has completed, however, the synchronization relationship needs to be resumed before further copy operations can be issued.
52 RequiresResume,
53}
54
55#[allow(clippy::derivable_impls)]
56impl Default for ReplicaProgressStatus {
57 fn default() -> ReplicaProgressStatus {
58 ReplicaProgressStatus::Completed
59 }
60}
61
62impl crate::Metadata<'static> for ReplicaProgressStatus {
63 const JSON_SCHEMA: &'static str = "StorageReplicaInfo.v1_4_0.json";
64}