blob: 59812c1bc2627a614c47e608914a87660137a0c9 [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";
Scott Baker96d74f72019-01-24 10:57:09 -08006 option description = "Service that manages OpenStack compute resources";
Scott Baker62c7eaf2018-05-22 15:59:26 -07007
Scott Baker96d74f72019-01-24 10:57:09 -08008 optional string auth_url = 1 [
9 help_text = "Auth url for the OpenStack controller",
10 blank = True,
11 content_type = "stripped",
12 db_index = False,
13 max_length = 200,
14 null = True];
15 optional string admin_user = 2 [
16 help_text = "Username of an admin user at this OpenStack",
17 max_length = 200,
18 blank = True,
19 content_type = "stripped",
20 db_index = False,
21 null = True];
22 optional string admin_password = 3 [
23 help_text = "Password of theadmin user at this OpenStack",
24 blank = True,
25 content_type = "stripped",
26 db_index = False,
27 max_length = 200,
28 null = True];
29 optional string admin_tenant = 4 [
30 help_text = "Name of the tenant the admin user belongs to",
31 blank = True,
32 content_type = "stripped",
33 db_index = False,
34 max_length = 200,
35 null = True];
Scott Baker62c7eaf2018-05-22 15:59:26 -070036}
37
38message OpenStackServiceInstance (ComputeServiceInstance){
39 option verbose_name = "OpenStack Service Instance";
Scott Baker96d74f72019-01-24 10:57:09 -080040 option description = "A ComputeServiceInstance in OpenStack, usually in the form of a virtual machine";
Scott Baker62c7eaf2018-05-22 15:59:26 -070041
Scott Baker96d74f72019-01-24 10:57:09 -080042 optional manytoone flavor->Flavor:openstackinstance = 1:1003 [
43 help_text = "Flavor of this instance",
44 blank = True,
45 db_index = True,
46 null = True];
47 optional manytoone node->Node:openstackinstances = 2:1005 [
48 help_text = "Node on which to deploy this instance",
49 blank = True,
50 db_index = True,
51 null = True];
Scott Baker62c7eaf2018-05-22 15:59:26 -070052
Scott Baker96d74f72019-01-24 10:57:09 -080053 optional string admin_password = 3 [
54 help_text = "Admin password for instance",
55 blank = True,
56 content_type = "stripped",
57 db_index = False,
58 max_length = 200,
59 null = True];
Scott Baker62c7eaf2018-05-22 15:59:26 -070060}
61
62