Matteo Scandolo | 7529882 | 2018-05-22 11:25:42 -0700 | [diff] [blame] | 1 | option name = "hippie-oss"; |
| 2 | option app_label = "hippie-oss"; |
| 3 | |
| 4 | message HippieOSSService (Service){ |
| 5 | option verbose_name = "HippieOSS Service"; |
| 6 | option kind = "OSS"; |
| 7 | } |
| 8 | |
| 9 | message HippieOSSServiceInstance (ServiceInstance){ |
| 10 | option owner_class_name = "HippieOSSService"; |
| 11 | option verbose_name = "HippieOSS Service Instance"; |
| 12 | |
| 13 | required bool valid = 1 [help_text = "Wether this ONU has been validated by the external OSS", default = False, null = False, db_index = False, blank = False]; |
| 14 | required string serial_number = 2 [max_length = 254, null = False, db_index = False, blank = False, tosca_key=True, unique = True]; |
| 15 | required int32 uni_port_id = 3 [null = False, db_index = False, blank = False]; |
| 16 | required string of_dpid = 4 [max_length = 254, null = False, db_index = False, blank = False]; |
| 17 | optional int32 c_tag = 4 [null = True, db_index = False, blank = False, unique = True, feedback_state = True]; |
| 18 | } |