-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathonos.xproto
More file actions
51 lines (47 loc) · 1.8 KB
/
onos.xproto
File metadata and controls
51 lines (47 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
option app_label = "onos";
option name="onos";
option legacy="True";
message ONOSApp (ServiceInstance){
option verbose_name="ONOS Application";
option owner_class_name="ONOSService";
option description = "An individual application within the ONOS Service";
option sync_implemented = "True";
required string app_id = 1 [
help_text="Application identifier",
content_type = "stripped",
max_length = 256];
optional string dependencies = 2 [
help_text="Comma separated list of required application application ids",
content_type = "stripped",
max_length = 1024];
optional string url = 3 [
help_text="URL at which the application is available, if it needs to be downloaded",
content_type = "stripped",
max_length = 1024];
optional string version = 4 [
help_text="Application version number",
content_type = "stripped",
max_length = 256];
}
message ONOSService (Service){
option verbose_name="ONOS Service";
option description = "Manages ONOS Applications contained within the ONOS Service";
option sync_implemented = "True";
required string rest_hostname = 1 [
help_text = "Hostname of ONOS Service REST endpoint",
content_type = "stripped",
max_length = 256];
required int32 rest_port = 2 [
help_text = "Port numnber of ONOS Service REST endpoint",
default = 8181];
required string rest_username = 3 [
help_text = "Username to use when authenticating to ONOS",
content_type = "stripped",
default="karaf",
max_length = 256];
required string rest_password = 4 [
help_text = "Password to use when authenticating to ONOS",
content_type = "stripped",
default="karaf",
max_length = 256];
}