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-09-22 22:34:01 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
126852b3f1c08ca4fcca2d1815acbb56d1b9de26
126852b3
1 parent
2d7acb7d
Added a number of test tools.
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
tools/dev/bash_profile
tools/test/bin/onos-ssh
tools/dev/bash_profile
View file @
126852b
...
...
@@ -46,10 +46,7 @@ alias gui='open http://localhost:8181/onos/tvue'
# Test related conveniences
# SSH to a specified ONOS instance
function
sshctl
{
[
-n
"
$1
"
]
&&
OCI
=
$1
&&
shift
ssh -Y sdn@
$OCI
"
$@
"
}
alias
sshctl
=
onos-ssh
# Applies the settings in the specified cell file or lists current cell definition
# if no cell file is given.
...
...
tools/test/bin/onos-ssh
0 → 100755
View file @
126852b
#!/bin/bash
#-------------------------------------------------------------------------------
# Logs in to the remote ONOS instance.
#-------------------------------------------------------------------------------
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
[
-n
"
$1
"
]
&&
OCI
=
$1
&&
shift
ssh -Y
$ONOS_USER
@
$OCI
"
$@
"
Please
register
or
login
to post a comment