Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Pavlin Radoslavov
2014-10-16 17:45:48 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
711145a2844bc51386b070912dd5c5c00b6ea0ef
711145a2
1 parent
4e62e9a6
Fix the assignment / usage of OC0 environmental variable so
now it is allowed / handled.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
tools/dev/bash_profile
tools/test/bin/onos-show-cell
tools/dev/bash_profile
View file @
711145a
...
...
@@ -67,14 +67,14 @@ function cell {
[
! -f
$ONOS_ROOT
/tools/test/cells/
$1
]
&&
\
echo
"No such cell:
$1
"
>&2
&&
return
1
unset
ONOS_CELL ONOS_NIC ONOS_FEATURES
unset
OC1 OC2 OC3 OC4 OC5 OC6 OC7 OC8 OC9 OCN OCI
unset
OC
0 OC
1 OC2 OC3 OC4 OC5 OC6 OC7 OC8 OC9 OCN OCI
export
ONOS_CELL
=
$1
.
$ONOS_ROOT
/tools/test/cells/
$1
cell
else
env | egrep
"ONOS_CELL"
env | egrep
"OCI"
env | egrep
"OC[
1
-9]+"
| sort
env | egrep
"OC[
0
-9]+"
| sort
env | egrep
"OCN"
env | egrep
"ONOS_"
| egrep -v
'ONOS_ROOT|ONOS_CELL'
fi
...
...
tools/test/bin/onos-show-cell
View file @
711145a
...
...
@@ -42,7 +42,7 @@ fi
echo
"ONOS_CELL=
${
ONOS_CELL
}
"
echo
"ONOS_NIC=
${
ONOS_NIC
}
"
for
n
in
{
1
..9
}
;
do
for
n
in
{
0
..9
}
;
do
ocn
=
"OC
${
n
}
"
if
[
-n
"
${
!ocn
}
"
]
;
then
echo
"
$ocn
=
${
!ocn
}
"
...
...
Please
register
or
login
to post a comment