Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 1 | option app_label = "progran"; |
| 2 | option name = "progran"; |
| 3 | option legacy = "True"; |
| 4 | |
| 5 | message 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 | |
| 13 | message 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 Scandolo | 830403a | 2018-02-05 10:51:59 -0800 | [diff] [blame] | 18 | 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 Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | message Handover (XOSBase){ |
| 23 | option verbose_name = "Handover"; |
Matteo Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 24 | 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 Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 26 | 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 Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 28 | 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 Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 32 | 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 Scandolo | 830403a | 2018-02-05 10:51:59 -0800 | [diff] [blame] | 34 | optional string created_by = 11 [null = True, blank = True, gui_hidden = True]; |
Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | message ProgranServiceInstance (ServiceInstance){ |
| 38 | option verbose_name = "Progran Service Instance"; |
| 39 | option description = "Represent a Profile in the Progran ONOS Application"; |
Scott Baker | 3102dd6 | 2018-03-02 10:53:46 -0800 | [diff] [blame] | 40 | option owner_class_name="ProgranService"; |
Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 41 | |
Matteo Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 42 | 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 Scandolo | 6b607c8 | 2018-01-30 09:12:26 -0800 | [diff] [blame] | 46 | required string start = 5 [content_type = "date", null = True, blank = True]; |
| 47 | required string end = 6 [content_type = "date", null = True, blank = True]; |
Matteo Scandolo | ad7f3b4 | 2018-01-30 16:41:19 -0800 | [diff] [blame] | 48 | required int32 AdmControl = 7 [default = "0", choices = "(('0', 'ALL'), ('1', 'Voice Only'), ('2', 'Data Only'))", blank = False, null = False, db_index = False]; |
Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 49 | required int32 CellIndividualOffset = 8 [db_index = False, null = False, blank = False]; |
Matteo Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 50 | 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 Scandolo | 6b607c8 | 2018-01-30 09:12:26 -0800 | [diff] [blame] | 52 | required int32 DlWifiRate = 11 [default = 100, db_index = False, null = False, blank = False]; |
Matteo Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 53 | required int32 DlUeAllocRbRate = 12 [default = "0", help_text = "DL Per UE allocation", db_index = False, null = True, blank = True]; |
Matteo Scandolo | 6b607c8 | 2018-01-30 09:12:26 -0800 | [diff] [blame] | 54 | required string SubsProfile = 13 [ db_index = False, null = True, blank = True]; |
Matteo Scandolo | c1102a5 | 2018-02-01 17:26:04 -0800 | [diff] [blame] | 55 | 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 Scandolo | 830403a | 2018-02-05 10:51:59 -0800 | [diff] [blame] | 59 | 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 Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | |