401 Commits

Author SHA1 Message Date
Thomas Vachuska
3430984652 Changed onos-log to allow for both Linux & Darwin (OSX) platforms to work. The --pid option is required in order for tail to wake-up when the owning process dies.
Change-Id: Ifb86517b0abfe1d781b15408e3619deacfeb2523
2015-04-23 23:24:05 +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
aa226b12ad Enhanced onos-log to allow remotely grepping through the logs. usage: onos-log [-l] [remote-ip [{karaf-instance-id|-} [ere-pattern]]]
Change-Id: I598f0f5dd5f7f5436c0459f93944d0303cfa355e
2015-04-23 03:10:49 +00:00
Thomas Vachuska
daaa42d455 Fixed device subsystem behaviour where auxiliary provider prevented emitting device availability change events.
Change-Id: Iaed6359598ff87d5706e10eb9d905ed0883617d9
2015-04-21 23:25:06 +00:00
Thomas Vachuska
41e8c18f22 Simplified app packaging to use just project.version rather than short.version.
Change-Id: I58c30b663810de42890b75bbcef5c7dc5a4a87ba
2015-04-21 21:23:11 +00:00
Thomas Vachuska
586afd8e2b Removing need for boilerplate app.xml; Instead defining onos.app.name and onos.app.origin (optional) is sufficient to trigger generation of boilerplate app.xml and features.xml files.
Change-Id: Ied8f3f8bf8774fae85e11c79a733b34dd5868949
2015-04-20 14:36:02 +00:00
Thomas Vachuska
db7467ace2 Separating onos-drivers to be delivered as a separate app from onos-openflow. Apps activated by default (via onos-setup-karaf or onos-install/onos-config) are now onos-drivers and onos-openflow.
Change-Id: I35c7cca79a4b72e966cbc2cebe72b109f2d92706
2015-04-17 19:41:30 +00:00
Thomas Vachuska
9411780ac4 Fixing usage of onos-app shell utility.
Change-Id: Ibb935312ffc2a9e2eb9e1687d36be23541094a2c
2015-04-17 18:14:42 +00:00
Thomas Vachuska
a7a0f560a2 Converting builtin applications to be delivered in a self-contained manner via OAR files.
Change-Id: I5b7c6939aacc263248868fac2e0f69124c5f3609
2015-04-16 14:04:35 -07:00
Brian O'Connor
bf7eca5870 Updating onos-maven-plugin to use localRepository from Maven
rather than explicit path

Also, updating root pom.xml to point to the version and
temporarily build the plugin

Change-Id: I1a6cdaf3d384dff77cd9b4566a8c46707b789308
2015-04-15 23:36:54 +00:00
fahad
44e62c7e0f Lots of improvements in opticalUtils.py
Now we can controll LINC components from mininet e.g swtich start/stop or link up/down
-Added LINCSwitch, LINCIntf and LINCLink classes
    -fixed start/stop LINC-Switch bug related to taps
    -refactored opticalUtils.py
    -fixed typo
    -Implemented LINC-CLI support in LINCSwitch class
    -Added support for link up/down from mininet
    -Added support for switch start/stop from mininet
    and many more :)

Change-Id: Ide6460081a554ea3ca9146be480ae016d7d2356d
2015-04-15 23:35:25 +00:00
Brian O'Connor
d4170ba3a0 Rolling onos-maven-plugin version to 1.4-SNAPSHOT
Change-Id: I1a8bf425f277cc9f0e81a917fbce094a164cb12c
2015-04-15 14:01:50 -07:00
Brian O'Connor
5c9386b080 Rolling onos-maven-plugin version to 1.3 for release
Change-Id: If09ac0563353b0c95c6546b9c0ae51e277690bb7
2015-04-15 14:01:50 -07:00
Thomas Vachuska
a7a022051d Fixed a defect on OnosAppMojo to allow apps to properly stage their own artifacts.
Change-Id: Iea33baec27820663524ba84524ff9acb40d7a9b3
2015-04-15 14:01:50 -07:00
Simon Hunt
fd8c7d7288 GUI -- Reworked sprite definition loading via websocket events.
- includes option to specify sprite definition id: #/topo?sprites=defn_name.

