Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 1 | /* |
Thomas Vachuska | 02aeb03 | 2015-01-06 22:36:30 -0800 | [diff] [blame] | 2 | * Copyright 2015 Open Networking Laboratory |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 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 | */ |
Thomas Vachuska | 02aeb03 | 2015-01-06 22:36:30 -0800 | [diff] [blame] | 16 | package org.onosproject.core; |
Thomas Vachuska | 0a608ac | 2014-10-16 11:15:59 -0700 | [diff] [blame] | 17 | |
| 18 | /** |
Thomas Vachuska | 02aeb03 | 2015-01-06 22:36:30 -0800 | [diff] [blame] | 19 | * Representation of an application permission. |
Thomas Vachuska | 0a608ac | 2014-10-16 11:15:59 -0700 | [diff] [blame] | 20 | */ |
Changhoon Yoon | a7841ed | 2015-05-15 02:51:08 +0900 | [diff] [blame] | 21 | public enum Permission { |
| 22 | APP_READ, |
| 23 | APP_EVENT, |
| 24 | CONFIG_READ, |
| 25 | CONFIG_WRITE, |
| 26 | CLUSTER_READ, |
| 27 | CLUSTER_WRITE, |
| 28 | CLUSTER_EVENT, |
| 29 | DEVICE_READ, |
| 30 | DEVICE_EVENT, |
| 31 | DRIVER_READ, |
| 32 | DRIVER_WRITE, |
| 33 | FLOWRULE_READ, |
| 34 | FLOWRULE_WRITE, |
| 35 | FLOWRULE_EVENT, |
| 36 | GROUP_READ, |
| 37 | GROUP_WRITE, |
| 38 | GROUP_EVENT, |
| 39 | HOST_READ, |
| 40 | HOST_WRITE, |
| 41 | HOST_EVENT, |
| 42 | INTENT_READ, |
| 43 | INTENT_WRITE, |
| 44 | INTENT_EVENT, |
| 45 | LINK_READ, |
| 46 | LINK_WRITE, |
| 47 | LINK_EVENT, |
| 48 | PACKET_READ, |
| 49 | PACKET_WRITE, |
| 50 | PACKET_EVENT, |
| 51 | STATISTIC_READ, |
| 52 | TOPOLOGY_READ, |
| 53 | TOPOLOGY_EVENT, |
| 54 | TUNNEL_READ, |
| 55 | TUNNEL_WRITE, |
| 56 | TUNNEL_EVENT, |
| 57 | STORAGE_WRITE |
Thomas Vachuska | 0a608ac | 2014-10-16 11:15:59 -0700 | [diff] [blame] | 58 | } |