Skip to main content

Janus DTNaaS Controller

Project description

Janus Controller

A container (Portainer Docker) controller with profiles for common Data Transfer Node (DTN) capabilities. Support DTN-as-a-Service deployments.

Build Instructions

python -m build

Upload to PyPi using

twine upload dist/*

Install Instructions

git clone https://github.com/esnet/janus.git
cd janus
pip3 install -e .

Configuring container registry authentication

The Janus controller supports authentication to private container registries using tokens passed via the X-Registry-Auth HTTP header. The tokens are in the form of a base64 encoded dictionary containing the following attributes:

{ "username": "",
  "password": "",
  "serveraddress": ""
}

As an example, Harbor registries allow for the creation of robot accounts with secret keys. Using one of these robot accounts, a valid token for Janus/Portainer can be created as follows:

echo '{"username": "robot+dtnaas+deployer", "password": "SECRET_KEY", "serveraddress": "wharf.es.net"}' | base64 -w 0

For a single authenticated registry, this token can be passed as an environment variable when launching the controller process. In a Janus controller Docker compose file, include the following:

   ...
   environment:
      - REGISTRY_AUTH=<TOKEN>
   ...

Within the Janus settings.py file is where the registry auth dictionary is maintained to map registry servers to authentication tokens. Additional registries with their associated auth tokens may be defined as needed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

janus_dtnaas-0.3rc1.post11.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

janus_dtnaas-0.3rc1.post11-py3-none-any.whl (62.0 kB view details)

Uploaded Python 3

File details

Details for the file janus_dtnaas-0.3rc1.post11.tar.gz.

File metadata

  • Download URL: janus_dtnaas-0.3rc1.post11.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.9.6 requests/2.31.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.66.1 CPython/3.11.2

File hashes

Hashes for janus_dtnaas-0.3rc1.post11.tar.gz
Algorithm Hash digest
SHA256 54fc5d24d1a208b8b087e9ee4ffe00439c40f214abb326c579912c1051ed88e1
MD5 ba02872a2d318e3a0c58bcc87a9999a4
BLAKE2b-256 9b8e4705e6a056d56318abeb9abe812983b3ea370e572c53bcd0478cd2069bce

See more details on using hashes here.

File details

Details for the file janus_dtnaas-0.3rc1.post11-py3-none-any.whl.

File metadata

  • Download URL: janus_dtnaas-0.3rc1.post11-py3-none-any.whl
  • Upload date:
  • Size: 62.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.9.6 requests/2.31.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.66.1 CPython/3.11.2

File hashes

Hashes for janus_dtnaas-0.3rc1.post11-py3-none-any.whl
Algorithm Hash digest
SHA256 ecefc096adbc35b90f778f2a842f598d84b52072f2ace1124df595fdc93b8044
MD5 5f5bf4f436245d0befdc94679faff636
BLAKE2b-256 754be34d5395026e723af840173d6d2cd4afb031fc76f3366a967a79661c8e6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page