140 Commits

Author SHA1 Message Date
Carmelo Cascone
ada7b5b820 New P4 dev and tutorial VM with Ubuntu 18.04
Change-Id: Iacf2ca8f8467dc91e696ace5ed30412f7869110a
(cherry picked from commit 2b8bcbcd3d0e3e66ee2bc681f0f1dfbb0e2a218f)
2019-05-17 20:45:36 +00:00
Thomas Vachuska
97642361e7 Changing how ONOS_APPS value is used and defaulted; cleaned up cell defs.
Change-Id: Ie134bd61024738609ef1a02237c696438eff6024
2019-03-21 23:38:08 +00:00
Ray Milkey
f42f76e955 Handle the case where ONOS_APPS is not defined - needed for Jenkins
Change-Id: I66b08f25ebc9171653ae673ea5c562ecb53bcf8c
2019-03-21 10:04:02 -07:00
Ray Milkey
a79a1113c2 Handle the case where ONOS_APPS is not defined - needed for Jenkins
Change-Id: Ic587ebbb975b7ef285febfffd0e4414db0abc7ab
2019-03-21 09:19:54 -07:00
Ray Milkey
2673aaa4b5 temporary hack to get GUI working with existing cell infrastructure
Change-Id: I65caed2fec5cb6fb3187d32b5690a3c0c11ed199
2019-03-20 10:46:26 -07:00
Ray Milkey
ca840af1bd Fix error in expr call when there is only one node
Change-Id: Ic963df930bb5db368457d53aaa3d8691a28b121f
2019-02-22 18:00:59 +00:00
Carmelo Cascone
499f320249 Update bmv2.py to run stratum_bmv2 plus various improvements
Also added alias to quickly run mininet with stratum in cell machines
and p4vm

Change-Id: Id10bf8f3de4fe14d77b5efe47b6129a8a28b5a89
2019-02-09 20:06:17 +00:00
Ray Milkey
a1f8e193e2 Fix ot command
Change-Id: Ia1fd6d03ae4bfd161aaea1f8f3ce85af4a1e4445
2019-01-23 22:35:24 +00:00
Ray Milkey
8705ccead8 Jacoco coverage support for bazel
Change-Id: Ic94304aa6fed0e18f16cecfdda388d421064d0b6
2019-01-23 09:16:54 -08:00
Charles Chan
9c938f87c9 Clean up Karaf environment variables to avoid issues when switching from ONOS 1.x to 2.x
Note: sourcing bash_profile is still required after switching between branches

Change-Id: I6d8df459f6fab630b5b11695bba728b37074120d
(cherry picked from commit 19ff8e374887de9a123beac58463248a6004c420)
2019-01-22 17:57:13 +00:00
Thomas Vachuska
369e3fba2d Updating Apache Karaf to 4.2.2.
Change-Id: I346f21b8da7583c77e7b0612c7f2931aa63a67e0
2019-01-03 23:53:33 +00:00
Carmelo Cascone
15693a23e8 Alias to quickly start Mininet with BMv2 in cell network machines
Also do not generate bmv-thrift netcfg in bmv2.py

Change-Id: Iebb84ab1b6f007ad42366ec676cce6b08e5fc27c
2018-12-12 22:19:38 -08:00
Thomas Vachuska
8e676d9dac Changing default cell borrow to provide a 5+3+1 cell.
Change-Id: Ic993aaf2312c2aa149fac1fdff556fd3044bb95a
2018-11-21 18:17:40 +00:00
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