114 Commits

Author SHA1 Message Date
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
HIGUCHI Yuta
709e4fe330 Prune first to speed up utility function 'o'
Change-Id: I22c46a0a8b690a58c18186aa85c0491e470c3c9b
2016-03-23 16:58:06 +00:00
Bob Lantz
e7b43039b1 Previously we were unsetting ONOS_USER and then checking whether
it was set, which doesn't make sense. The intent seems to be
to set a default and to respect existing settings of ONOS_USER,
and probably ONOS_GROUP as well.

Change-Id: I80dcbc2ccd80791c76b2497fd1da317765a6e66f
2016-03-03 19:40:03 +00:00
Simon Hunt
cf7e3b5459 GUI -- UK TOPO -- clean up order of links added
- add alias.

Change-Id: Ic9902054505fdacff727b3d73a77bb628ca1a49e

GUI topo - added alias for uk geo information.

Change-Id: Ic32a74c086fe6c789c18b3e8e22cb87e0a30b783
2016-03-01 01:22:36 -08:00
Ayaka Koshibe
77acdc73b1 ONOS dev bash_profile function -
make vicell open file for current cell when no cell is specified

Change-Id: Ic561fcafe469531b57199de156f8db12a0e0d063
2016-02-04 19:27:59 +00:00
Jian Li
115991625f Bump up Karaf to 3.0.5
This commit bumps up karaf to 3.0.5.
This commit also bumps up the jetty to 8.1.18.v20150929.

Change-Id: I52849c38b535205db8c4e00e799b332f63b7e3f2
2016-01-20 22:11:10 +00:00
Thomas Vachuska
36008463bd Fixed an issue in basic host and basic link config validations.
Added validation for basic device config.

Made all concrete configurations final (as they should be).

Changed stc to use the new onos-netcfg as a method to re-locate and name devices and hosts.

Change-Id: I372e6c7e6c0fa6fa52301568af73342aaae6347b
2016-01-08 19:30:24 +00:00
Jian Li
98dc9ad1a8 [ONOS-3707] Update env to default to Maven 3.3.9
Change-Id: If74cc04fc9f15c90511e78e23662554f41c0ecbc
2016-01-07 02:02:20 +00:00
Thomas Vachuska
9507d2ab8b Adding a new convenience alias and fixing auto-complete for onos-create-app.
Change-Id: Iad76a2293b5b87176033184d23634d83f21370eb
2015-12-01 20:45:57 -08:00
Luca Prete
73da27fc50 ONOS-3341 Remove ll alias since it conflicts with the ubuntu ll command.
Change-Id: I0d0db23bab2da31b4d63672955a428090d4dd47f
2015-11-10 22:42:52 +00:00
Thomas Vachuska
1e60f97ae5 Adding skeletal structure for netconf libraries.
Change-Id: I1e0590d4d60ed83e123fb2da455ffde3fd7d495a
2015-10-19 09:59:49 -07:00
Thomas Vachuska
330aef1c23 Fixed profile to work with new prerequisites.xml
Change-Id: I3578237480330a12e50d3375cfd0157cdb150628
2015-10-15 19:00:59 +00:00
Thomas Vachuska
ea2d9fd4ed ONOS-2854 Fixed a few bugs and made tiny improvements to shell scripts.
Change-Id: I624dc05300944dbc8b1f408bf725c49ff96f68c2
2015-09-23 20:14:36 +00:00
Thomas Vachuska
4ccc7d3ee4 Reorganizing the stc specific tools.
Change-Id: I5c2b84cc1125935d385a462c7ba727c1996c0245
2015-09-03 13:39:40 -07:00