The openstack_dashboard.dashboards.project.images.images.forms ModuleΒΆ

Views for managing images.

class openstack_dashboard.dashboards.project.images.images.forms.CreateImageForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

CreateImageForm.base_fields = {'name': <django.forms.fields.CharField object at 0x975a6d0>, 'description': <django.forms.fields.CharField object at 0x975a8d0>, 'source_type': <django.forms.fields.ChoiceField object at 0x975aad0>, 'copy_from': <django.forms.fields.CharField object at 0x975ac90>, 'image_file': <django.forms.fields.FileField object at 0x975aed0>, 'disk_format': <django.forms.fields.ChoiceField object at 0x9757050>, 'architecture': <django.forms.fields.CharField object at 0x9757110>, 'minimum_disk': <django.forms.fields.IntegerField object at 0x9757290>, 'minimum_ram': <django.forms.fields.IntegerField object at 0x9757410>, 'is_public': <django.forms.fields.BooleanField object at 0x9757550>, 'protected': <django.forms.fields.BooleanField object at 0x9757610>}
CreateImageForm.clean()[source]
CreateImageForm.handle(request, data)[source]
CreateImageForm.media
class openstack_dashboard.dashboards.project.images.images.forms.UpdateImageForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

UpdateImageForm.base_fields = {'image_id': <django.forms.fields.CharField object at 0x9757750>, 'name': <django.forms.fields.CharField object at 0x9757850>, 'description': <django.forms.fields.CharField object at 0x97579d0>, 'kernel': <django.forms.fields.CharField object at 0x9757ad0>, 'ramdisk': <django.forms.fields.CharField object at 0x9757c10>, 'architecture': <django.forms.fields.CharField object at 0x9757d50>, 'disk_format': <django.forms.fields.CharField object at 0x9757e50>, 'public': <django.forms.fields.BooleanField object at 0x9757f10>, 'protected': <django.forms.fields.BooleanField object at 0x9757fd0>}
UpdateImageForm.handle(request, data)[source]
UpdateImageForm.media

Previous topic

The openstack_dashboard.dashboards.project.images.images.urls Module

Next topic

The openstack_dashboard.dashboards.project.images.images.views Module

This Page