Jian Li | 1025bdb | 2017-06-27 07:22:14 +0900 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | option java_package = "org.onosproject.grpc.app.models"; |
| 3 | |
| 4 | package app; |
| 5 | |
| 6 | enum ApplicationStateProto { |
| 7 | // Indicates that application has been installed, but is not running. |
| 8 | INSTALLED = 0; |
| 9 | // Indicates that application is active. |
| 10 | ACTIVE = 1; |
Jian Li | 7d6875c | 2017-06-27 07:25:12 +0900 | [diff] [blame] | 11 | } |
| 12 | |
| 13 | enum ApplicationRoleProto { |
| 14 | // Indicates that an application has an ADMIN role. |
| 15 | ADMIN = 0; |
| 16 | // Indicates that an application has a USER role. |
| 17 | USER = 1; |
| 18 | // Indicates that an application role has not been specified. |
| 19 | UNSPECIFIED = 2; |
| 20 | |
| 21 | // More useful roles may be defined... |
| 22 | } |