blob: c0563c71a559eb628f429e3b9b4392641f2e0b5a [file] [log] [blame]
Himani Chawla77563742020-10-19 17:26:14 +05301syntax = "proto3";
2
khenaidoo5fc5cea2021-08-11 17:39:16 -04003option go_package = "github.com/opencord/voltha-protos/v5/go/core";
4option java_package = "org.opencord.voltha.core";
5
khenaidoo4c6543e2021-10-19 17:25:58 -04006package core;
Himani Chawla77563742020-10-19 17:26:14 +05307
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;
khenaidoo4c6543e2021-10-19 17:25:58 -040024 // 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}