From 7d6875cf7064f5cb851da7ac76f5cb57fbf9d42c Mon Sep 17 00:00:00 2001 From: Jian Li Date: Tue, 27 Jun 2017 07:25:12 +0900 Subject: [PATCH] [ONOS-6687] Add ApplicationRole enum type in protobuf model Change-Id: I10919eeffbc57f6ca75a58e4c6a3ceecff780f1f --- .../src/main/proto/app/ApplicationEnumsProto.proto | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/incubator/protobuf/models/src/main/proto/app/ApplicationEnumsProto.proto b/incubator/protobuf/models/src/main/proto/app/ApplicationEnumsProto.proto index a61e0466a2..4815561185 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 @@ enum ApplicationStateProto { 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... +}