Management Domain


The domain controller running on the master node stores its configuration and run-time information in an embedded database

All database tables and indexes can be accessed using the type information and schema definitions from a single database schema class:

class GlobalSchema(db)[source]

Global (master node wide) database schema.

activation_tokens: ActivationTokens[source]

User activation tokens.

static attach(db: Database) object[source]

Factory to create a schema from attaching to a database. The schema tables will be automatically mapped as persistant maps and attached to the database slots.

Parameters:

db – Database to which to attach this schema.

Returns:

Open database handle with attached schema, an instance of GlobalSchema.

idx_act_tokens_by_authid_pubkey: IndexActivationTokensByAuthidPubkey[source]

Index on user activation tokens (by authid, pubkey).

idx_mrealms_by_name: IndexManagementRealmByName[source]

Index on management realms (by name).

idx_nodes_by_authid: IndexNodesByAuthid[source]

Index on nodes (by authid).

idx_nodes_by_pubkey: IndexNodesByPubkey[source]

Index on nodes (by pubkey).

idx_organizations_by_name: IndexOrganizationsByName[source]

Index on organizations (by name).

idx_users_by_email: IndexUsersByEmail[source]

Index on users (by email).

idx_users_by_pubkey: IndexUsersByPubkey[source]

Index on users (by pubkey).

mrealms: ManagementRealms[source]

Management realms.

nodes: Nodes[source]

Nodes.

organizations: Organizations[source]

Organizations.

usage: UsageRecords[source]

Usage metering records (by timestamp).

users: Users[source]

Users.

users_mrealm_roles: UserMrealmRoles[source]

User roles map (by mrealm_oid, user_oid to UserRoles).

Note

There exists only one domain controller database per master node. This database is separate from all managament realm controller databases, and only used to book keep users, Management realms and paired nodes. All configuration and management within a given management realm is then stored in the management realm controller database dedicated to the respective realm.

class ConfigurationElement(oid=None, label=None, description=None, tags=None, _unknown=None)[source]

Bases: object

CFC configuration element, an abstract “thing” with a unique identifier (“oid”, which is of type UUID) and that can be user documented using

  • label

  • description

  • tags

These elements are under user (application) control and not interpreted by the CFC backend code (beyond their basic types of string or list of string).

Configuration elements can be nearly everything in CFC configuration:

  • Users

  • Mrealms

  • Nodes

description = None[source]

User description for object (optional free text)

label = None[source]

User label for object (optional free text).

oid = None[source]

Object ID.

tags = None[source]

User tags for object (optional free list of text portions)