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-23 17:33:58 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82d6bde9d18b90bde46902adc0e3b2dfff129842
82d6bde9
1 parent
1a2908c8
Fixing test scripts.
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
29 additions
and
5 deletions
apps/tvue/src/main/webapp/WEB-INF/web.xml
features/features.xml
tools/build/onos-build
tools/build/onos-package
tools/test/bin/onos-test → tools/build/onos-test
tools/dev/bash_profile
tools/test/bin/onos-check-logs
apps/tvue/src/main/webapp/WEB-INF/web.xml
View file @
82d6bde
...
...
@@ -16,7 +16,7 @@
<param-name>
com.sun.jersey.config.property.packages
</param-name>
<param-value>
org.onlab.onos.tvue
</param-value>
</init-param>
<load-on-startup>
1
</load-on-startup>
<load-on-startup>
1
0
</load-on-startup>
</servlet>
<servlet-mapping>
...
...
features/features.xml
View file @
82d6bde
...
...
@@ -93,8 +93,8 @@
<feature
name=
"onos-app-tvue"
version=
"1.0.0"
description=
"ONOS sample topology viewer application"
>
<feature>
onos-thirdparty-web
</feature>
<feature>
onos-api
</feature>
<feature>
onos-thirdparty-web
</feature>
<bundle>
mvn:org.onlab.onos/onos-app-tvue/1.0.0-SNAPSHOT
</bundle>
</feature>
...
...
tools/build/onos-build
0 → 100755
View file @
82d6bde
#!/bin/bash
#-------------------------------------------------------------------------------
# Builds the ONOS from source.
#-------------------------------------------------------------------------------
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
cd
$ONOS_ROOT
mvn clean install
&&
mvn javadoc:aggregate
\ No newline at end of file
tools/build/onos-package
View file @
82d6bde
...
...
@@ -51,7 +51,7 @@ perl -pi.old -e "s|^(featuresRepositories=.*)|\1,mvn:org.onlab.onos/onos-feature
$ONOS_STAGE
/
$KARAF_DIST
/etc/org.apache.karaf.features.cfg
# Patch the Apache Karaf distribution file to load ONOS features
perl -pi.old -e
's|^(featuresBoot=.*)|\1,onos-api,onos-core,onos-cli,onos-rest,onos-gui,onos-openflow,onos-app-tvue,onos-app-fwd|'
\
perl -pi.old -e
's|^(featuresBoot=.*)|\1,onos-api,onos-core
-trivial
,onos-cli,onos-rest,onos-gui,onos-openflow,onos-app-tvue,onos-app-fwd|'
\
$ONOS_STAGE
/
$KARAF_DIST
/etc/org.apache.karaf.features.cfg
# Patch the Apache Karaf distribution with ONOS branding bundle
...
...
tools/
test/bin
/onos-test
→
tools/
build
/onos-test
View file @
82d6bde
File moved
tools/dev/bash_profile
View file @
82d6bde
...
...
@@ -28,8 +28,9 @@ function o {
# Short-hand for 'mvn clean install' for us lazy folk
alias
mci
=
'mvn clean install'
# Short-hand for ONOS build from the top of the source tree.
alias
ob
=
'o && mvn clean install javadoc:aggregate'
# Short-hand for ONOS build, package and test.
alias
ob
=
'onos-build'
alias
op
=
'onos-package'
alias
ot
=
'onos-test'
# Short-hand for tailing the ONOS (karaf) log
...
...
tools/test/bin/onos-check-logs
0 → 100755
View file @
82d6bde
#!/bin/bash
#-------------------------------------------------------------------------------
# Checks the logs of the remote ONOS instance and makes sure they are clean.
#-------------------------------------------------------------------------------
[
! -d
"
$ONOS_ROOT
"
]
&&
echo
"ONOS_ROOT is not defined"
>&2
&&
exit
1
.
$ONOS_ROOT
/tools/build/envDefaults
remote
=
$ONOS_USER
@
${
1
:-
$OCI
}
LOG
=
$ONOS_INSTALL_DIR
/log/karaf.log
ssh
$remote
"egrep 'ERROR|Exception'
$LOG
"
Please
register
or
login
to post a comment