Change-Id: If2ce59384e01bb5f35827a503748e21ab4fb1b31
2015-04-14 17:53:49 -07:00
Brian O'Connor
3938f61406 Adding newline to onos-app plugin because json output doesn't contain one
Change-Id: I55286436cfa819355aa7fbea55c0908053ce45a7
2015-04-14 15:01:32 -07:00
Brian O'Connor
a795d1ea22 Bumping onos-maven-plugin version to 1.3-SNAPSHOT
Change-Id: I5ae8923f9c7339e1f72a332f5bc22d7faacf0e0f
2015-04-14 15:00:53 -07:00
Brian O'Connor
4322fc17f0 Bumping onos-maven-plugin version to 1.2
Change-Id: Ia5f8e9bba8937a58cac44f4d52317b7271ac5d19
2015-04-14 15:00:25 -07:00
Thomas Vachuska
a98ae7f1c1 ONOS-1290 Implemented OnosAppMojo for packaging and installing ONOS apps as Maven artifacts.
Change-Id: Id9452beea46f37bd0f0737f478f2a2541dc5deb9
2015-04-14 21:13:45 +00:00
Srikanth Vavilapalli
4db76e300f ONOS-685: Network Configuration Manager support for Segment Routing application
Change-Id: Ia15bfd24559dd5542633c8b76d500b2d31362340
2015-04-14 21:06:43 +00:00
Thomas Vachuska
9ed335bad1 GUI -- Added facility to upload and track various sprite JSON definitions. WIP
Change-Id: I5629e07d84b91d2d885737a9011acc4e13538cf2
2015-04-14 12:07:47 -07:00
Thomas Vachuska
c40d463c27 Consolidating null providers and making them fully configurable and integrated with the ConfigProvider to allow arbitrary topologies.
Change-Id: I899e27a9771af4013a3ce6da7f683a4927ffb438
2015-04-14 01:23:24 -07:00
Jonathan Hart
af53b601c2 Use initctl commands rather than service to control the ONOS service.
This supports a wider variety of OSes other than just Ubuntu.

Change-Id: Ib8505aa504f568ffdc556b20fb1d07a082d90229
2015-04-09 18:00:32 +00:00
Thomas Vachuska
152f9fdf30 Shutdown cleanup; hunt for exceptions continues
Change-Id: I8cbfaec0820d63f5122a82dd25ba249ba1f690a4
2015-04-03 00:01:31 +00:00
Thomas Vachuska
de563cf235 Added ability to form a cluster via REST API.
Change-Id: Ib71f6b4caed1b1c4b9db78596ee35bf5cab05184
2015-04-01 20:39:37 +00:00
Jon Hall
842a197815 Check rotated logs as well as the current file
Change-Id: I1442a54f3c81a68809016fbf50c9c065a58ba15a
2015-04-01 18:53:43 +00:00
Thomas Vachuska
c4cb1002d1 Added support to pre-stage apps as part of onos-setup-karaf.
Fixed onos-app reinstall command usage.

Change-Id: I1f5eb084a06fb16f7b2db7b61376211c25c4327a
2015-03-29 17:29:51 +00:00
Jonathan Hart
b4317d7453 Restrict the key file permissions as required by some OSes
Change-Id: I1774c8e50a8cabc7d4ac8046ed1325160b5fc0c3
2015-03-27 22:41:30 +00:00
Jonathan Hart
54b4a373fe Run ifconfig as sudo for OSes that require it
Change-Id: I4fbfa5ba90cde1c6d8a608f1883ae3183abf4c6b
2015-03-27 15:34:32 -07:00
Thomas Vachuska
fba2857430 Enhanced app CLI.
apps now support -a|--active option to show only activated apps.

