Пример #1
0
 def update_flavor_access(self, update_button, row):
     update_button.click()
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.UPDATE_FLAVOR_FORM_FIELDS,
         default_tab=1)
Пример #2
0
 def update_flavor_info(self, edit_button, row):
     edit_button.click()
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.UPDATE_FLAVOR_FORM_FIELDS
     )
Пример #3
0
 def create_flavor(self, create_button):
     create_button.click()
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.CREATE_FLAVOR_FORM_FIELDS
     )
 def launch_instance(self, launch_button):
     launch_button.click()
     # print launch_button
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.CREATE_INSTANCE_FORM_FIELDS)
Пример #5
0
 def create_host_aggregate(self, create_button):
     create_button.click()
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.CREATE_HOST_AGGREGATE_FORM_FIELDS)
Пример #6
0
 def create_network(self, create_button):
     create_button.click()
     return forms.TabbedFormRegion(self.driver, self.conf,
                                   self.CREATE_NETWORK_FORM_FIELDS)
 def create_flavor_form(self):
     return forms.TabbedFormRegion(self.driver, self.conf, None,
                                   self.CREATE_FLAVOR_FORM_FIELDS)
Пример #8
0
 def create_project_form(self):
     return forms.TabbedFormRegion(self.driver, self.conf, None,
                                   self.CREATE_PROJECT_FORM_FIELDS)
Пример #9
0
 def launch_instance(self, launch_instance, row):
     launch_instance.click()
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.LAUNCH_INSTANCE_FROM_FIELDS)
Пример #10
0
 def create_project(self, create_button):
     create_button.click()
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.CREATE_PROJECT_FORM_FIELDS)
 def create_instance_form(self):
     return forms.TabbedFormRegion(self.driver, self.conf, None,
                                   self.CREATE_INSTANCE_FORM_FIELDS)
Пример #12
0
 def update(self, update_button):
     update_button.click()
     return forms.TabbedFormRegion(self.driver, self.conf,
                                   self.UPDATE_DEFAULTS_FORM_FIELDS)
Пример #13
0
 def get_launch_on_exists_form(self, button, row):
     button.click()
     return forms.TabbedFormRegion(
         self.driver,
         self.conf,
         field_mappings=self.LAUNCH_ON_EXIST_CLUSTER_FIELD_MAPPING)
Пример #14
0
 def get_create_form(self, button):
     button.click()
     return forms.TabbedFormRegion(self.driver,
                                   self.conf,
                                   field_mappings=self.CREATE_FIELD_MAPPING)
 def create_form(self):
     return forms.TabbedFormRegion(self.driver,
                                   self.conf,
                                   field_mappings=CREATE_FIELD_MAPPING)
 def get_edit_form(self, button, row):
     button.click()
     return forms.TabbedFormRegion(self.driver,
                                   self.conf,
                                   field_mappings=CREATE_FIELD_MAPPING)