blob: 9565da2749061a1239421e966124170f8397ec8a [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
16 optional manytoone flavor->Flavor:openstackinstance = 1 [null = True, db_index = True, blank = True, help_text = "Flavor of this instance"];
17 optional manytoone node->Node:openstackinstances = 2 [db_index = True, null = True, blank = True, help_text = "Node on which to deploy this instance"];
18
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