cfme.services.service_catalogs package

Module contents

class cfme.services.service_catalogs.ServiceCatalogs(appliance, catalog=None, name=None, stack_data=None, dialog_values=None, ansible_dialog_values=None)[source]

Bases: cfme.utils.appliance.Navigatable, cfme.common.WidgetasticTaggable, cfme.utils.update.Updateable, sentaku.modeling.ElementMixin

Service Catalogs main class to context switch between ui and ssui. All the below methods are implemented in both ui and ssui side .

add_to_shopping_cart

descriptor for implementing context sensitive methods and registration of their implementations

class Example(Element):
    action = ContextualMethod()
    @action.implemented_for("db")
    def action(self):
        pass

   @action.implemented_for("test")
   def action(self):
       pass
order

descriptor for implementing context sensitive methods and registration of their implementations

class Example(Element):
    action = ContextualMethod()
    @action.implemented_for("db")
    def action(self):
        pass

   @action.implemented_for("test")
   def action(self):
       pass