blob: 47e21db0390ec0cad8ab8944512fff105d76514a [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];
Matteo Scandolo830403a2018-02-05 10:51:59 -080018 optional string created_by = 4 [null = True, blank = True, gui_hidden = True];
19 optional bool previously_sync = 5 [null = False, blank = True, default=False, gui_hidden = True];
Matteo Scandolo1c049b02018-01-18 11:32:46 -080020}
21
22message Handover (XOSBase){
23 option verbose_name = "Handover";
Matteo Scandolof6b6ed22018-02-13 15:27:21 -080024 required int32 A3offset = 1 [default = 1, db_index = False, null = False, blank = False];
25 required int32 HysteresisA3 = 2 [default = 0, db_index = False, null = False, blank = False];
Matteo Scandolo1c049b02018-01-18 11:32:46 -080026 required int32 A3TriggerQuantity = 3 [default = 0, db_index = False, null = False, blank = False];
27 required int32 A5TriggerType = 4 [default = 0, db_index = False, null = False, blank = False];
Matteo Scandolof6b6ed22018-02-13 15:27:21 -080028 required int32 A5Thresh1Rsrp = 5 [default = 74, db_index = False, null = False, blank = False];
29 required int32 A5Thresh1Rsrq = 6 [default = 10, db_index = False, null = False, blank = False];
30 required int32 A5Thresh2Rsrp = 7 [default = 78, db_index = False, null = False, blank = False];
31 required int32 A5Thresh2Rsrq = 8 [default = 10, db_index = False, null = False, blank = False];
Matteo Scandolo1c049b02018-01-18 11:32:46 -080032 required int32 HysteresisA5 = 9 [default = 1, db_index = False, null = False, blank = False];
33 required int32 A5TriggerQuantity = 10 [default = 0, db_index = False, null = False, blank = False];
Matteo Scandolo830403a2018-02-05 10:51:59 -080034 optional string created_by = 11 [null = True, blank = True, gui_hidden = True];
Matteo Scandolo1c049b02018-01-18 11:32:46 -080035}
36
37message ProgranServiceInstance (ServiceInstance){
38 option verbose_name = "Progran Service Instance";
39 option description = "Represent a Profile in the Progran ONOS Application";
Scott Baker3102dd62018-03-02 10:53:46 -080040 option owner_class_name="ProgranService";
Matteo Scandolo1c049b02018-01-18 11:32:46 -080041
Matteo Scandolof6b6ed22018-02-13 15:27:21 -080042 required string DlSchedType = 1 [default = "RR", choices = "(('RR', 'Round Robin'), ('PF', 'Proportional Fairness'), ('MAXCI', 'Maximum C/I'))", max_length = 30, blank = False, null = False, db_index = False];
43 required int32 DlAllocRBRate = 2 [default = "0", db_index = False, null = False, blank = False];
44 required string UlSchedType = 3 [default = "RR", choices = "(('RR', 'Round Robin'), ('PF', 'Proportional Fairness'), ('MAXCI', 'Maximum C/I'))", max_length = 30, blank = False, null = False, db_index = False];
45 required int32 UlAllocRBRate = 4 [default = "0", db_index = False, null = False, blank = False];
Matteo Scandolo6b607c82018-01-30 09:12:26 -080046 required string start = 5 [content_type = "date", null = True, blank = True];
47 required string end = 6 [content_type = "date", null = True, blank = True];
Matteo Scandoload7f3b42018-01-30 16:41:19 -080048 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 -080049 required int32 CellIndividualOffset = 8 [db_index = False, null = False, blank = False];
Matteo Scandolof6b6ed22018-02-13 15:27:21 -080050 required string mmeip = 9 [db_index = False, default = "0.0.0.0", max_length = 256, null = False, blank = False];
51 required string mmeport = 10 [db_index = False, default = "8080", max_length = 256, null = False, blank = False];
Matteo Scandolo6b607c82018-01-30 09:12:26 -080052 required int32 DlWifiRate = 11 [default = 100, db_index = False, null = False, blank = False];
Matteo Scandolof6b6ed22018-02-13 15:27:21 -080053 required int32 DlUeAllocRbRate = 12 [default = "0", help_text = "DL Per UE allocation", db_index = False, null = True, blank = True];
Matteo Scandolo6b607c82018-01-30 09:12:26 -080054 required string SubsProfile = 13 [ db_index = False, null = True, blank = True];
Matteo Scandoloc1102a52018-02-01 17:26:04 -080055 optional bool Status = 14 [ db_index = False, null = False, blank = True, default = False];
56 optional manytoone enodeb->ENodeB:profiles = 15 [null = True, blank = True];
57 required manytoone handover->Handover:profiles = 16 [null = False, blank = False];
58 optional int32 active_enodeb_id = 17 [null = True, blank = True, gui_hidden = True];
Matteo Scandolo830403a2018-02-05 10:51:59 -080059 optional string created_by = 17 [null = True, blank = True, gui_hidden = True];
60 optional bool previously_sync = 18 [null = False, blank = True, default=False, gui_hidden = True];
Matteo Scandolo1c049b02018-01-18 11:32:46 -080061}
62
63