127 Commits

Author SHA1 Message Date
Thomas Vachuska
4b09a6f579 Removing CELL_SLAVE_4 from the environment.
Change-Id: I994c627335c43644345a6c62ce4c9cfa526a804c
2018-10-29 10:34:20 -07:00
Ray Milkey
3f274d982b download karaf 4.2.1 from maven central
Change-Id: Icb7e0400ee5b34ed4be33afdda5074a6f6ec1f6d
2018-09-28 14:44:43 -07:00
Carmelo Cascone
fe59ba0a98 More concise test output when running tests
Print test errors to stdout, avoid scrolling due to passed tests results

Change-Id: I7ba4745e8de1ecbcb4f3cd3957623705a0fb69f8
2018-09-05 18:32:48 +00:00
Ray Milkey
5063f5bd0b Add bazel rule to run buildifier; fix up formatting problems in bazel files
Change-Id: Ifa8ab12ed564fa2eaf5edd781281aa5cae52d17a
2018-08-16 21:12:34 +00:00
Ray Milkey
acfb410304 Allow bash_profile to run when unbound variable checking is enabled
Change-Id: I0086b4cc41c6206a47610b8c8e4062c30ac7dba3
2018-08-08 18:29:26 +00:00
Thomas Vachuska
bec79b9808 Starting to switch aliases and some convenience scripts from Buck to Bazel.
Change-Id: I2e0a0dac882af430b8628174f3f97a1777d3e643
2018-08-07 20:39:31 +00:00
Thomas Vachuska
fd8cb6847e Allowing simple cell definitions to work with new cell specs with separate Atomix and ONOS clusters.
Change-Id: Ib96090d0148f4ec3e37fa24061715815e249d988
2018-07-27 19:55:16 +00:00
Thomas Vachuska
2582fc2a95 Adding support for enhanced cell spec, e.g. 5+3+1
Change-Id: I9d23eb766eb72e559366f974afc2ec0838f82270
2018-07-02 21:57:55 +00:00
Thomas Vachuska
a10137c0fc Fixing residual ON.Lab references.
Change-Id: Ic54a281ce67e49236c7aeb536729d3900dd9433d
2018-04-04 00:02:22 +00:00
Ray Milkey
32e73d7783 allow for null 5th parameter
Change-Id: Ib2fa030b52403a293f379f8c4ffa8e81ec5c2840
2018-03-09 17:53:08 +00:00
Ray Milkey
2c6ffb8c95 Allow default bash profile to be run with unbound variable checking enabled
Change-Id: I82e4028f5b3e43eedae072dda1c45156fb3b0cee
2018-03-09 17:42:10 +00:00
Yuta HIGUCHI
a5ab2246ce alias for op, ob with retries
Change-Id: I5ce9aa0dac21cc509f0e3450a8ba2a811ebcfbcb
2018-02-15 19:33:55 +00:00
Thomas Vachuska
ca40fe4961 Added a new warden slave
Change-Id: Ie588b13cf9f8e071fb48c1073499e09d1dd2aed4
2018-01-30 17:18:05 +00:00
Thomas Vachuska
28d4657304 Changing cell configuration to reflect the move to flex data center.
Change-Id: I0b3710b8e9b329b62a765ac87a269cd7aac4d7dd
(cherry picked from commit d2535d768d7b0c2385c907e060fe6e5ded899942)
2017-12-05 21:40:35 +00:00
Jordan Halterman
980a8c1566 [ONOS-7054] Implement prototype of ISSU protocol
Change-Id: Id543c0de9c97b68f977c824cbc987b35d81beb2d
2017-10-06 21:14:56 +00:00
Thomas Vachuska
49367a6a3f Fixing the bash_profile 'o' function to prefer shorter paths.
Change-Id: If874e6a9c885f48bc1fcf0b19262f7b44a094323
2017-08-29 16:28:48 +00:00
Ray Milkey
8a0c7c761f When defining ONOS_ROOT strip out any symlinks
This is a workaround for problems with building GRPC with buck
on some machines.

