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"; |
Woojoong Kim | 61c530d | 2019-09-03 17:11:30 -0700 | [diff] [blame] | 15 | required string description = 1 [tosca_key = True]; |
Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 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]; |
Woojoong Kim | 61c530d | 2019-09-03 17:11:30 -0700 | [diff] [blame] | 35 | optional string name = 12 [tosca_key = True]; |
Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | message ProgranServiceInstance (ServiceInstance){ |
| 39 | option verbose_name = "Progran Service Instance"; |
| 40 | option description = "Represent a Profile in the Progran ONOS Application"; |
Scott Baker | 3102dd6 | 2018-03-02 10:53:46 -0800 | [diff] [blame] | 41 | option owner_class_name="ProgranService"; |
Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 42 | |
Matteo Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 43 | 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]; |
Kailash Khalasi | c223ef7 | 2018-07-17 12:27:40 -0700 | [diff] [blame] | 44 | required int32 DlAllocRBRate = 2 [default = 0, db_index = False, null = False, blank = False]; |
Matteo Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 45 | 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]; |
Kailash Khalasi | c223ef7 | 2018-07-17 12:27:40 -0700 | [diff] [blame] | 46 | 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] | 47 | required string start = 5 [content_type = "date", null = True, blank = True]; |
| 48 | required string end = 6 [content_type = "date", null = True, blank = True]; |
Matteo Scandolo | 0797ed9 | 2019-01-24 13:05:21 -0800 | [diff] [blame] | 49 | required string 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] | 50 | required int32 CellIndividualOffset = 8 [db_index = False, null = False, blank = False]; |
Matteo Scandolo | f6b6ed2 | 2018-02-13 15:27:21 -0800 | [diff] [blame] | 51 | required string mmeip = 9 [db_index = False, default = "0.0.0.0", max_length = 256, null = False, blank = False]; |
| 52 | 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] | 53 | 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] | 54 | 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] | 55 | required string SubsProfile = 13 [ db_index = False, null = True, blank = True]; |
Matteo Scandolo | c1102a5 | 2018-02-01 17:26:04 -0800 | [diff] [blame] | 56 | optional bool Status = 14 [ db_index = False, null = False, blank = True, default = False]; |
| 57 | optional manytoone enodeb->ENodeB:profiles = 15 [null = True, blank = True]; |
| 58 | required manytoone handover->Handover:profiles = 16 [null = False, blank = False]; |
| 59 | optional int32 active_enodeb_id = 17 [null = True, blank = True, gui_hidden = True]; |
Scott Baker | 668b22b | 2018-10-02 11:36:01 -0700 | [diff] [blame] | 60 | optional string created_by = 18 [null = True, blank = True, gui_hidden = True]; |
| 61 | optional bool previously_sync = 19 [null = False, blank = True, default=False, gui_hidden = True]; |
Matteo Scandolo | 1c049b0 | 2018-01-18 11:32:46 -0800 | [diff] [blame] | 62 | } |
| 63 | |
| 64 | |