196 Commits

Author SHA1 Message Date
Jonathan Hart
e3c951e940 Use OpenJDK version 8 rather than 7 in bash_profile
Change-Id: Ie8de65f2194feee578d4f4622e01cabb45445bbb
2015-07-14 20:39:52 +00:00
alshabib
b6ba5083a7 adding a simple script to purge topic branches from your local repo.
It works by checking if your branchs' gerrit change id is present in master
if yes it adds the branch to the list of branches to clean.

You must run it with --confirm to delete otherwise only a dry-run will be done
You can also run it with --one-by-one where it will ask you to confirm each branch deletion

Change-Id: Iaabe1a6db72242fd31b14302fb3109e8545a0ad8
2015-07-09 23:36:35 +00:00
Thomas Vachuska
e76f653a89 Improving net test tools and scenarios.
Change-Id: I2b53fa7b28e1135d2356ae58d4ee8ac35184d9b8
2015-07-09 06:47:53 +00:00
Thomas Vachuska
0a4c27015a Adding a basic mininet-based test to STC scenarios.
Change-Id: I193013608e8fcdaede8987536e754da6d1a185bf
2015-07-06 20:27:01 +00:00
Flavio Castro
574d238d8a Adding installation script for Ubuntu 14.04
Change-Id: Ibd215d2c8af82a9e725d159d710a80a4263515ab
2015-06-30 01:47:40 +00:00
Brian O'Connor
7a9aeab628 Improving onos-create-app script to print message when artifactId is not provided on command line.
This replaces the "onos-create-app: line 31: [: argument expected" error message.

Change-Id: I58e08f302edf2a5068adf993cdbc55e71b9578bf
2015-06-22 13:37:09 -04:00
Thomas Vachuska
4bfccd54b4 Enhancing STC and scenarios.
Change-Id: I57a4d25b7fb726a1242073055474ff5c7c3c1087
2015-05-30 00:35:25 -07:00
Charles M.C. Chan
e39f3145c3 Fix tle command
Change-Id: I7cdbc231655f5a26c8d00e8de1fcc8fdf7eeee62
2015-05-22 18:35:24 +08:00
Charles M.C. Chan
1d003e9f54 Properly unset ONOS_IP environment variable in cell command
Change-Id: Ibf41e16c11b1c46a8258193640b4d7d18134ec88
2015-05-21 15:31:13 +00:00
Thomas Vachuska
3f23ea93a1 Added jdvue project to obs.exclude
Change-Id: I989d3effab62d9b551750237f8c86baa4b2a9961
2015-05-21 08:14:35 -07:00
Thomas Vachuska
bf916ea1a4 Moved Tunnel subsystem to ONOS core incubator area.
Change-Id: I03f90b068013fbf0490af5277b33459ccc0514ec
2015-05-20 18:24:34 -07:00
Thomas Vachuska
ba082b80b8 Removing hazelcat dependency throughout.
Change-Id: I738050fda142418d2956f613035892dac82ef098
2015-05-20 23:21:47 +00:00
Thomas Vachuska
69bf7c1f29 Fixing port for clustering.
Change-Id: I0d0893f3ba32fae5c690603bd074f79f5ec6b3f4
2015-05-20 13:59:22 -07:00
Thomas Vachuska
3cd677dda2 Added a few more short-hand aliases for checking logs for errors.
Change-Id: Iecb12af748c876a6e6be276eb8da1468047b2e90
2015-05-20 18:57:54 +00:00
Thomas Vachuska
0799280ac9 Removed legacy GUI.
FIxed an NPE in the devices table.
Added cord-gui to obs.exclude

Change-Id: I18a53d2c44c6c97fb7f5d16b7446942a1a37ddca
2015-05-15 15:32:04 +00:00
Thomas Vachuska
47dbe17c06 Added openflow/drivers to obs.exclude
Change-Id: I5854c872041a2224f6e6e73a029c6589b7894b34
2015-05-13 13:15:02 -07:00
Thomas Vachuska
6723a48c00 Simplified onos-app reinstall usage to extract app name from the oar file.
Change-Id: I7e5efc2af4f2b0ced41caeeef67bc456243ddc62
2015-05-01 20:25:30 +00:00
Thomas Vachuska
615361e5f3 Moved some dev tools from test/bin to dev/bin.
Added onos-create-app as a convenience.

