Skip to content
A little cloud: portable lab for distributed systems experiments
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Implement display methods Aug 22, 2019
ansible
examples Add example of observing Raftos library Aug 23, 2019
img
src Implement display methods Aug 22, 2019
.gitignore Change raftos install to be included in project install Aug 21, 2019
README.md added image to README.md Sep 2, 2019
requirements-dev.txt
requirements-no-deps.txt Change raftos install to be included in project install Aug 21, 2019
requirements.txt start work on digit display Aug 21, 2019

README.md

Building Claudia

Project idea

Build a transportable mini-lab for visual experimentation of distributed systems.

Picture of Claudia

Claudia includes:

  • 5 × Rasperry Pi 3 with Unicorn hats (8×8 RGB LED arrays)
  • 1 × NETGEAR 5-port Gigabit Ethernet Smart Managed Plus Switch GS105E
  • 1 × Ubiquiti 5-port EdgeRouter X Advanced Gigabit Ethernet Router

Setup

  • Python3 (3.7.3)
  • Python project
    • pip install -r requirement.txt
  • Ansible support
    • pip install ansible - frequently done globally, so excluded from requirements.txt
    • Install "sshpass": brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb

Automating Raspberry Pi Setup With Ansible

http://www.hietala.org/automating-raspberry-pi-setup-with-ansible.html

Installing the Unicorn Hat library

Source: https://github.com/pimoroni/unicorn-hat

$ sudo apt-get install python3-pip python3-dev
$ sudo pip3 install unicornhat

Manual test:

$ sudo apt-get install git
$ git clone --depth 1 https://github.com/pimoroni/unicorn-hat.git
$ sudo python3 unicorn-hat/examples/demo

Device map

For the lab at Evolve Coworking in Crested Butte, CO

claudia1 - 192.168.86.86
claudia2 - 192.168.86.91
claudia3 - 192.168.86.92
claudia4 - 192.168.86.93
claudia5 - 192.168.86.94
You can’t perform that action at this time.