-
Notifications
You must be signed in to change notification settings - Fork 2
p2p
Timur Zununbekov edited this page Nov 1, 2016
·
4 revisions
subutai p2p <options> [arguments]
- P2P network operations
Options:
--create, -c create p2p instance (interfaceName hash key ttl localPeepIPAddr portRange)
--delete, -d delete p2p instance by swarm hash
--update, -u update p2p instance encryption key (hash newkey ttl)
--list, -l list of p2p instances
--peers, -p list of p2p swarm participants by hash
--version, -v print p2p version
Example:
subutai p2p -c p2p-net1 swarm-12345678-abcd-1234-efgh-123456789012 0123456789qwertyu0123456789zxcvbn 1476870551 10.220.22.1 0-65535
Descriptions:
Subutai's p2p command controls and configures the peer-to-peer network structure: the swarm which includes all hosts with same the same swarm hash and secret key. P2P is a base layer for Subutai environment networking: all containers in same environment are connected to each other via VXLAN tunnels and are accesses as if they were in one LAN. It doesn't matter where the containers are physically located.