Skip to content
Snippets Groups Projects
Commit a9f93d8f authored by David Schmitz's avatar David Schmitz
Browse files

update for fodexabgp-containerlab1/Dockerfile

parent 2baa70c4
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ COPY ./install-debian.sh /opt
#RUN /opt/prep_fod_exabgp2_on_ubuntu.sh --systemd --systemd_only_install --setup_admin_user5 admin adminpwd admin@localhost.local testpeer 0.0.0.0/0 --exabgp 172.17.0.2 172.17.0.2 1001 172.17.0.3 172.17.0.3 2001
#RUN /opt/prep_fod_exabgp2_on_ubuntu.sh --systemd --systemd_only_install --setup_admin_user5 admin adminpwd admin@localhost.local testpeer 0.0.0.0/0 --exabgp 10.3.10.3 10.3.10.3 1001 10.3.10.10 10.3.10.10 2001
#RUN cd /opt && /opt/prep_fod_exabgp2_on_ubuntu.sh --supervisord --setup_admin_user5 admin adminpwd admin@localhost.local testpeer 0.0.0.0/0 --exabgp 10.3.10.3 10.3.10.3 1001 10.3.10.10 10.3.10.10 2001
RUN cd /opt && /opt/install-debian.sh --git-checkout "" feature/exabgp_support2 /opt/FOD --here --supervisord --setup_admin_user --setup_admin_user5 admin adminpwd admin@localhost.local testpeer 0.0.0.0/0 --exabgp 10.3.10.3 10.3.10.3 1001 10.3.10.10 10.3.10.10 2001
RUN cd /opt && /opt/install-debian.sh --git-checkout "" feature/exabgp_support2 /opt/FOD --here --supervisord --setup_admin_user --setup_admin_user5 admin adminpwd admin@localhost.local testpeer 0.0.0.0/0 --ip-addr-set eth1 10.3.10.3 --exabgp 10.3.10.3 10.3.10.3 1001 10.3.10.10 10.3.10.10 2001
# standalone re-setup of exabgp later (e.g., to exploit docker build cache for the action above)
#RUN cd /opt/FOD/ && ./exabgp/run-exabgp-generic --init-conf 10.3.10.3 10.3.10.3 1001 10.3.10.10 10.3.10.12 3001 -- --systemd
......
......@@ -210,6 +210,15 @@ while [ $# -gt 0 ]; do
shift 1
setup_exabgp__peer_asnr="$1"
shift 1
elif [ $# -ge 1 -a "$1" = "--ip-addr-set" ]; then # for easy support for of extra veth-pair end point init in containers for containerlab
shift 1
ifc_name="$1"
shift 1
ip_addr_and_subnetmask="$1"
shift 1
echo "$0: init of interface $ifc_name with ip_addr_and_subnetmask=$ip_addr_and_subnetmask" 1>&2
ifconfig "$ifc_name" "$ip_addr_and_subnetmask"
ifconfig "$ifc_name" 1>&2
else
break
fi
......
......@@ -318,6 +318,15 @@ while [ $# -gt 0 ]; do
shift 1
setup_exabgp__peer_asnr="$1"
shift 1
elif [ $# -ge 1 -a "$1" = "--ip-addr-set" ]; then # for easy support for of extra veth-pair end point init in containers for containerlab
shift 1
ifc_name="$1"
shift 1
ip_addr_and_subnetmask="$1"
shift 1
echo "$0: init of interface $ifc_name with ip_addr_and_subnetmask=$ip_addr_and_subnetmask" 1>&2
ifconfig "$ifc_name" "$ip_addr_and_subnetmask"
ifconfig "$ifc_name" 1>&2
else
break
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment