Andy Bavier | 03df22b | 2017-08-30 14:46:02 -0700 | [diff] [blame] | 1 | option name = "volt"; |
Matteo Scandolo | bfc3133 | 2018-03-29 09:06:52 -0700 | [diff] [blame] | 2 | option app_label = "volt"; |
Andy Bavier | 03df22b | 2017-08-30 14:46:02 -0700 | [diff] [blame] | 3 | |
| 4 | message VOLTService (Service){ |
Matteo Scandolo | 4347381 | 2018-03-02 10:55:54 -0800 | [diff] [blame] | 5 | option verbose_name = "vOLT Service"; |
| 6 | option kind = "vOLT"; |
Scott Baker | 2108e75 | 2019-01-17 07:00:32 -0800 | [diff] [blame] | 7 | option description = "OLT Access Service"; |
Scott Baker | 48a4f45 | 2019-05-31 17:58:21 -0700 | [diff] [blame] | 8 | option custom_python = "True"; |
Matteo Scandolo | 4a8b4d6 | 2018-03-06 17:18:46 -0800 | [diff] [blame] | 9 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 10 | required string voltha_url = 1 [ |
| 11 | help_text = "The Voltha API address. By default voltha.voltha.svc.cluster.local", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 12 | default = "voltha.voltha.svc.cluster.local", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 13 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 14 | required int32 voltha_port = 2 [ |
| 15 | help_text = "The Voltha API port. By default 8882", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 16 | default = 8882]; |
| 17 | required string voltha_user = 3 [ |
| 18 | help_text = "The Voltha username. By default voltha", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 19 | default = "voltha", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 20 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 21 | required string voltha_pass = 4 [ |
| 22 | help_text = "The Voltha password. By default admin", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 23 | default = "admin", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 24 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 25 | required string onos_voltha_url = 5 [ |
| 26 | help_text = "The ONOS Voltha address. By default onos-voltha-ui.voltha.svc.cluster.local", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 27 | default = "onos-voltha-ui.voltha.svc.cluster.local", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 28 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 29 | required int32 onos_voltha_port = 6 [ |
| 30 | help_text = "The Voltha API port. By default 8181", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 31 | default = 8181]; |
| 32 | required string onos_voltha_user = 7 [ |
| 33 | help_text = "The ONOS Voltha username. By default sdn", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 34 | max_length = 256, |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 35 | default = "onos"]; |
| 36 | required string onos_voltha_pass = 8 [ |
| 37 | help_text = "The ONOS Voltha password. By default rocks", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 38 | max_length = 256, |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 39 | default = "rocks"]; |
Andy Bavier | 03df22b | 2017-08-30 14:46:02 -0700 | [diff] [blame] | 40 | } |
| 41 | |
Matteo Scandolo | 4a8b4d6 | 2018-03-06 17:18:46 -0800 | [diff] [blame] | 42 | message OLTDevice (XOSBase){ |
| 43 | option verbose_name = "OLT Device"; |
| 44 | option description="Represents a physical OLT device"; |
Scott Baker | 48a4f45 | 2019-05-31 17:58:21 -0700 | [diff] [blame] | 45 | option custom_python = "True"; |
vigneshethiraj | 8b16367 | 2019-06-04 18:55:19 +0530 | [diff] [blame] | 46 | option sync_implemented = "True"; |
Andy Bavier | 03df22b | 2017-08-30 14:46:02 -0700 | [diff] [blame] | 47 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 48 | required manytoone volt_service->VOLTService:volt_devices = 1:1001 [ |
| 49 | help_text = "VOLTService that owns this OLT", |
| 50 | db_index = True]; |
| 51 | optional string name = 2 [ |
| 52 | help_text = "Human-readable name of device", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 53 | max_length = 256, |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 54 | unique = True]; |
| 55 | required string device_type = 3 [ |
| 56 | help_text = "Phyiscal Device Type", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 57 | default = "openolt", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 58 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 59 | optional string host = 4 [ |
| 60 | help_text = "IP Address of physical OLT Device", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 61 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 62 | optional int32 port = 5 [ |
| 63 | help_text = "Port Number of physical OLT Device", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 64 | unique_with = "host"]; |
| 65 | optional string mac_address = 6 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 66 | help_text = "MAC address of physical OLT Device", |
| 67 | max_length = 17]; |
Matteo Scandolo | 4a8b4d6 | 2018-03-06 17:18:46 -0800 | [diff] [blame] | 68 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 69 | optional string serial_number = 9 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 70 | help_text = "Serial Number", |
| 71 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 72 | optional string device_id = 10 [ |
| 73 | help_text = "Voltha Device ID", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 74 | feedback_state = True, |
| 75 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 76 | optional string admin_state = 11 [ |
| 77 | help_text = "admin state, whether OLT should be enabled", |
| 78 | choices = "(('DISABLED', 'DISABLED'), ('ENABLED', 'ENABLED'))", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 79 | default = "ENABLED", |
| 80 | max_length = 32]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 81 | optional string oper_status = 12 [ |
| 82 | help_text = "operational status, whether OLT is active", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 83 | feedback_state = True, |
| 84 | max_length = 256]; |
Scott Baker | 1268773 | 2019-03-19 15:40:57 -0700 | [diff] [blame] | 85 | optional string link_status = 21 [ |
| 86 | help_text = "connectivity status, whether OLT has connectivity to agg switch", |
| 87 | choices = "(('up', 'up'), ('down', 'down'))", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 88 | feedback_state = True, |
| 89 | max_length = 32]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 90 | optional string of_id = 13 [ |
| 91 | help_text = "Logical device openflow id", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 92 | feedback_state = True, |
| 93 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 94 | optional string dp_id = 14 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 95 | help_text = "Logical device datapath id", |
| 96 | max_length = 256]; |
Matteo Scandolo | 4a8b4d6 | 2018-03-06 17:18:46 -0800 | [diff] [blame] | 97 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 98 | required string uplink = 15 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 99 | help_text = "uplink port, exposed via sadis", |
| 100 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 101 | required string driver = 16 [ |
| 102 | help_text = "DEPRECATED", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 103 | default = "voltha", |
| 104 | max_length = 32]; // Used to be sent to ONOS, now unused. |
Matteo Scandolo | d3c768d | 2018-04-11 13:38:49 -0700 | [diff] [blame] | 105 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 106 | optional string switch_datapath_id = 17 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 107 | help_text = "Fabric switch to which the OLT is connected", |
| 108 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 109 | optional string switch_port = 18 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 110 | help_text = "Fabric port to which the OLT is connected", |
| 111 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 112 | optional string outer_tpid = 19 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 113 | help_text = "Outer VLAN id field EtherType", |
| 114 | max_length = 256]; |
Matteo Scandolo | 610c11d | 2018-08-31 07:33:43 -0700 | [diff] [blame] | 115 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 116 | optional string nas_id = 20 [ |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 117 | help_text = "Authentication ID (propagated to the free-radius server via sadis)", |
| 118 | max_length = 256]; |
Andy Bavier | 03df22b | 2017-08-30 14:46:02 -0700 | [diff] [blame] | 119 | } |
| 120 | |
Matteo Scandolo | 6be6ee9 | 2018-05-24 15:07:51 -0700 | [diff] [blame] | 121 | message PortBase (XOSBase){ |
| 122 | option gui_hidden = True; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 123 | option description = "Base class for Port objects"; |
Matteo Scandolo | 6be6ee9 | 2018-05-24 15:07:51 -0700 | [diff] [blame] | 124 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 125 | required string name = 1 [ |
| 126 | help_text = "Human-readable name of port", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 127 | db_index = True, |
| 128 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 129 | required int32 port_no = 3 [ |
Scott Baker | 3f4816f | 2019-03-12 15:06:01 -0700 | [diff] [blame] | 130 | help_text = "Port Number"]; |
Matteo Scandolo | 6be6ee9 | 2018-05-24 15:07:51 -0700 | [diff] [blame] | 131 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 132 | optional string admin_state = 4 [ |
| 133 | help_text = "admin state, whether port should be enabled", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 134 | // TODO: Should specify "choices" |
| 135 | feedback_state = True, |
| 136 | max_length = 32]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 137 | optional string oper_status = 5 [ |
| 138 | help_text = "operational status, whether port is active", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 139 | // TODO: Should specify "choices" |
| 140 | feedback_state = True, |
| 141 | max_length = 32]; |
Matteo Scandolo | 6be6ee9 | 2018-05-24 15:07:51 -0700 | [diff] [blame] | 142 | } |
| 143 | |
| 144 | message PONPort (PortBase){ |
Matteo Scandolo | 8091294 | 2018-07-25 20:51:30 -0700 | [diff] [blame] | 145 | option verbose_name = "PON Port"; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 146 | option description = "PON Port"; |
Matteo Scandolo | 4a8b4d6 | 2018-03-06 17:18:46 -0800 | [diff] [blame] | 147 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 148 | required manytoone olt_device->OLTDevice:pon_ports = 1:1001 [ |
| 149 | help_text = "OLTDevice that owns this PONPort", |
| 150 | db_index = True]; |
Matteo Scandolo | 6be6ee9 | 2018-05-24 15:07:51 -0700 | [diff] [blame] | 151 | } |
| 152 | |
| 153 | message NNIPort (PortBase) { |
| 154 | option verbose_name = "NNI Port"; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 155 | option description = "NNI Port"; |
| 156 | |
| 157 | required manytoone olt_device->OLTDevice:nni_ports = 1:1002 [ |
| 158 | help_text = "OLTDevice that owns this NNIPort", |
| 159 | db_index = True]; |
Andy Bavier | 03df22b | 2017-08-30 14:46:02 -0700 | [diff] [blame] | 160 | } |
Matteo Scandolo | e2cb8a4 | 2018-05-18 16:30:06 -0700 | [diff] [blame] | 161 | |
| 162 | message ONUDevice (XOSBase){ |
| 163 | option verbose_name = "ONU Device"; |
| 164 | option description = "Represents a physical ONU device"; |
Scott Baker | 48a4f45 | 2019-05-31 17:58:21 -0700 | [diff] [blame] | 165 | option custom_python = "True"; |
vigneshethiraj | 8b16367 | 2019-06-04 18:55:19 +0530 | [diff] [blame] | 166 | option sync_implemented = "True"; |
Matteo Scandolo | e2cb8a4 | 2018-05-18 16:30:06 -0700 | [diff] [blame] | 167 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 168 | required manytoone pon_port->PONPort:onu_devices = 1:1001 [ |
| 169 | help_text = "PONPort that connects this ONUDevice to an OLTDevice", |
| 170 | db_index = True]; |
| 171 | required string serial_number = 2 [ |
| 172 | help_text = "Serial number of ONU Device", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 173 | max_length = 256, |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 174 | tosca_key=True, |
| 175 | unique = True]; |
| 176 | required string vendor = 3 [ |
| 177 | help_text = "Vendor of ONU Device", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 178 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 179 | required string device_type = 4 [ |
| 180 | help_text = "Device Type", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 181 | default = "asfvolt16_olt", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 182 | max_length = 256]; |
Matteo Scandolo | e2cb8a4 | 2018-05-18 16:30:06 -0700 | [diff] [blame] | 183 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 184 | optional string device_id = 5 [ |
| 185 | help_text = "Voltha Device ID", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 186 | feedback_state = True, |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 187 | max_length = 256]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 188 | optional string admin_state = 6 [ |
| 189 | help_text = "admin state, whether port should be enabled", |
Andy Bavier | cd94019 | 2019-05-15 12:59:35 -0700 | [diff] [blame] | 190 | choices = "(('DISABLED', 'DISABLED'), ('ENABLED', 'ENABLED'), ('ADMIN_DISABLED', 'ADMIN_DISABLED'))", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 191 | default = "ENABLED", |
| 192 | max_length = 32]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 193 | optional string oper_status = 7 [ |
| 194 | help_text = "oper_status", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 195 | // TODO: Should add "choices" |
| 196 | feedback_state = True, |
| 197 | max_length = 32]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 198 | optional string connect_status = 8 [ |
| 199 | help_text = "operational status, whether port is active", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 200 | feedback_state = True, |
| 201 | max_length = 32]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 202 | optional string reason = 9 [ |
| 203 | help_text = "ONU device configuration state machine status message", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 204 | feedback_state = True, |
| 205 | text = True]; |
Matteo Scandolo | 2360fd9 | 2018-05-29 17:27:51 -0700 | [diff] [blame] | 206 | } |
| 207 | |
Matteo Scandolo | 915c7b8 | 2019-05-09 16:26:12 -0700 | [diff] [blame] | 208 | message ANIPort (PortBase) { |
Matteo Scandolo | 8091294 | 2018-07-25 20:51:30 -0700 | [diff] [blame] | 209 | option verbose_name = "ANI Port"; |
Scott Baker | 2108e75 | 2019-01-17 07:00:32 -0800 | [diff] [blame] | 210 | option description="Access Node Interface Port"; |
Matteo Scandolo | 915c7b8 | 2019-05-09 16:26:12 -0700 | [diff] [blame] | 211 | required manytoone onu_device->ONUDevice:ani_ports = 1:1001 [ |
| 212 | help_text = "ONUDevice that owns this ANIPort", |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 213 | db_index = True]; |
Matteo Scandolo | d8ed60e | 2018-06-18 17:00:57 -0700 | [diff] [blame] | 214 | } |
| 215 | |
| 216 | message UNIPort (PortBase) { |
| 217 | option verbose_name = "UNI Port"; |
Scott Baker | 2108e75 | 2019-01-17 07:00:32 -0800 | [diff] [blame] | 218 | option description = "User Network Interface Port"; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 219 | required manytoone onu_device->ONUDevice:uni_ports = 1:1002 [ |
| 220 | help_text = "ONUDevice that owns this UNIPort", |
| 221 | db_index = True]; |
Matteo Scandolo | d8ed60e | 2018-06-18 17:00:57 -0700 | [diff] [blame] | 222 | } |
| 223 | |
Matteo Scandolo | 2360fd9 | 2018-05-29 17:27:51 -0700 | [diff] [blame] | 224 | message VOLTServiceInstance (ServiceInstance){ |
| 225 | option kind = "vOLT"; |
| 226 | option owner_class_name = "VOLTService"; |
| 227 | option verbose_name = "vOLT Service Instance"; |
Scott Baker | 2108e75 | 2019-01-17 07:00:32 -0800 | [diff] [blame] | 228 | option description = "Represents subscriber tenancy in the VOLT Service"; |
vigneshethiraj | 8b16367 | 2019-06-04 18:55:19 +0530 | [diff] [blame] | 229 | option policy_implemented = "True"; |
Matteo Scandolo | 2360fd9 | 2018-05-29 17:27:51 -0700 | [diff] [blame] | 230 | |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 231 | optional string description = 1 [ |
| 232 | help_text = "Human-readable description", |
Scott Baker | a108b9c | 2019-04-09 14:13:44 -0700 | [diff] [blame] | 233 | text = True]; |
Scott Baker | 1e04327 | 2019-01-24 08:33:15 -0800 | [diff] [blame] | 234 | optional manytoone onu_device->ONUDevice:volt_service_instances = 2:1003 [ |
| 235 | help_text = "ONUDevice that belongs to this Subscriber chain", |
| 236 | db_index = True]; |
Scott Baker | 6ff7a4a | 2018-10-01 12:19:49 -0700 | [diff] [blame] | 237 | } |
Hardik Windlass | da0d6c4 | 2019-05-13 16:00:01 +0000 | [diff] [blame] | 238 | |
| 239 | message TechnologyProfile (XOSBase) { |
| 240 | option verbose_name = "Technology Profile"; |
| 241 | option description = "The Technology Profile that is utilized by VOLTHA"; |
Scott Baker | 48a4f45 | 2019-05-31 17:58:21 -0700 | [diff] [blame] | 242 | option custom_python = "True"; |
Hardik Windlass | da0d6c4 | 2019-05-13 16:00:01 +0000 | [diff] [blame] | 243 | |
| 244 | required string technology = 1 [ |
| 245 | help_text = "The technology being utilized by the adaptor", |
| 246 | db_index = True, |
Matteo Scandolo | 7bba07b | 2019-06-11 09:34:04 -0700 | [diff] [blame^] | 247 | tosca_key = True, |
Hardik Windlass | da0d6c4 | 2019-05-13 16:00:01 +0000 | [diff] [blame] | 248 | max_length = 16]; |
| 249 | required int32 profile_id = 2 [ |
| 250 | help_text = "The numeric id of the profile", |
| 251 | db_index = True, |
Matteo Scandolo | 7bba07b | 2019-06-11 09:34:04 -0700 | [diff] [blame^] | 252 | tosca_key = True, |
Hardik Windlass | da0d6c4 | 2019-05-13 16:00:01 +0000 | [diff] [blame] | 253 | min_value = 64, |
| 254 | max_value = 255]; |
| 255 | required string profile_value = 3 [ |
| 256 | help_text = "The technology profile value in JSON format", |
| 257 | max_length = 4096]; |
| 258 | } |