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
cc3ae429
Commit
cc3ae429
authored
Sep 24, 2019
by
Pedro Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clone repository instead of copying from Desktop to netkit
parent
2e3a60bd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
+7
-11
emulation/router1/root/script.sh
emulation/router1/root/script.sh
+1
-4
emulation/router2/root/script.sh
emulation/router2/root/script.sh
+1
-4
script.sh
script.sh
+5
-3
No files found.
emulation/router1/root/script.sh
View file @
cc3ae429
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/new_protocol2/ 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 @
cc3ae429
rm
-rf
MulticastRouting/
cd
pim_dm
cp
-rf
/hosthome/Desktop/new_protocol2/ 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 @
cc3ae429
...
@@ -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