blob: b7e5c929542a7e4a9dd1b9b701ba783e4967fb84 [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];
Matteo Scandolo6b607c82018-01-30 09:12:26 -080042 required string start = 5 [content_type = "date", null = True, blank = True];
43 required string end = 6 [content_type = "date", null = True, blank = True];
Matteo Scandoload7f3b42018-01-30 16:41:19 -080044 required int32 AdmControl = 7 [default = "0", choices = "(('0', 'ALL'), ('1', 'Voice Only'), ('2', 'Data Only'))", blank = False, null = False, db_index = False];
Matteo Scandolo1c049b02018-01-18 11:32:46 -080045 required int32 CellIndividualOffset = 8 [db_index = False, null = False, blank = False];
Matteo Scandolo6b607c82018-01-30 09:12:26 -080046 required string mmeip = 9 [db_index = False, max_length = 256, null = False, blank = False];
47 required string mmeport = 10 [db_index = False, max_length = 256, null = False, blank = False];
48 required int32 DlWifiRate = 11 [default = 100, db_index = False, null = False, blank = False];
49 required int32 DlUeAllocRbRate = 12 [default = 100, db_index = False, null = False, blank = False];
50 required string SubsProfile = 13 [ db_index = False, null = True, blank = True];
Matteo Scandoloc1102a52018-02-01 17:26:04 -080051 optional bool Status = 14 [ db_index = False, null = False, blank = True, default = False];
52 optional manytoone enodeb->ENodeB:profiles = 15 [null = True, blank = True];
53 required manytoone handover->Handover:profiles = 16 [null = False, blank = False];
54 optional int32 active_enodeb_id = 17 [null = True, blank = True, gui_hidden = True];
Matteo Scandolo1c049b02018-01-18 11:32:46 -080055}
56
57