iptb

command
v0.3.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2016 License: MIT, MIT Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

IPTB

iptb is a program used to manage a cluster of ipfs nodes locally on your computer. It allows the creation of up to 1000 (limited by poor port choice) nodes, and allows for various other setup options to be selected such as different bootstrapping patterns. iptb makes testing networks in ipfs easy!

Commands:
  • init

    • creates and initializes 'n' repos
    • Options:
      • -n=[number of nodes]
      • -f : force overwriting of existing nodes
      • -bootstrap : select bootstrapping style for cluster choices: star, none
      • -mdns=[true||false] : defaults to false
      • -p=[start port] : port to start allocations from
  • start

    • starts up all testbed nodes
    • Options:
      • -wait : wait until daemons are fully initialized
  • stop

    • kills all testbed nodes
  • restart

    • kills and then restarts all testbed nodes
  • shell [n]

    • execs your shell with environment variables set as follows:
      • IPFS_PATH - set to testbed node n's IPFS_PATH
      • NODE[x] - set to the peer ID of node x
  • get [attr] [n]

    • gets the specified attribute from then given node
      • available attributes: id
Configuration

By default, iptb uses $HOME/testbed to store created nodes. This path is configurable via the environment variables IPTB_ROOT.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL