blob: 041d7e4189d5867f8fea6915a10570411332fc1f [file] [log] [blame]
option app_label = "onos";
option name="onos";
option legacy="True";
message ONOSApp (ServiceInstance){
option verbose_name="ONOS Application";
option owner_class_name="ONOSService";
required string app_id = 1 [db_index = False, null = False, blank = False];
required string dependencies = 2 [help_text="Comma separated list of required applications", db_index = False, null = True, blank = True];
optional string url = 3 [help_text="URL at which the application is available, if it needs to be downloaded", db_index = False, null = True, blank = False];
optional string version = 4 [db_index = False, null = True, blank = False];
}
message ONOSService (Service){
option verbose_name="ONOS Service";
required string rest_hostname = 1 [db_index = False, max_length = 255, null = False, content_type = "stripped", blank = False];
required int32 rest_port = 2 [default = 8181, null = False, db_index = False, blank = False];
required string rest_username = 3 [db_index = False, max_length = 255, null = False, content_type = "stripped", blank = False, default="karaf"];
required string rest_password = 4 [db_index = False, max_length = 255, null = False, content_type = "stripped", blank = False, default="karaf"];
}