Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FoD
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schmitz
FoD
Commits
6d1927ef
Commit
6d1927ef
authored
2 years ago
by
David Schmitz
Browse files
Options
Downloads
Patches
Plain Diff
update for fodexabgp-containerlab1/Dockerfile
parent
c0c83e81
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
inst/testing/fodexabgp-containerlab1/Dockerfile
+1
-1
1 addition, 1 deletion
inst/testing/fodexabgp-containerlab1/Dockerfile
install-centos.sh
+4
-0
4 additions, 0 deletions
install-centos.sh
install-debian.sh
+4
-0
4 additions, 0 deletions
install-debian.sh
runfod.sh
+9
-0
9 additions, 0 deletions
runfod.sh
with
18 additions
and
1 deletion
inst/testing/fodexabgp-containerlab1/Dockerfile
+
1
−
1
View file @
6d1927ef
...
...
@@ -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
--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
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
1
--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
...
...
This diff is collapsed.
Click to expand it.
install-centos.sh
+
4
−
0
View file @
6d1927ef
...
...
@@ -86,6 +86,7 @@ setup_exabgp=0
ifc_setup__name
=
""
ifc_setup__ip_addr_and_subnetmask
=
""
ifc_setup__wait_for_ifc__in_runfod
=
0
##############################################################################
##############################################################################
...
...
@@ -247,6 +248,8 @@ while [ $# -gt 0 ]; do
shift
1
ifc_setup__ip_addr_and_subnetmask
=
"
$1
"
shift
1
ifc_setup__wait_for_ifc__in_runfod
=
"
$1
"
shift
1
echo
"
$0
: init of interface
$ifc_setup__name
with ip_addr_and_subnetmask=
$ifc_setup__ip_addr_and_subnetmask
"
1>&2
ifconfig
"
$ifc_setup__name
"
"
$ifc_setup__ip_addr_and_subnetmask
"
ifconfig
"
$ifc_setup__name
"
1>&2
...
...
@@ -779,6 +782,7 @@ EOF
if
[
-n
"
$ifc_setup__name
"
]
;
then
echo
"ifc_setup__name=
\"
$ifc_setup__name
\"
"
echo
"ifc_setup__ip_addr_and_subnetmask=
\"
$ifc_setup__ip_addr_and_subnetmask
\"
"
echo
"ifc_setup__wait_for_ifc__in_runfod=
\"
$ifc_setup__wait_for_ifc__in_runfod
\"
"
fi
)
>
"./runfod.conf"
...
...
This diff is collapsed.
Click to expand it.
install-debian.sh
+
4
−
0
View file @
6d1927ef
...
...
@@ -97,6 +97,7 @@ setup_exabgp=0
ifc_setup__name
=
""
ifc_setup__ip_addr_and_subnetmask
=
""
ifc_setup__wait_for_ifc__in_runfod
=
0
##############################################################################
##############################################################################
...
...
@@ -355,6 +356,8 @@ while [ $# -gt 0 ]; do
shift
1
ifc_setup__ip_addr_and_subnetmask
=
"
$1
"
shift
1
ifc_setup__wait_for_ifc__in_runfod
=
"
$1
"
shift
1
echo
"
$0
: init of interface
$ifc_setup__name
with ip_addr_and_subnetmask=
$ifc_setup__ip_addr_and_subnetmask
"
1>&2
ifconfig
"
$ifc_setup__name
"
"
$ifc_setup__ip_addr_and_subnetmask
"
ifconfig
"
$ifc_setup__name
"
1>&2
...
...
@@ -906,6 +909,7 @@ EOF
if
[
-n
"
$ifc_setup__name
"
]
;
then
echo
"ifc_setup__name=
\"
$ifc_setup__name
\"
"
echo
"ifc_setup__ip_addr_and_subnetmask=
\"
$ifc_setup__ip_addr_and_subnetmask
\"
"
echo
"ifc_setup__wait_for_ifc__in_runfod=
\"
$ifc_setup__wait_for_ifc__in_runfod
\"
"
fi
)
>
"./runfod.conf"
...
...
This diff is collapsed.
Click to expand it.
runfod.sh
+
9
−
0
View file @
6d1927ef
...
...
@@ -8,7 +8,16 @@ fi
if
[
-n
"
$ifc_setup__name
"
]
;
then
echo
"
$0
: setting ip address of
$ifc_setup__name
to
$ifc_setup__ip_addr_and_subnetmask
"
1>&2
if
[
"
$ifc_setup__wait_for_ifc__in_runfod
"
=
1
]
;
then
while
!
ifconfig
"
$ifc_setup__name
"
1>&2
;
do
echo
"
$0
: interface
$ifc_setup__name
not available yet, waiting"
1>&2
sleep
1
done
fi
ifconfig
"
$ifc_setup__name
"
"
$ifc_setup__ip_addr_and_subnetmask
"
fi
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment