Commit bbf5e88d authored by Boris Pilka's avatar Boris Pilka

Merge branch '55_divide_docker_network' into 'master'

#55 divide docker network

See merge request !14

Former-commit-id: 568d5d3a
parents cb9afd65 cbb2c55f
......@@ -19,7 +19,7 @@ services:
- ../ipnd:/ipnd
command: python3 -m bp_daemon --node dtn://pyDTN-1.dtn --port 2001 --http-port 8081 --upcn-host 172.25.0.21 --upcn-port 4556
networks:
dtnnet:
dtnnet1:
ipv4_address: 172.25.0.11
pyDTN-2:
......@@ -36,10 +36,10 @@ services:
- ../bundle7:/bundle7
- ../cbor2:/cbor2
- ../ipnd:/ipnd
command: python3 -m bp_daemon --node dtn://pyDTN-2.dtn --port 2002 --http-port 8082 --upcn-host 172.25.0.21 --upcn-port 4556
command: python3 -m bp_daemon --node dtn://pyDTN-2.dtn --port 2002 --http-port 8082 --upcn-host 172.25.1.21 --upcn-port 4556
networks:
dtnnet:
ipv4_address: 172.25.0.12
dtnnet2:
ipv4_address: 172.25.1.11
uPCN-1:
image: upcn
......@@ -47,13 +47,20 @@ services:
context: uPCN
hostname: uPCN-1
networks:
dtnnet:
dtnnet1:
ipv4_address: 172.25.0.21
dtnnet2:
ipv4_address: 172.25.1.21
tty: true
networks:
dtnnet:
dtnnet1:
driver: bridge
ipam:
config:
- subnet: 172.25.0.0/24
dtnnet2:
driver: bridge
ipam:
config:
- subnet: 172.25.1.0/24
......@@ -2,7 +2,7 @@
"messages": [
{
"eid": "dtn:pyDTN-2.dtn",
"cla_address": "172.25.0.12:2002",
"cla_address": "172.25.1.11:2002",
"start_offset": 5,
"end_offset": 20
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment