blob: 14206ac00dcb6bb62e7cc0671c6f2daa57fd0584 [file] [log] [blame]
Matteo Scandolo1c049b02018-01-18 11:32:46 -08001option app_label = "progran";
2option name = "progran";
3option legacy = "True";
4
5message ProgranService (Service){
6 option verbose_name = "Progran Service";
7 required string onos_address = 1 [help_text = "Address of the progran ONOS", default = "onos-progran", max_length = 254, null = False, db_index = False, blank = False];
8 required string onos_port = 2 [help_text = "Port of the progran ONOS", default = "8183", max_length = 254, null = False, db_index = False, blank = False];
9 required string onos_username = 3 [help_text = "Username of the progran ONOS", default = "karaf", max_length = 254, null = False, db_index = False, blank = False];
10 required string onos_password = 4 [help_text = "Password of the progran ONOS", default = "karaf", max_length = 254, null = False, db_index = False, blank = False];
11}
12
13message ENodeB (XOSBase){
14 option verbose_name = "eNodeB";
15 required string description = 1 [db_index = False, max_length = 256, null = False, blank = False];
16 required string enbId = 2 [help_text = "ID of this enodeb", db_index = False, max_length = 256, null = False, blank = False];
17 required string ipAddr = 3 [help_text = "IP address of this enodeb", db_index = False, max_length = 256, null = False, blank = False];
18}
19
20message Handover (XOSBase){
21 option verbose_name = "Handover";
22 required int32 A3offset = 1 [default = 2, db_index = False, null = False, blank = False];
23 required int32 HysteresisA3 = 2 [default = 1, db_index = False, null = False, blank = False];
24 required int32 A3TriggerQuantity = 3 [default = 0, db_index = False, null = False, blank = False];
25 required int32 A5TriggerType = 4 [default = 0, db_index = False, null = False, blank = False];
26 required int32 A5Thresh1Rsrp = 5 [default = -97, db_index = False, null = False, blank = False];
27 required int32 A5Thresh1Rsrq = 6 [default = -10, db_index = False, null = False, blank = False];
28 required int32 A5Thresh2Rsrp = 7 [default = -95, db_index = False, null = False, blank = False];
29 required int32 A5Thresh2Rsrq = 8 [default = -8, db_index = False, null = False, blank = False];
30 required int32 HysteresisA5 = 9 [default = 1, db_index = False, null = False, blank = False];
31 required int32 A5TriggerQuantity = 10 [default = 0, db_index = False, null = False, blank = False];
32}
33
34message ProgranServiceInstance (ServiceInstance){
35 option verbose_name = "Progran Service Instance";
36 option description = "Represent a Profile in the Progran ONOS Application";
37
38 required string DlSchedType = 1 [default = "vm", choices = "(('RR', 'Round Robin'),)", max_length = 30, blank = False, null = False, db_index = False];
39 required int32 DlAllocRBRate = 2 [db_index = False, null = False, blank = False];
40 required string UlSchedType = 3 [default = "vm", choices = "(('RR', 'Round Robin'),)", max_length = 30, blank = False, null = False, db_index = False];
41 required int32 UlAllocRBRate = 4 [db_index = False, null = False, blank = False];
42 required string start = 5 [content_type = "date", null = False, blank = True];
43 required string end = 6 [content_type = "date", null = False, blank = True];
44 required string AdmControl = 7 [default = "0", choices = "(('0', 'ALL'), ('1', 'Voice Only'), ('2', 'Data Only'))", max_length = 1, blank = False, null = False, db_index = False];
45 required int32 CellIndividualOffset = 8 [db_index = False, null = False, blank = False];
46 required manytoone enodeb->ENodeB:profiles = 9 [db_index = True, null = False, blank = False];
47 required manytoone handover->Handover:profiles = 10 [db_index = True, null = True, blank = False];
48}
49
50