Change-Id: If7d306a5bf59ba5a86c8ff2fd9cb9f0f3527fb61
2017-07-19 21:52:44 +00:00
Thomas Vachuska
b073459942 Adding utility to provide STC warden status.
Change-Id: Ia7521e7bd21e7821f3c1383a5ac37b68d0ec78e7
2017-07-18 17:13:01 -07:00
Devin Lim
0d944e2682 Fixed the path of the onos-netcfg
Change-Id: I60e5cdf6c8863c235395d341c4db21d4c5ba2ef3
2017-06-27 23:39:16 +00:00
Aaron Kruglikov
c939037f35 Fixing an issue where the \'ok clean\' command can fail if there is another version of buck in the path.
Change-Id: I93afcd6869634a88da045f4f81cc40e32160e117
2017-06-16 20:57:18 +00:00
Ray Milkey
5c0d8f92cb Make test tools available in installed ONOS
Part of ONOS-6597
onos-app, onos-netcfg

Change-Id: Ic58156700e357c9564e9bd9fe1173310ec6f0502
2017-06-14 15:18:42 +00:00
Carmelo Cascone
b752427548 ONOS-6457 Improved bmv2.py mininet script
- Starts BMv2 with empty.p4 as when running with --no-p4 the switch
  crashes
- Automatically send a netcfg JSON to ONOS for each device
- Makefile to build all P4 programs (needed for empty.p4)

Change-Id: Ib872641751c543aac6c752610b1ce88a1a00d0d2
2017-06-06 12:48:02 +00:00
Charles Chan
c7a60ce6b4 Clean up env var when returning cells
ONOS_USER, ONOS_GROUP, ONOS_WEB_USER and ONOS_WEB_PASS will be reset to default value when cleaned up.
Users can override the default value by specifying desired value in local cell files.

Change-Id: I52badd0446e109fcfc7ff94779ef228e8d8276f9
2017-05-09 20:44:28 +00:00
Yi Tseng
7f425d5386 Fix cells command
"cells" throws errors when $ONOS_CELL is not set

Change-Id: Ia41bbd9e877dbffc86ddaaf0f5e5adcd96bba2ad
2017-03-01 20:05:58 +00:00
Jon Hall
b84df5deb9 Bump karaf from 3.0.5 to 3.0.8
Change-Id: Ic5bc130f5110f4ff9da6ec22d066a5dd3069288d
2017-02-02 23:22:40 +00:00
Thomas Vachuska
5af2e4f898 Eliminating use of Apache Karaf CLI client and of ONOS_USE_SSH env. variable.
All CLI access is now through the raw SSH client.
To enable passwordless access, the 'onos-user-key' tool should be used to add user keys.
Added 'onos-user-password' tool in the similar vein and usage as the 'onos-user-key' tool.

Change-Id: Ic5482fc8012369edc818691402ba45d13f130452
2016-12-16 22:30:47 +00:00
Charles Chan
9b152fcdb9 Improve cell command when parsing environment variables
Change-Id: I297afe12f40d10bf69ac5290bbcc5282d6291314
2016-11-21 12:06:49 -08:00
Thomas Vachuska
10d1d1ef71 Added option to 'ok' alias to run sans buckd.
Change-Id: Ie4ff3545d9d4716bce9a75515008416db5d3d40d
2016-11-20 09:18:18 -08:00
Thomas Vachuska
3030108b0a Switching CLI to use SSH by default
Change-Id: I8f757c02ad30967438fd4c332bb67b8ad2914868
2016-11-19 17:23:08 +00:00
Thomas Vachuska
8cc5318124 Enhancing stw and stcs to allow pausing between scenarios
Change-Id: Ie5c9e41e0d0861a7d419fa5532674bf8bb206eb4
2016-11-15 17:53:25 +00:00
Thomas Vachuska
e1125351ef Adding an STC scenario to test basic HA functionality
Change-Id: Ic70b592bf932dcdcd4eb88606d0b0aa9ef9c4a59
2016-11-11 01:10:21 +00:00
Thomas Vachuska
5fdf5bf3ca onos-local-log now works with buck run
Change-Id: I086ed7e4825ba19d920815f5946bf778bb90f3c6
2016-11-04 15:10:13 +01:00
Thomas Vachuska
6066dff896 Migrating convenience aliases to Buck usage
Change-Id: I01d21e9630625dc6e5200a0d1be625f8d2db7348
2016-10-27 17:03:18 +00:00
Thomas Vachuska
05e47a3d00 Adding ability to request a specific cell via an optional hint.
Change-Id: Icdc4fad5d59900cdae3233724c6538c9d6afa62d
2016-10-24 18:15:06 +00:00
Thomas Vachuska
cc0b7d6605 Adding support for topology recipes and cleaning up topologies.
Cleaned-up a few STC scenarios.

