Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pim_dm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
pim_dm
Commits
76ffe1fc
Commit
76ffe1fc
authored
Sep 24, 2019
by
Pedro Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Script for cloning repository
parent
b54c7294
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
31 deletions
+12
-31
emulation/router1/root/script.sh
emulation/router1/root/script.sh
+1
-4
emulation/router2/root/script.sh
emulation/router2/root/script.sh
+1
-4
emulation/router3/root/script.sh
emulation/router3/root/script.sh
+1
-4
emulation/router4/root/script.sh
emulation/router4/root/script.sh
+1
-4
emulation/router5/root/script.sh
emulation/router5/root/script.sh
+1
-4
emulation/router6/root/script.sh
emulation/router6/root/script.sh
+1
-4
emulation/router7/root/script.sh
emulation/router7/root/script.sh
+1
-4
script.sh
script.sh
+5
-3
No files found.
emulation/router1/root/script.sh
View file @
76ffe1fc
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/pim/ MulticastRouting/
cd
MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py
-stop
python3 Run.py
-stop
python3 Run.py
-start
python3 Run.py
-start
...
...
emulation/router2/root/script.sh
View file @
76ffe1fc
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/pim/ MulticastRouting/
cd
MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py
-stop
python3 Run.py
-stop
python3 Run.py
-start
python3 Run.py
-start
...
...
emulation/router3/root/script.sh
View file @
76ffe1fc
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/pim/ MulticastRouting/
cd
MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py
-stop
python3 Run.py
-stop
python3 Run.py
-start
python3 Run.py
-start
...
...
emulation/router4/root/script.sh
View file @
76ffe1fc
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/pim/ MulticastRouting/
cd
MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py
-stop
python3 Run.py
-stop
python3 Run.py
-start
python3 Run.py
-start
...
...
emulation/router5/root/script.sh
View file @
76ffe1fc
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/pim/ MulticastRouting/
cd
MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py
-stop
python3 Run.py
-stop
python3 Run.py
-start
python3 Run.py
-start
...
...
emulation/router6/root/script.sh
View file @
76ffe1fc
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/pim/ MulticastRouting/
cd
MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py
-stop
python3 Run.py
-stop
python3 Run.py
-start
python3 Run.py
-start
...
...
emulation/router7/root/script.sh
View file @
76ffe1fc
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/pim/ MulticastRouting/
cd
MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py
-stop
python3 Run.py
-stop
python3 Run.py
-start
python3 Run.py
-start
...
...
script.sh
View file @
76ffe1fc
...
@@ -10,6 +10,11 @@ if [ ! -d "netkit-ng" ]; then
...
@@ -10,6 +10,11 @@ if [ ! -d "netkit-ng" ]; then
tar
-xjSf
netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2
tar
-xjSf
netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2
fi
fi
if
[
!
-d
"emulation/shared/root/pim_dm"
]
;
then
# if project does not exist, clone it
git clone https://github.com/pedrofran12/pim_dm.git emulation/shared/root/pim_dm
fi
export
NETKIT_HOME
=
$(
pwd
)
/netkit-ng
export
NETKIT_HOME
=
$(
pwd
)
/netkit-ng
export
MANPATH
=
:
$NETKIT_HOME
/man
export
MANPATH
=
:
$NETKIT_HOME
/man
export
PATH
=
$NETKIT_HOME
/bin:
$PATH
export
PATH
=
$NETKIT_HOME
/bin:
$PATH
...
@@ -22,10 +27,7 @@ if echo $OUTPUT | grep -q "failed"; then
...
@@ -22,10 +27,7 @@ if echo $OUTPUT | grep -q "failed"; then
exit
exit
fi
fi
cd
../emulation/
cd
../emulation/
lstart
-p
lstart
-p
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment