401 Commits

Author SHA1 Message Date
Pavlin Radoslavov
4e62e9a69b Added config file for csh/tcsh. It is based on the 'bash_profile' file,
but with several differences:
 * Default ONOS_ROOT value is $HOME/onos instead of $HOME/onos-next
 * Convenience utility functions and aliases are not included
 * $MAVEN/bin is not included in the executable path
 * The 'cell' funcion from BASH is renamed to 'onos-setup-cell'
   Also, 'onos-setup-cell' always requires an argument: the cell name
   Displaying the current cell setup can be done by the
  'onos-show-cell' script
2014-10-16 17:41:10 -07:00
Pavlin Radoslavov
caf19cfff0 Update the "onos-service" command:
- add a mechanism to print the usage.
 - If the target is "--cell", the service command is executed on each
   node in the current ONOS cell.

Usage:     onos-service <TARGET> [COMMAND]
           onos-service [-h | --help]
Options:
    TARGET          The target of the command
    COMMAND         The command to execute. Default value is 'status'
    [-h | --help]   Print this help

TARGET:  <hostname | --cell>
      hostname        Execute on the specified host name
        --cell        Execute on the current ONOS cell

COMMAND: [start|stop|restart|status]
2014-10-16 17:29:13 -07:00
Thomas Vachuska
cce11ca2da Fixing some cell definitions and features. 2014-10-16 11:52:29 -07:00
Ayaka Koshibe
760a7f9745 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoPoolUtil.java

Change-Id: I6a8fc884f0c0b6578762d7b439177378e838735f
2014-10-16 10:57:12 -07:00
Pavlin Radoslavov
93617211ab Update to the tools scripts:
* Update to envDefaults: if environmental varialbe ONOS_CELL is set,
   the load it, so its variables can be used by other scripts

 * Modifications inside tools/dev/bash_profile:
   - Update the setting of JAVA_HOME so it works for Ubuntu with
     OpenJDK-1.7
   - Removed "." from being added to the PATH, because it is a security hole
2014-10-16 10:00:17 -07:00
Ayaka Koshibe
e8e4535e3c fixes for RoleValue serialization
Change-Id: Ie51d0e16a0623061790523920f6a22aa18e74517
2014-10-16 09:57:34 -07:00
Pavlin Radoslavov
aa90bb535f Minor updates for the tools scripts:
* Add ONOS-specific directories to the executable PATH in the envDefaults file
* Fix a typo inside "onos-show-cell": don't show OC0, because it is not used
2014-10-15 16:28:32 -07:00
Pavlin Radoslavov
0770d0f51f Minor refactoring in the ONOS cell configuration:
* Each cell-specific variable is explicitly listed
   in the cell config file:
   ONOS_CELL, ONOS_NIC, OC1-OC9, OCN, OCI, ONOS_FEATURES

 * Cleanup and bug fixes inside bash_profile:
   - Don't export explicitly OCI and ONOS_CELL, because those
     are now exported in the cell config file
   - unset ONOS_CELL, ONOS_NIC, ONOS_FEATURES (the last two weren't
     unset before)
   - The built-in "cell" function shows OC1 to OC9 instead of OC0-OC9;
     OC0 is never used/setup anywhere else

 * Added two new shell commands:
   - tools/test/bin/onos-lsit-cells : lists existing ONOS cell configurations
     It is the equivalent of the "cells" built-in bash command
   - tools/test/bin/onos-show-cell : shows the configuration of an ONOS cell
     It is the equivalent of the "cell" built-in bash command, but
     it can show also the configuration of any ONOS cell (not only
     the default one).
2014-10-15 16:08:19 -07:00
Pavlin Radoslavov
91413794ef Minor cleanup in some of the shell scripts in the "tools" directory.
No functional changes.

 * Description header formatting
 * Added missing new line at the end of a file
 * Removed extra new lines at the end of a file
2014-10-15 11:03:54 -07:00
Pavlin Radoslavov
4b15407a6a Add missing import of "$ONOS_ROOT/tools/build/envDefaults" 2014-10-15 10:49:23 -07:00
Pavlin Radoslavov
3c4d341b0e Replace hard-coded user-name "sdn" with variable ${ONOS_USER} 2014-10-15 10:22:52 -07:00
alshabib
538fb2a2da Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-13 11:57:40 -07:00
alshabib
2f049014c1 adding proxyarp to office cell
Change-Id: I7c8d70c5d5bcd38b9de1be8d2725568572854916
2014-10-13 11:15:22 -07:00
tom
1f601248d5 Preparing gui module. 2014-10-13 11:10:40 -07:00
tom
00224359a5 Merge remote-tracking branch 'origin/master' 2014-10-13 09:44:40 -07:00
Brian O'Connor
b76fe17d40 adding onos-update-bundle command to push local bundles 2014-10-10 20:16:23 -05:00
tom
9fe723aa45 Merge remote-tracking branch 'origin/master' 2014-10-10 17:58:47 -07:00
Yuta HIGUCHI
17e0d1d207 Revert "attempt to fix error showing up on eclipse"
This reverts commit 5a745071ff8234cd145022486bbd1feb6adf5e6f.
2014-10-10 09:36:21 -07:00
Yuta HIGUCHI
e9d62c0f08 attempt to fix error showing up on eclipse
Change-Id: I2d32ec7c8bfee0e14b67e4eab0eef6e327cd4e1b
2014-10-10 09:36:21 -07:00
Jonathan Hart
8a030cd0f9 Run onos-build-selective-hook with bash to prevent issues on systems with
other default shells
2014-10-10 09:34:44 -07:00
tom
cf8dd2a398 Tweaked bash_profile. 2014-10-10 08:37:20 -07:00
tom
e7f01ee544 Speeding up stuff.
HostDescription now passes up just a single IpAddress.
2014-10-10 00:17:33 -07:00
Jonathan Hart
8af0373868 Use existing JAVA_HOME if one is set 2014-10-09 14:57:00 -07:00
tom
3f1464005f Added protection against project patterns starting with - for onos-push-update-bundle. 2014-10-08 22:44:56 -07:00
tom
a689779d17 Added output of appId to the flow list command. Fixed defect in CoreManager - we forgot to put registered ids in our map. 2014-10-08 22:21:05 -07:00
tom
1a17eb47fe Fixed 'obs' to trigger when any Java source file is newer than the target directory. 2014-10-08 20:21:23 -07:00
tom
e331eb4cb4 Added onos-watch command. 2014-10-08 19:03:32 -07:00
tom
a151274009 Added topo launcher. 2014-10-08 12:33:01 -07:00
tom
61e317d279 Modified envSetup to differentiate between ONOS_POM_VERSION and ONOS_VERSION, where the latter uses build number or user name & time. 2014-10-08 11:18:02 -07:00
tom
e2555ff4f6 Fixed onos-push-update-bundle tool.
Fixed wipe-out command confirmation.
2014-10-07 18:47:58 -07:00
tom
c5a5abc9cd Added time-stamping to the unofficial version number. 2014-10-07 18:26:14 -07:00
tom
53efab57e0 Added Version and CoreService/Manager as an initial outline of a bootstrap coordinator. 2014-10-07 17:43:48 -07:00
tom
9ccb251a8a Modified onos-install to suppress INFO log entries from command line client. 2014-10-07 12:54:53 -07:00
tom
bd8e9c82e0 Add tower topo. 2014-10-07 11:46:15 -07:00
tom
ca8f670643 Added onos-push-update-bundle (yes 'pub') 2014-10-07 09:28:53 -07:00
tom
2228803943 Adding ability to push remote bundle updates. 2014-10-07 08:16:53 -07:00
tom
85258ee4a8 Reworked intent states to the new set of states.
Separate intent state from intent event type.
Implemented new state transitions in IntentManager.
Implemented ObjectiveTracker.
Re-route now works.
2014-10-07 00:10:02 -07:00
tom
95329ebc68 Starting to experiment with flow tracking. 2014-10-06 08:40:06 -07:00
tom
0511a52140 Added an intent completer to the command-line. 2014-10-04 12:06:02 -07:00
tom
9a693fda41 Fixed traffic selector builder to allow only one criterion.
Temporarily disabled flow rule time-out.
2014-10-03 11:32:19 -07:00
alshabib
95cf139886 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-02 17:15:27 -07:00
alshabib
ba5ac487b5 flowrules no longer install a timeout but are monitored by onos in order to be expired
Change-Id: Ibd1a5952349d7ccb27c92b4982d04574f31424c0
2014-10-02 17:15:20 -07:00
Yuta HIGUCHI
382b266b34 suppress maven warning
Change-Id: I922e21140b356048ba275fc825036e576d973324
2014-10-02 15:44:28 -07:00
tom
26edf05d43 Added a tool to fetch dev/test VMs from the local share. 2014-10-02 13:57:03 -07:00
tom
5b68d811c1 Added log verification to onos-test. 2014-10-01 17:44:18 -07:00
tom
2482e6ff40 Enhanced cell & cells tools.
Provided initial sketch of the Annotated concept for the model attributes.
2014-10-01 16:51:48 -07:00
tom
1cd74ae73d Added onos-build-selective & obs short-hand. 2014-10-01 14:58:32 -07:00
pankaj
04c38c84e0 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-09-30 15:12:49 -07:00
pankaj
dff24440ee make bash_profile work 2014-09-30 15:12:45 -07:00
tom
2a0adb192d Adding customizable features for cell-specific packaging. 2014-09-30 12:03:33 -07:00