Scott Baker | beb128a | 2017-08-21 09:20:04 -0700 | [diff] [blame] | 1 | option legacy="True"; |
| 2 | option kind="addressmanager"; |
| 3 | option name="addressmanager"; |
Matteo Scandolo | de4ef3e | 2017-09-07 09:43:08 -0700 | [diff] [blame] | 4 | option app_label = "addressmanager"; |
Scott Baker | beb128a | 2017-08-21 09:20:04 -0700 | [diff] [blame] | 5 | |
| 6 | message AddressManagerService (Service){ |
| 7 | option verbose_name="Address Manager Service"; |
| 8 | } |
| 9 | |
| 10 | message AddressManagerServiceInstance (ServiceInstance){ |
Matteo Scandolo | de4ef3e | 2017-09-07 09:43:08 -0700 | [diff] [blame] | 11 | option verbose_name="Address Manager Service Instance"; |
| 12 | optional string public_ip = 1 [db_index = False, max_length = 30, null = True, content_type = "stripped", blank = True]; |
| 13 | optional string public_mac = 2 [db_index = False, max_length = 30, null = True, content_type = "stripped", blank = True]; |
| 14 | optional manytoone address_pool->AddressPool:address_manager_service_instances = 3 [db_index = True, null = True, blank = True]; |
Scott Baker | beb128a | 2017-08-21 09:20:04 -0700 | [diff] [blame] | 15 | } |