commit | 7d6875cf7064f5cb851da7ac76f5cb57fbf9d42c | [log] [tgz] |
---|---|---|
author | Jian Li <pyguni@gmail.com> | Tue Jun 27 07:25:12 2017 +0900 |
committer | Aaron Kruglikov <aaron@onlab.us> | Fri Jul 14 18:09:08 2017 +0000 |
tree | be9c7a2ceaf03bcafceeb173d3de29d8ab1e379c | |
parent | 1025bdb91c1ab1d8d693654751f03696612d4c91 [diff] |
[ONOS-6687] Add ApplicationRole enum type in protobuf model Change-Id: I10919eeffbc57f6ca75a58e4c6a3ceecff780f1f
diff --git a/incubator/protobuf/models/src/main/proto/app/ApplicationEnumsProto.proto b/incubator/protobuf/models/src/main/proto/app/ApplicationEnumsProto.proto index a61e046..4815561 100644 --- a/incubator/protobuf/models/src/main/proto/app/ApplicationEnumsProto.proto +++ b/incubator/protobuf/models/src/main/proto/app/ApplicationEnumsProto.proto
@@ -8,4 +8,15 @@ INSTALLED = 0; // Indicates that application is active. ACTIVE = 1; -} \ No newline at end of file +} + +enum ApplicationRoleProto { + // Indicates that an application has an ADMIN role. + ADMIN = 0; + // Indicates that an application has a USER role. + USER = 1; + // Indicates that an application role has not been specified. + UNSPECIFIED = 2; + + // More useful roles may be defined... +}