sightline.simon.federation — Federation API

The federation module provides functions for viewing dtDomains and connected DTaaS nodes. This information can also be obtained directly from the Kubernetes API.

Federation

class sightline.simon.federation.Federation[source]
id: str
name: str
created: datetime
list()[source]

List the current Federations that exist. Currently there should only ever be one or none.

Classmethod

Return type

List[Federation]

peers()[source]

List the connected Peers to currently active Federations.

Return type

List[Peer]

Peer

class sightline.simon.federation.Peer[source]

A Peer is a DTaaS node connected to a Federation.

id: str
name: str
address: IPv4Address
federation: str
connected: bool
public_key: str