blob: 7f186859434a2634bff3f10e51b27743f6cde131 [file] [log] [blame]
Charles Chan12a8a842020-02-14 13:23:57 -08001/*
2 * Copyright 2020-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.segmentrouting.phasedrecovery.api;
18
19/**
20 * Phases of recovering devices.
21 */
22public enum Phase {
23
24 /**
25 * Device is waiting for ports to be reported.
26 */
27 PENDING,
28
29 /**
30 * Pair port enabled. This is the initial state for paired devices.
31 */
32 PAIR,
33
34 /**
35 * Infrastructure ports enabled.
36 */
37 INFRA,
38
39 /**
40 * Edge ports enabled. This is the initial state for non-paired and spine devices.
41 */
42 EDGE
43}