Change-Id: Ide9b9801a0a1d2229a153b85e23766f6018a8267
2015-05-01 18:19:32 +00:00
Roan Huang
0fa4bc413e Ensure that $ONOS_CELL variable will not be overwritten when bash profile is loaded
you don't need to reload cell enviroment when open new terminal.

Change-Id: I073a6de71376e868d96e5216509c1d6b52bc7e52
2015-05-01 18:04:23 +08:00
Thomas Vachuska
d1f17ac953 Fixing onos-build-selective to warp into the $ONOS_ROOT directory as a first thing.
Change-Id: Ic953978f1b6add6909bde2fef2fddd8471f97bf3
2015-04-28 19:46:48 +00:00
Brian O'Connor
9d7ef16825 Adding */docs/* to onos-build-selective.exclude
fixes ONOS-1779

Change-Id: I8dbb8d05fa5d529a9fc4dedf806968e1ae1256d5
2015-04-27 17:02:11 -07:00
Thomas Vachuska
0f6d0b81cf Adding IDEA settings for import.
Change-Id: I9a8f2f28f694898eada9a5dec55941f96d436bfc
2015-04-26 21:43:22 +00:00
Charles M.C. Chan
870cc030ba Log tools improvement
- Add 'olo' command to filter log of remote ONOS instance
- Modify 'onos-log' such that it can run on OSX

Change-Id: Iddab996564af01672c14caca725397c574267bad
2015-04-23 21:09:13 +00:00
Thomas Vachuska
fcd6114552 Enhanced onos-setup-karaf to be more robust and more friendly. It will validate the specified IP, if given. Otherwise, it will attempt to use ONOS_IP and if that's not available ONOS_NIC to find an adapter with a matching IP address. Usage is backwards compatible.
Also added new onos-karaf command which runs onos-setup-karaf && karaf $@ as a convenience; aliased to 'ok'.

Corrected onos-build-selective to propagate error status only if the build fails.

Change-Id: I920b06fa21edc95b7d651270efe2f95da90ff010
2015-04-23 13:59:08 -07:00
Thomas Vachuska
87994d0d68 Enhanced onos-build-selective to react to any src file modifications and to also result in a cascaded build of app modules which require the modified modules.
Change-Id: I1c41ca2d11c936bfeb7307ce0e01b20d0141daa6
2015-04-23 20:03:59 +00:00
Thomas Vachuska
152f9fdf30 Shutdown cleanup; hunt for exceptions continues
Change-Id: I8cbfaec0820d63f5122a82dd25ba249ba1f690a4
2015-04-03 00:01:31 +00:00
Thomas Vachuska
5630c61407 ONOS-1323 Upgrading environment to use Apache Karaf 3.0.3
Requires restart of any dev shell sessions that may have KARAF_VERSION=3.0.2 already set.

Developers that have their own local Karaf will have to run 'onos-setup-karaf <ip-address>' command

Change-Id: Iba234b3cd5af89de6dd249c97cac97525364cc34
2015-03-25 00:56:59 +00:00
Jonathan Hart
c39773cf24 Exclude tools/package/maven-plugin from obs
because it is not linked in to the build tree.

Change-Id: I455a4d652e320f5c2e8bddb55cd3645aa54e0691
2015-03-23 22:09:55 +00:00
Thomas Vachuska
785f581408 ONOS-1328 Converted ONOS features to apps.
ONOS_FEATURES env. var is now deprecated!

Cells are expected to use ONOS_APPS env. var to tailor which builtin apps should be activated by default.  All builtin apps are installed by default, but can be uninstalled if desired.

Cleaned up cell definitions accordingly.

Change-Id: If3bb4691a73543a69197f4bf1855c8368f558450
2015-03-20 00:37:50 +00:00
Charles M.C. Chan
e5b610ee26 Update environment settings for maven 3.3.1
For those who use 3.2.3 (as specified in Blackbird), here is the upgrade instruction.
cd ~/Downloads
wget https://www.apache.org/dist/maven/maven-3/3.3.1/binaries/apache-maven-3.3.1-bin.tar.gz
tar -zxvf apache-maven-3.3.1-bin.tar.gz -C ~/Applications/

Change-Id: I11d98faf1405e120fdff5748c5875c8842f4c58d
2015-03-19 21:30:21 +00:00
Jonathan Hart
fccd312f2a Add exclusion for grouphandler to obs
Change-Id: I90ec773508e1de979ed76d8c91cc3e74e1b4944f
2015-02-17 21:53:17 +00:00
Ayaka Koshibe
ebb54444b9 Update cell related util scripts to support larger cluster [ONOS-467]
Change-Id: Ie182397b7da92212cdaf6e1622b1482408b6de59
2015-01-17 05:18:59 +00:00
Sho SHIMIZU
c02c0b8546 WIP: Resolve conflict with Go language "go" command
Resolve ONOS-475

Change-Id: If0ffe6aea59b4286bb966f15d741526951fd9915
2015-01-09 21:48:51 +00:00
Ayaka Koshibe
aec6296229 Initial cut of onos-group script for running a subset of commands
against multiple ONOS instances:

  - onos-install
  - onos-push-keys
  - onos-kill
  - onos-patch-vm
  - onos-uninstall

onos-group is simply a wrapper that does minimal sanity checks. New
commands are added by adding them to the GOPTS list in ogroup-opts.

Reference: ONOS-536

Change-Id: Ib3055491fec80e8759e87594e81a88285546deaf
2015-01-09 03:15:04 +00:00
Ayaka Koshibe
a99851345e vicell command for editing/applying cell configurations
Change-Id: I3e9731342ef015649978941ba984af4fc0af41d2
2014-12-22 02:28:17 +00:00
Charles M.C. Chan
dfbc6d81ac ONOS-487: Allow ONOS to be installed using different user/group
Change-Id: Ica926a2a6e0870e3aeab1e1585073196358c8184
2014-12-18 17:27:24 +00:00
Charles M.C. Chan
b8b96c1b31 ONOS-461: Update maven version in bash_profile
Change-Id: Id80f9a2655a0c00f4d9577b741ca8db3f66f3232
2014-12-08 19:41:53 -08:00
Thomas Vachuska
0a1e5494ba Fixed obs to ignore disconnected foo project.
Change-Id: I216611a83fbafe22e0a2469f8d058200395d0a77
2014-12-08 08:52:50 -08:00
alshabib
ab98466b10 adding license to ALL files
Change-Id: I9df3277760d79732317816fe5b2f1f482e9f5375
2014-12-05 05:05:32 +00:00
Thomas Vachuska
fc7f22d17d Adding archetype for onos-bundle and onos-cli projects.
Change-Id: I5df9db6a571be682ff2200c182bad8100dd95bfe
2014-12-04 20:06:14 +00:00
Thomas Vachuska
045c01da31 Adding packaging on onos*.zip file.
Modified Version.java to allow 3-segment version.
Changed onos-next to onos as default for ONOS_ROOT.

Change-Id: Ifbde9dfbc7af9a5891e9f41db6932859c0f59660
2014-12-04 08:22:00 +00:00
Thomas Vachuska
bbea58c90e Fixing 'tlo' alias after rename.
Change-Id: I9cf378ea408c6e4e2d3abaaf1e517909ceb4ea30
2014-12-02 22:50:10 -08:00
Thomas Vachuska
255b65fd06 Changed KARAF_HOME to KARAF_ROOT as it was conflicting with KARAF's own and emitting annoying warnings.
Change-Id: I982701bd1ae9ecbb3c354cddf2f765b9569b02b9
2014-11-23 14:25:31 -08:00
Yuta HIGUCHI
007cdffaaa Add mcis, mis alias which skips test and checkstyle
Change-Id: I2488ae758567da2d6d3f0b27c47346f88b5e686c
2014-11-20 14:54:19 -08:00
Thomas Vachuska
85314296e1 Added a short-hand for setting the OCI variable.
Added export.

Change-Id: I1e9b5366ce460995d494f7df81659fea0b6c8584
2014-11-15 11:40:46 -08:00
Pavlin Radoslavov
4d97dfcf10 Fixes for the csh/tcsh configuration file: KARAF -> KARAF_HOME
Change-Id: I67fea8db6ebeca8cf8086d900f675475df367904
2014-11-10 10:29:31 -08:00
Yuta HIGUCHI
841655425c renamed KARAF -> KARAF_HOME
Change-Id: I13418ccedb4fa860e7a67b629b6377a5b0b8d4d6
2014-11-09 20:26:37 -08:00
Yuta HIGUCHI
050345959d some what improved Eclipse formatter settings
Change-Id: If13429ef00616c511dd53fcf5a728dc0986832b4
2014-11-06 10:34:50 -08:00
Thomas Vachuska
24de2a6eea Added the velocity header template. 2014-11-04 20:33:35 -08:00
Thomas Vachuska
7cbfd4fd91 Fixed a number of javadoc warnings and cleaned up aggregate javadocs. 2014-11-04 18:22:49 -08:00