Permalink
Cannot retrieve contributors at this time
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]; | |
} |