-
Notifications
You must be signed in to change notification settings - Fork 5
Mininet network modeling
sadov edited this page Apr 19, 2018
·
3 revisions
BCNodes provides a simple abstraction for interacting with Block[Chains]. Local nodes are simply one or more processes on the local machine.
BCNode is a Node that is running an block[chain] application.
EthNode is a BCNode that is running an Geth application.
BtcNode is a BCNode that is running an Bitcoin application.
POWNode is a BCNode that is running an POWBlockChain.
QNode is a BCNode that is running an QuantumBlockChain application.
Mininet's custom setup for BAL classes balmn.py adds several types of hosts:
- btc -- bcnode.BtcNode
- eth -- bcnode.EthNode
- pow -- bcnode.POWNode
- qkd -- bcnode.QNode
For example:
mn --custom=balmn.py --host=btc
Testing -- creating of simple network topology (2 nodes connected to single switch), starting of servers, running of simple clients tests, switching to Mininet's CLI, stopping of servers after exiting from CLI:
./bcmn_test.py [host_type]
For example:
./bcmn_test.py pow