ConsoleUser

Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com

This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.

All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.

class ConfigureSystem.ConfigureSystem(system, config)

This is the abstract class from which classes that configure systems

Parameters:

  • system: the <no title> object to interact with the target system

  • config: the <no title> object defining this user

config_apps()

Find any apps that might be able to do their job on this system and try to configure them.

find_apps()

Attempt to find any applications that might apply to this system and see if any of them have the ability to configure themselves.

ConfigureSystem.get_all_subs(src, parent)

Find all the classes that src decends from that are subclasses of parent.

ConfigureSystem.get_mod_names(hint)

Given a clue for the modules we’re looking for, try to find any modules that fit the hint.

Parameters:

  • hint: a string to look for in filenames

ConfigureSystem.get_subs(names, parent)

Given a list of module names and a parent class, find any classes in the named modules that are subclasses of the given parent.