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
tom
2014-10-07 09:28:53 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca8f670643795795242998a8596bde703c7c2905
ca8f6706
1 parent
6db1f0a8
Added onos-push-update-bundle (yes 'pub')
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
tools/dev/bash_profile
tools/test/bin/onos-push-update-bundle
tools/dev/bash_profile
View file @
ca8f670
...
...
@@ -33,6 +33,7 @@ alias obs='onos-build-selective'
alias
op
=
'onos-package'
alias
ot
=
'onos-test'
alias
ol
=
'onos-log'
alias
pub
=
'onos-push-update-bundle'
# Short-hand for tailing the ONOS (karaf) log
alias
tl
=
'$ONOS_ROOT/tools/dev/bin/onos-local-log'
...
...
tools/test/bin/onos-push-update-bundle
View file @
ca8f670
...
...
@@ -15,6 +15,7 @@ bundle=$(echo $(basename $jar .jar) | sed 's/-[0-9].*//g')
nodes
=
$(
env | sort | egrep
"OC[0-9]+"
| cut -d
=
-f2
)
for
node
in
$nodes
;
do
scp
$jar
$ONOS_USER
@
$node
:
$ONOS_INSTALL_DIR
/
$KARAF_DIST
/system/
$jar
ssh
$ONOS_USER
@
$node
$ONOS_INSTALL_DIR
/bin/onos update
$bundle
scp -q
$jar
$ONOS_USER
@
$node
:
$ONOS_INSTALL_DIR
/
$KARAF_DIST
/system/
$jar
ssh
$ONOS_USER
@
$node
"ls -l
$ONOS_INSTALL_DIR
/
$KARAF_DIST
/system/
$jar
"
ssh
$ONOS_USER
@
$node
"
$ONOS_INSTALL_DIR
/bin/onos
\"
bundle:update -f
$bundle
\"
"
2>/dev/null
done
...
...
Please
register
or
login
to post a comment