blob: fabad3da4e60a83762867bf13ed9cf8479ee05ca [file] [log] [blame]
Himani Chawla77563742020-10-19 17:26:14 +05301syntax = "proto3";
2
3option go_package = "github.com/opencord/voltha-protos/v4/go/voltha";
4option java_package = "org.opencord.voltha";
5
6package voltha;
7
8message DeviceTransientState {
9 // Transient State for devices
10 enum Types {
11 // The transient state of the device is not set
12 NONE = 0;
13 // The state of the device in core is any state, i.e DELETING, DELETED, DELETE_FAILED, NONE.
14 // This state is only used for transitions.
15 ANY = 1;
16 // The device is in FORCE_DELETING state
17 FORCE_DELETING = 2;
18 // The device is getting deleted from adapter state
19 DELETING_FROM_ADAPTER = 3;
20 // The device is deleted from adapter and is getting deleted in core.
21 DELETING_POST_ADAPTER_RESPONSE = 4;
22 // State to represent that the device deletion is failed
23 DELETE_FAILED = 5;
Maninder604e8952021-04-15 17:13:29 +053024 // State to represent that reconcile is in progress
25 RECONCILE_IN_PROGRESS = 6;
Himani Chawla77563742020-10-19 17:26:14 +053026 }
27 Types transient_state = 1;
28}