app command now takes a list of app ids to allow single command to activate/deactivate/uninstall multiple apps

Deprecated old CLI commands which were already not included in the run-time config.

Consolidated intent & topology metrics to use the same app id since they are bundled into the same app.

Added 'reinstall' and 'reinstall!' option to onos-app tool.

Change-Id: I1406843bf608acf8e7d969a547b929d056e77067
2015-03-27 21:54:36 +00:00
Brian O'Connor
68ddd74af2 Updating onos-change-version to roll fallback version in CoreManger
Change-Id: I5d69a0b3f52d9f0e499663dff46692feb630a0b4
2015-03-25 21:24:09 +00:00
Thomas Vachuska
5167aadd8c Adding onos-openflow as a default feature for the local karaf setup.
Change-Id: I9191a07b46933057825d393973d8055886ae2aa9
2015-03-25 11:29:07 -07: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
Brian O'Connor
0a53facc44 Adding log writer command
Change-Id: I817f658f626a8f35ef276dbecb7c1535983f51c9
2015-03-22 23:36:32 +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
Thomas Vachuska
eef7f3ae59 Adding tool to spawn iTerm configuration for monitoring logs of the current cell instances: 'onos-iterm-logs'
Adding tool to spawn iTerm configuration for executing commands against the current cell instances: 'onos-iterm-cli'

Change-Id: I356603eb9b77779e2c1025adf0cf2c8816acd1ed
2015-03-19 05:04:31 +00:00
Thomas Vachuska
84ca6e751e Fixed Apache Karaf fetch URL to use onosproject.org.
Change-Id: I9ed7220df490c90619665e38cb9c4979250c54e5
2015-03-18 14:31:29 -07:00
Brian O'Connor
988fc2a59d Updating POM_VERSION in envDefaults
Change-Id: Ie1ddfda0caf30d1f35ba3ae0e408ea1887348676
2015-03-17 20:32:35 -07:00
Brian O'Connor
6ea48a22fe Starting snapshot 1.2.0-SNAPSHOT
Change-Id: Iffa1055c22448849353ede6581c277f4d3de78d8
2015-03-17 20:07:20 -07:00
Brian O'Connor
91d9019b24 Tagging ONOS Blackbird release: 1.1.0
Change-Id: Iee1accb8f83e03a1c4b2250d36d48aefd6383c97
2015-03-17 19:45:58 -07:00
Brian O'Connor
d783f2f5e8 adding maven-plugin to onos-change-version
Change-Id: I0e568213f5752174df0610426c38aa88e0d6bbd3
2015-03-17 19:12:37 -07:00
Brian O'Connor
75156cb7ee fixing typo in onos-release
Change-Id: I7cad57f75ff1a782ac88c72bc5a1c95df1338989
2015-03-17 18:55:59 -07:00
Thomas Vachuska
7648d662b1 Prototyping GUI & CLI for the intent performance test fixture.
Change-Id: I1f33872e62b55d168ccd8f2904472e41ecba4cc8
2015-03-17 18:19:00 +00:00
Thomas Vachuska
8c8b0372e5 Adding OnosCfgMojo to the onos maven plugin.
Removing previously manuall generated files since they are now auto-generated.

Change-Id: I1f8361f97db74c9e2f077b3d5e7a6e65876561ef
2015-03-13 03:42:02 +00:00
Thomas Vachuska
734b749c17 Fixing onos-package not to be sensitive to cell settings and instead allowing onos-config (used from onos-install) to be fully sensitive to cell settings.
Added onos-package-test and onos-push-test-bits scripts.

Change-Id: Ie3f829f8a6e6d8a419388428feca56b69635ed44
2015-03-13 03:39:48 +00:00
Brian O'Connor
6b30e1b5d8 Updates to the release scripts
Change-Id: I4584bd5c66c22bb2ffe3d8f73923cff8807d5008
2015-03-11 16:44:47 -07:00