titanfe.apps.control_peer.services module

Install a Brick

class titanfe.apps.control_peer.services.ControlPeerServiceRegistration[source]

Bases: abc.ABC

BaseClass to handle control peer registration of various services

abstract property control_peer_endpoint
async deregister(own_api_address)[source]

Cancel registration at target_address

async register(own_api_address)[source]

Inquire registration at target_address

class titanfe.apps.control_peer.services.GridManager[source]

Bases: titanfe.apps.control_peer.services.ControlPeerServiceRegistration

handle all requests to the grid manager

property address
property control_peer_endpoint
class titanfe.apps.control_peer.services.PackageManager[source]

Bases: titanfe.apps.control_peer.services.ControlPeerServiceRegistration

handle all requests to the package manager

property address
property brick_code_endpoint
property brick_endpoint
property control_peer_endpoint
async static get(endpoint, context)[source]

get endpoint

async get_bricks()[source]

get bricks

async get_source_files(brick_id)[source]

get the source files archive from the package manager

exception titanfe.apps.control_peer.services.ServiceError[source]

Bases: Exception