[ONOS-6687] Add ApplicationRole enum type in protobuf model

Change-Id: I10919eeffbc57f6ca75a58e4c6a3ceecff780f1f
This commit is contained in:
Jian Li 2017-06-27 07:25:12 +09:00 committed by Aaron Kruglikov
parent 1025bdb91c
commit 7d6875cf70

View File

@ -8,4 +8,15 @@ enum ApplicationStateProto {
INSTALLED = 0;
// Indicates that application is active.
ACTIVE = 1;
}
}
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...
}