Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
varanus
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
navigators
varanus
Commits
a4203b2d
Commit
a4203b2d
authored
Nov 09, 2017
by
Ricardo Fonseca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed demo script files
parent
2f6d1e30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cleanup_network.sh
demo/cleanup_network.sh
+2
-2
launch_network.sh
demo/launch_network.sh
+2
-2
No files found.
demo/cleanup_network.sh
View file @
a4203b2d
...
...
@@ -16,8 +16,8 @@ msg() {
[
$EUID
-eq
0
]
||
abort
"Must run as root"
LOCAL_DIR
=
"
$(
readlink
-f
"
$(
dirname
"
$0
"
)
"
)
"
MININET_RUN
=
"
$LOCAL_DIR
/../network-manager/run_mininet
.py"
NETMANAGER_RUN
=
"
$LOCAL_DIR
/../network-manager/run_netmanager
.py"
msg
"Cleaning up network manager..."
"
$
MININET
_RUN
"
--config
demo
--cleanlocal
"
$
NETMANAGER
_RUN
"
--config
demo
--cleanlocal
demo/launch_network.sh
View file @
a4203b2d
...
...
@@ -20,7 +20,7 @@ if ! [ -d "$LOCAL_DIR/../collector/target" -a -d "$LOCAL_DIR/../sdncontroller/ta
abort
"Must build collector and sdncontroller applications first"
fi
MININET_RUN
=
"
$LOCAL_DIR
/../network-manager/run_mininet
.py"
NETMANAGER_RUN
=
"
$LOCAL_DIR
/../network-manager/run_netmanager
.py"
msg
"Launching network manager..."
"
$
MININET
_RUN
"
--arp
--config
demo
--autocfg
"
$
NETMANAGER
_RUN
"
--arp
--config
demo
--autocfg
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