4 Commits

Author SHA1 Message Date
Pavlin Radoslavov
d5dac1b4a9 Few fixes to the cell setup related scripts after the removal
of ONOS_CELL from the cell config files.

Change-Id: I97c2d1f8d191f59db00a455281bbba7f04383335
2014-10-30 12:55:39 -07:00
Pavlin Radoslavov
711145a284 Fix the assignment / usage of OC0 environmental variable so
now it is allowed / handled.
2014-10-16 17:45:48 -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