blob: dd427b24540e46c578788d7f5c65e814066ed217 [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;
24 }
25 Types transient_state = 1;
26}