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
a546c243
Commit
a546c243
authored
Nov 19, 2017
by
Ricardo Fonseca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in various script files
parent
9716e29a
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
run-collector.sh
collector/run-collector.sh
+1
-1
cleanup_network.sh
demo/cleanup_network.sh
+1
-1
launch_network.sh
demo/launch_network.sh
+1
-1
launch_visualiser.sh
demo/launch_visualiser.sh
+1
-1
clean.sh
network-manager/clean.sh
+1
-1
clean.sh
network-visualiser/clean.sh
+1
-1
start.sh
network-visualiser/start.sh
+1
-1
run-sdncontroller.sh
sdncontroller/run-sdncontroller.sh
+1
-1
run-xmlproxy.sh
xml-proxy/run-xmlproxy.sh
+1
-1
run-mininet-client.sh
xml-proxy/test/run-mininet-client.sh
+1
-1
run-xml-client.sh
xml-proxy/test/run-xml-client.sh
+1
-1
No files found.
collector/run-collector.sh
View file @
a546c243
#!/usr/bin/env bash
# Set paths
BASE_DIR
=
"
$(
readlink
-f
"
$(
dirname
$0
)
"
)
"
BASE_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
TARGET_DIR
=
"
${
BASE_DIR
}
/target"
LIB_DIR
=
"
${
BASE_DIR
}
/lib"
CONFIG_DIR
=
"
${
BASE_DIR
}
/config"
...
...
demo/cleanup_network.sh
View file @
a546c243
...
...
@@ -15,7 +15,7 @@ msg() {
[
$EUID
-eq
0
]
||
abort
"Must run as root"
LOCAL_DIR
=
"
$(
readlink
-f
"
$(
dirname
"
$0
"
)
"
)
"
LOCAL_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
NETMANAGER_RUN
=
"
$LOCAL_DIR
/../network-manager/run_netmanager.py"
msg
"Cleaning up network manager..."
...
...
demo/launch_network.sh
View file @
a546c243
...
...
@@ -15,7 +15,7 @@ msg() {
[
$EUID
-eq
0
]
||
abort
"Must run as root"
LOCAL_DIR
=
"
$(
readlink
-f
"
$(
dirname
"
$0
"
)
"
)
"
LOCAL_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
if
!
[
-d
"
$LOCAL_DIR
/../collector/target"
-a
-d
"
$LOCAL_DIR
/../sdncontroller/target"
]
;
then
abort
"Must build collector and sdncontroller applications first"
fi
...
...
demo/launch_visualiser.sh
View file @
a546c243
...
...
@@ -13,7 +13,7 @@ msg() {
fi
}
LOCAL_DIR
=
"
$(
readlink
-f
"
$(
dirname
"
$0
"
)
"
)
"
LOCAL_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
if
!
[
-d
"
$LOCAL_DIR
/../xml-proxy/target"
]
;
then
abort
"Must build xml-proxy application first"
fi
...
...
network-manager/clean.sh
View file @
a546c243
...
...
@@ -13,7 +13,7 @@ msg() {
fi
}
LOCAL_DIR
=
"
$(
readlink
-f
"
$(
dirname
"
$0
"
)
"
)
"
LOCAL_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
if
cd
"
$LOCAL_DIR
"
;
then
msg
"Cleaning built files..."
find
.
-name
"*.pyc"
-exec
rm
-vf
{}
\;
...
...
network-visualiser/clean.sh
View file @
a546c243
...
...
@@ -13,7 +13,7 @@ msg() {
fi
}
LOCAL_DIR
=
"
$(
readlink
-f
"
$(
dirname
"
$0
"
)
"
)
"
LOCAL_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
if
cd
"
$LOCAL_DIR
/catalina"
;
then
msg
"Cleaning built files..."
rm
-rfv
"./logs"
...
...
network-visualiser/start.sh
View file @
a546c243
...
...
@@ -44,7 +44,7 @@ if ! [ -n "$JRE_HOME" -o -n "$JAVA_HOME" ]; then
export
JRE_HOME
=
"
$(
readlink
-v
-e
"
$(
which java
)
"
|
sed
's:bin/java::'
)
"
fi
LOCAL_DIR
=
"
$(
readlink
-f
"
$(
dirname
"
$0
"
)
"
)
"
LOCAL_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
export
SEGRID_HOME
=
"
$LOCAL_DIR
"
export
CATALINA_BASE
=
"
$LOCAL_DIR
/catalina"
...
...
sdncontroller/run-sdncontroller.sh
View file @
a546c243
#!/usr/bin/env bash
# Set paths
BASE_DIR
=
"
$(
readlink
-f
"
$(
dirname
$0
)
"
)
"
BASE_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
TARGET_DIR
=
"
${
BASE_DIR
}
/target"
LIB_DIR
=
"
${
BASE_DIR
}
/lib"
CONFIG_DIR
=
"
${
BASE_DIR
}
/config"
...
...
xml-proxy/run-xmlproxy.sh
View file @
a546c243
#!/usr/bin/env bash
# Set paths
BASE_DIR
=
"
$(
readlink
-f
"
$(
dirname
$0
)
"
)
"
BASE_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
TARGET_DIR
=
"
${
BASE_DIR
}
/target"
LIB_DIR
=
"
${
BASE_DIR
}
/lib"
CONFIG_DIR
=
"
${
BASE_DIR
}
/config"
...
...
xml-proxy/test/run-mininet-client.sh
View file @
a546c243
#!/usr/bin/env bash
BASE_DIR
=
"
$(
readlink
-f
"
$(
dirname
$0
)
"
)
"
BASE_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
TARGET_DIR
=
"
${
BASE_DIR
}
/../target"
XML_PROXY_JAR
=
"
${
TARGET_DIR
}
/varanus-xmlproxy.jar"
...
...
xml-proxy/test/run-xml-client.sh
View file @
a546c243
#!/usr/bin/env bash
BASE_DIR
=
"
$(
readlink
-f
"
$(
dirname
$0
)
"
)
"
BASE_DIR
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
TARGET_DIR
=
"
${
BASE_DIR
}
/../target"
XML_PROXY_JAR
=
"
${
TARGET_DIR
}
/varanus-xmlproxy.jar"
...
...
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