BUG-2218: Keep existing link augmentations during discovery process
[controller.git] / opendaylight / connectionmanager / api / src / main / java / org / opendaylight / controller / connectionmanager / NodeAccessPermission.java
1 /*
2  * Copyright IBM Corporation, 2013.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.connectionmanager;
10
11 /*
12  *
13  *  This enum enables the options which could be used for querying
14  *  the cluster-members based on the state-change permissions.
15  *
16  *  SB Plugin or any other means could be used to store this metadata
17  *  against each connection w.r.t. Node
18  *
19  *  TODO: When connection-manager is enhanced later to store connection
20  *  metadata with permissions, this could be used to query the connections
21  *  based on permission-level of the connection
22  *
23  */
24
25 public enum NodeAccessPermission {
26
27     /*
28      * This option could be used to retrieve the cluster-members who have rights
29      * only to read the Node state but are not eligible for modifying the state
30      * of Node
31      */
32     READONLY_ACCESS,
33
34     /*
35      * This option could be used to retrieve the cluster-members who have rights
36      * to read and modify the state of Node
37      */
38     READWRITE_ACCESS
39
40 }