cfme.services.myservice package

Module contents

class cfme.services.myservice.MyService(appliance, name=None, description=None, vm_name=None)[source]

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

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

check_vm_add

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
delete

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
download_file

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
edit_tags

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
exists

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
launch_vm_console

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
reconfigure_service

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
retire

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
retire_on_date

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
set_ownership

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
update

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