Change-Id: I4ffa61953d8cf289406fa572ab7603d996e26a85
2016-07-13 13:16:06 -07:00
Jon Hall
ee85e2f832 Update ONOS_INSTANCES when updating OCI
Change-Id: I416901175ba8662a07afe58ff2eb835cd51be242
2016-06-07 17:48:46 +00:00
Thomas Vachuska
fdeda92107 Clearing cell environment before borrowing and after returning cell.
Change-Id: Ia8da10406a25e9687cef5d7f8e31e9ceb11d8af9
2016-05-16 11:37:00 -07:00
Thomas Vachuska
5420ba371a Adding ability to balance load between different cell servers.
Adding ability to specify structure/size of the cell.

Change-Id: I5e87c99fe8812ba0a974d7815ab8ddc64193a608
2016-05-16 16:31:18 +00:00
Jon Hall
7dc59d65fb Fix cell command for when -u is set in bash
Change-Id: Id51da2f92ff8b708fddfcffd0683736b9a74f6d3
2016-05-10 22:07:23 +00:00
Thomas Vachuska
f07ec2186a Reverting changes to onos-cell & cell
Change-Id: Ieb35fe2d51c1981f1d560bdfe072d5ccc6a26f90
2016-05-10 19:18:08 +00:00
Thomas Vachuska
a25cda2947 Removed defunct cell definitions
Moved implementation of the cell command into a script.

Change-Id: Iee307d1deca5d91fb0bdb548f67a7276bcf82f22
2016-05-09 23:34:46 +00:00
Thomas Vachuska
e91541fafe Modified warden to create borrowed cells on-demand and to scrap returned ones.
Change-Id: If32a0da18ff9d4c05645017e5cc7481bbd1ab0cd
2016-05-06 14:58:35 +00:00
Thomas Vachuska
e6185571d2 Changing bash_profile not to reserve a borrowed cell during sourcing.
Change-Id: I30bb38bd2a2e3d32c1c8019afe8198078bf9124e
2016-05-04 19:26:15 -07:00
Thomas Vachuska
b826190142 Adding ability to get borrowed cell definition without changing the existing reservation.
Change-Id: Ib1fba430371f49f3c928998af98a6d347fabd93d
2016-05-04 17:57:06 +00:00
Thomas Vachuska
0d33700d45 Changed default borrow behaviour to simply get current cell definition if a reservation exists already.
Change-Id: I365233a78be6033d176e33c3c3b3ad33f791d85e
2016-05-04 17:50:46 +00:00
Thomas Vachuska
1eff3a603e Initial implementation of shared test cell warden.
Change-Id: Ia973d514fe1dd11ffe4cdb7c902cc43a9c2eb626
2016-05-03 21:02:41 +00:00
Bob Lantz
53228836e6 Respect ONOS_USER and ONOS_GROUP settings as intended.
Change-Id: I89936604434aa9c22d128350ac452e1aab763d5e
2016-04-16 00:48:49 +00:00
Brian O'Connor
9be2363757 Adding onos-buck file and buck alias
Change-Id: I548aade4802da87707d86c192e1800eb1edeb200
2016-04-08 18:43:36 -07:00
Michele Santuari
91ee01b0e0 fix mci mcis commands
Change-Id: I0b1b91d52454fc94ca9b991b70480b26708f537f
2016-04-05 17:11:27 +00:00
Ray Milkey
33d81c6ba3 'o' command should not look at the buck-out tree
Change-Id: I76d0581ba1fd6f2c87232be69d70a0ae57f1cb71
2016-04-01 13:18:02 -07:00