maasserver.models.config

Configuration items.

Functions

get_default_config()
gethostname(() -> string) Return the current host name.

Classes

CharField(*args, **kwargs)
Config(*args, **kwargs) Configuration settings item.
ConfigManager() Manager for Config model class.
DISTRO_SERIES List of supported ubuntu releases.
DefaultMeta Base class for model Meta classes in the maasserver app.
JSONObjectField([verbose_name, name, ...]) A field that will store any jsonizable python object.
Manager()
Model(*args, **kwargs)
defaultdict defaultdict(default_factory[, ...]) –> dict with default factory
class maasserver.models.config.Config(*args, **kwargs)[source]

Bases: django.db.models.base.Model

Configuration settings item.

Variables:
  • name – The name of the configuration option.
  • value – The configuration value.
MAAS logo

MAAS

Metal As A Service.



Related Topics

This Page