The openstack_dashboard.contrib.trove.content.database_clusters.forms ModuleΒΆ

class openstack_dashboard.contrib.trove.content.database_clusters.forms.AddShardForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb42d7bd0>), ('num_shards', <django.forms.fields.IntegerField object at 0x7fdfb42d7550>), ('num_instances', <django.forms.fields.IntegerField object at 0x7fdfb42d7e50>), ('cluster_id', <django.forms.fields.CharField object at 0x7fdfb42d7850>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb42d7bd0>), ('num_shards', <django.forms.fields.IntegerField object at 0x7fdfb42d7550>), ('num_instances', <django.forms.fields.IntegerField object at 0x7fdfb42d7e50>), ('cluster_id', <django.forms.fields.CharField object at 0x7fdfb42d7850>)])
handle(request, data)[source]
media
class openstack_dashboard.contrib.trove.content.database_clusters.forms.LaunchForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3a7d110>), ('datastore', <django.forms.fields.ChoiceField object at 0x7fdfb587bf10>), ('mongodb_flavor', <django.forms.fields.ChoiceField object at 0x7fdfb587b710>), ('vertica_flavor', <django.forms.fields.ChoiceField object at 0x7fdfb587b990>), ('network', <django.forms.fields.ChoiceField object at 0x7fdfb587bbd0>), ('volume', <django.forms.fields.IntegerField object at 0x7fdfb587ba90>), ('root_password', <django.forms.fields.CharField object at 0x7fdfb587b590>), ('num_instances_vertica', <django.forms.fields.IntegerField object at 0x7fdfb4479b10>), ('num_shards', <django.forms.fields.IntegerField object at 0x7fdfb44794d0>), ('num_instances_per_shards', <django.forms.fields.IntegerField object at 0x7fdfb42d7690>)])
clean()[source]
datastore_flavors(*args, **kwargs)[source]
datastore_versions(*args, **kwargs)[source]
datastores(*args, **kwargs)[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb3a7d110>), ('datastore', <django.forms.fields.ChoiceField object at 0x7fdfb587bf10>), ('mongodb_flavor', <django.forms.fields.ChoiceField object at 0x7fdfb587b710>), ('vertica_flavor', <django.forms.fields.ChoiceField object at 0x7fdfb587b990>), ('network', <django.forms.fields.ChoiceField object at 0x7fdfb587bbd0>), ('volume', <django.forms.fields.IntegerField object at 0x7fdfb587ba90>), ('root_password', <django.forms.fields.CharField object at 0x7fdfb587b590>), ('num_instances_vertica', <django.forms.fields.IntegerField object at 0x7fdfb4479b10>), ('num_shards', <django.forms.fields.IntegerField object at 0x7fdfb44794d0>), ('num_instances_per_shards', <django.forms.fields.IntegerField object at 0x7fdfb42d7690>)])
filter_cluster_datastores(request)[source]
handle(*func_args, **func_kwargs)[source]
media
mongodb_fields = [('mongodb_flavor', <django.utils.functional.__proxy__ object at 0x7fdfb42d7390>), ('num_shards', <django.utils.functional.__proxy__ object at 0x7fdfb42d7d10>), ('num_instances_per_shards', <django.utils.functional.__proxy__ object at 0x7fdfb42d72d0>)]
populate_datastore_choices(request)[source]
populate_flavor_choices(request)[source]
populate_network_choices(*args, **kwargs)[source]
vertica_fields = [('num_instances_vertica', 'Number of Instances'), ('vertica_flavor', <django.utils.functional.__proxy__ object at 0x7fdfb42d71d0>), ('root_password', <django.utils.functional.__proxy__ object at 0x7fdfb42d7e10>)]
class openstack_dashboard.contrib.trove.content.database_clusters.forms.ResetPasswordForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('cluster_id', <django.forms.fields.CharField object at 0x7fdfb42d7710>), ('password', <django.forms.fields.CharField object at 0x7fdfb42d7c50>)])
declared_fields = OrderedDict([('cluster_id', <django.forms.fields.CharField object at 0x7fdfb42d7710>), ('password', <django.forms.fields.CharField object at 0x7fdfb42d7c50>)])
handle(*func_args, **func_kwargs)[source]
media

Previous topic

The openstack_dashboard.contrib.trove.content.database_clusters.panel Module

Next topic

The openstack_dashboard.contrib.trove.content.database_clusters Module

Project Source

This Page