tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net; |
| 2 | |
| 3 | /** |
| 4 | * Representation of a relationship role of a controller instance to a device |
| 5 | * or a region of network environment. |
| 6 | */ |
| 7 | public enum MastershipRole { |
| 8 | |
| 9 | /** |
| 10 | * Represents a relationship where the controller instance is the master |
| 11 | * to a device or a region of network environment. |
| 12 | */ |
| 13 | MASTER, |
| 14 | |
| 15 | /** |
| 16 | * Represents a relationship where the controller instance is the standby, |
| 17 | * i.e. potential master to a device or a region of network environment. |
| 18 | */ |
| 19 | STANDBY, |
| 20 | |
| 21 | /** |
| 22 | * Represents that the controller instance is not eligible to be the master |
| 23 | * to a device or a region of network environment. |
| 24 | */ |
| 25 | NONE |
| 26 | |
| 27 | } |