ifw-sup  1.0.0
Public Member Functions | List of all members
supclib.syssup_commands.SysSupCommands Class Reference

Class managing the interface with System Supervisor. More...

Public Member Functions

def __init__ (self, uri, timeout=60000)
 
def setup (self, setup_buffer)
 Execute Setup Command. More...
 
def init (self, *argv)
 Execute Init Command. More...
 
def enable (self, *argv)
 Execute enable Command. More...
 
def disable (self, *argv)
 Execute disable Command. More...
 
def reset (self, *argv)
 Execute reset Command. More...
 
def get_state (self, *argv)
 Execute get_state Command. More...
 
def get_status (self, *argv)
 Execute get_status Command. More...
 
def get_config (self)
 Execute GetConfig Command synchronously. More...
 
def is_operational (self)
 
def subsystem_status (self, *argv)
 Execute get_subsystem_status Command. More...
 
def subsystem_init (self, *argv)
 Execute subsystem_init Command. More...
 
def subsystem_enable (self, *argv)
 Execute subsystem_enable Command. More...
 
def subsystem_disable (self, *argv)
 Execute subsystem_disable Command. More...
 
def subsystem_reset (self, *argv)
 Execute subsystem_reset Command. More...
 
def subsystem_names (self)
 Execute get_subsystem_names Command. More...
 
def spf2json (self, spf)
 Convert a simple parameter format string into JSON. More...
 
def stop (self)
 Execute Stop Command. More...
 
def get_cii (self)
 Return the CII interface. More...
 

Detailed Description

Class managing the interface with System Supervisor.

This class uses a synchronous MAL client because async has some problems. Timeout does not work properly. It is not really asynchronous.

Constructor & Destructor Documentation

◆ __init__()

def supclib.syssup_commands.SysSupCommands.__init__ (   self,
  uri,
  timeout = 60000 
)

Member Function Documentation

◆ disable()

def supclib.syssup_commands.SysSupCommands.disable (   self,
argv 
)

Execute disable Command.

◆ enable()

def supclib.syssup_commands.SysSupCommands.enable (   self,
argv 
)

Execute enable Command.

◆ get_cii()

def supclib.syssup_commands.SysSupCommands.get_cii (   self)

Return the CII interface.

◆ get_config()

def supclib.syssup_commands.SysSupCommands.get_config (   self)

Execute GetConfig Command synchronously.

◆ get_state()

def supclib.syssup_commands.SysSupCommands.get_state (   self,
argv 
)

Execute get_state Command.

◆ get_status()

def supclib.syssup_commands.SysSupCommands.get_status (   self,
argv 
)

Execute get_status Command.

◆ init()

def supclib.syssup_commands.SysSupCommands.init (   self,
argv 
)

Execute Init Command.

◆ is_operational()

def supclib.syssup_commands.SysSupCommands.is_operational (   self)

◆ reset()

def supclib.syssup_commands.SysSupCommands.reset (   self,
argv 
)

Execute reset Command.

◆ setup()

def supclib.syssup_commands.SysSupCommands.setup (   self,
  setup_buffer 
)

Execute Setup Command.

◆ spf2json()

def supclib.syssup_commands.SysSupCommands.spf2json (   self,
  spf 
)

Convert a simple parameter format string into JSON.

◆ stop()

def supclib.syssup_commands.SysSupCommands.stop (   self)

Execute Stop Command.

◆ subsystem_disable()

def supclib.syssup_commands.SysSupCommands.subsystem_disable (   self,
argv 
)

Execute subsystem_disable Command.

◆ subsystem_enable()

def supclib.syssup_commands.SysSupCommands.subsystem_enable (   self,
argv 
)

Execute subsystem_enable Command.

◆ subsystem_init()

def supclib.syssup_commands.SysSupCommands.subsystem_init (   self,
argv 
)

Execute subsystem_init Command.

◆ subsystem_names()

def supclib.syssup_commands.SysSupCommands.subsystem_names (   self)

Execute get_subsystem_names Command.

◆ subsystem_reset()

def supclib.syssup_commands.SysSupCommands.subsystem_reset (   self,
argv 
)

Execute subsystem_reset Command.

◆ subsystem_status()

def supclib.syssup_commands.SysSupCommands.subsystem_status (   self,
argv 
)

Execute get_subsystem_status Command.


The documentation for this class was generated from the following file: