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
Thomas Vachuska
2015-05-21 12:15:36 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a9d63e1fdd5dc51e7e5d1151c3e9c2f113adfc7
4a9d63e1
1 parent
e9002d03
Improving push through proxy tool
Change-Id: I27e4fca905bf2f7f732a05941e9082ae713f6529
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
tools/test/bin/onos-push-bits-through-proxy
tools/test/bin/onos-push-bits-through-proxy
View file @
4a9d63e
...
...
@@ -6,6 +6,7 @@
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
OCT
=
${
OCT
:-
$OCI
}
node
=
${
1
:-
$OCT
}
remote
=
$ONOS_USER
@
$node
shift
...
...
@@ -13,7 +14,7 @@ shift
echo
"Pushing to proxy
$node
..."
onos-push-bits
$node
others
=
$(
env | sort | egrep
"OC[0-9]+"
| cut -d
=
-f2
)
others
=
$(
env | sort | egrep
"OC[0-9]+"
| cut -d
=
-f2
| grep -v
$OCT
)
for
other
in
$others
;
do
echo
"Pushing to
$other
..."
...
...
Please
register
or
login
to post a comment