blob: 2b2a5cca5c7ba014e8a8a4e3d214ebb0817a1e7a [file] [log] [blame]
Scott Baker62c7eaf2018-05-22 15:59:26 -07001option app_label = "openstack";
2option name = "openstack";
3
4message OpenStackService (Service){
5 option verbose_name = "OpenStack Service";
6
7 optional string auth_url = 1 [max_length = 200, content_type = "stripped", blank = True, help_text = "Auth url for the OpenStack controller", null = True, db_index = False];
8 optional string admin_user = 2 [max_length = 200, content_type = "stripped", blank = True, help_text = "Username of an admin user at this OpenStack", null = True, db_index = False];
9 optional string admin_password = 3 [max_length = 200, content_type = "stripped", blank = True, help_text = "Password of theadmin user at this OpenStack", null = True, db_index = False];
10 optional string admin_tenant = 4 [max_length = 200, content_type = "stripped", blank = True, help_text = "Name of the tenant the admin user belongs to", null = True, db_index = False];
11}
12
13message OpenStackServiceInstance (ComputeServiceInstance){
14 option verbose_name = "OpenStack Service Instance";
15
Scott Bakerf007f822018-10-30 10:54:26 -070016 optional manytoone flavor->Flavor:openstackinstance = 1:1003 [null = True, db_index = True, blank = True, help_text = "Flavor of this instance"];
17 optional manytoone node->Node:openstackinstances = 2:1005 [db_index = True, null = True, blank = True, help_text = "Node on which to deploy this instance"];
Scott Baker62c7eaf2018-05-22 15:59:26 -070018
19 optional string admin_password = 3 [max_length = 200, content_type = "stripped", blank = True, help_text = "Admin password for instance", null = True, db_index = False];
20}
21
22