Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 3.67 KB

DirectoryStructure.md

File metadata and controls

31 lines (28 loc) · 3.67 KB

A combination of ansible, nodejs and shell scripts is used for automation of various tasks.

From a birdseye view we can separate the code into 4 different modules:

  1. Ansible scripts
  2. External modules
  3. Shell scripts
  4. Documentation

Directory structure is as follows:

  1. caliper/: An external module added as a git submodule. It represents the code from Hyperledger Caliper project. It is used for collecting metrics for Hyperledger Fabric.
  2. docs/: It contains all the documentation for this project. The files in this directory have been linked in README.md, which provides an overview of the documentation.
  3. hyperleger: It contains ansible scripts for setting up a Hyperledger Fabric network on Kubernetes cluster. It also configures a fabric channel and provides configuration for metrics collection via Caliper.
  4. inventory/: It contains hosts and configuration for various ansible scripts.
  5. kubespray/: An external module added a a git submodule. It represents the code from kubespray, a tool to deploy k8s cluster.
  6. openstack_infra/; It contains ansible scripts for setting up resources in openstackc cluster. It also configures a DNS server and NFS server, which are used for k8s cluster and fabric network.
  7. playbooks/: It contains ansible sub-playbooks used by playbooks in project directory.
  8. scripts/: It contains shell scripts. These shell scripts automate the whole process of setting up a python or node environment and then calling respective ansible playbook or node scripts.