327 Commits

Author SHA1 Message Date
Ray Milkey
a67943de5e Shell tool to interface to the ONOS component config REST API
Part of ONOS-6597

Change-Id: I0787467c25569dae06878715e05e468e5fa7a440
2017-06-15 23:19:38 +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
Jimmy Ou
0fe2138541 Fix script to install what onos-user-key need in Docker debian:jessie image
- Install ssh package
- Create ~/.ssh directory

Change-Id: Id6e486fd63f178a6311d41b9216872ca48c61ad2
2017-06-13 07:02:54 +00:00
Charles Chan
4b765c3efe Remove out-of-date sample config
The latest sample config can be found on CORD wiki

Change-Id: Ie813edb5fdf4ea6b3517148677265a70dfc30ca6
2017-06-01 13:08:33 -07:00
Jimmy Jin
e9b7a02ff9 OpenFlow message processing for new loxi
Depends-On: Id69c8597eb4564653c56cdc90f2dcec50afbdd25

Change-Id: Ib14fbadd3debf98ce1d56343179f8e7929f8ade8
2017-05-19 15:40:12 +00:00
Ray Milkey
08b03a9ec8 Starting snapshot 1.11.0-SNAPSHOT
Change-Id: I5aa84e241545dace6192243c0079924ddf899404
2017-05-15 18:40:20 +00:00
Jian Li
112890b8b2 Bump up jersey to 2.25.1 with corresponding dependencies updated
Change-Id: Ie1f41f4790624d59759f71eb9b9ff1d11de139b9
2017-05-10 12:45:54 -07:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Ray Milkey
301cd33617 Fix filtering of UI archetype java files
Change-Id: I72d373d1234b0bdcec73503dee0c8ebf2058cd32
(cherry picked from commit 14b62a08da1b1051f23ed683840d1615b67f62c9)
2017-05-02 19:41:48 +00:00
Ray Milkey
8be2e1be39 Fix problem with expansion of variables in non-template archetype files
Change-Id: Iec2802bfa82dce3d2ff53d452ad790af56b37660
2017-03-07 11:30:45 -08:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Jian Li
43f103d4c9 [ONOS-5935] Bump up Jackson from 2.7.3 to 2.8.6
Change-Id: I995fb7d8f4dc99bbf2ba53d7a2ef3ec1c8942429
2017-02-03 21:13:31 +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
Marc De Leenheer
f8e0283cd1 Fix for ONOS_APPS with dot in their name (ONOS-5843).
Change-Id: I6321e9984df2ec2e11aa99edd2756d44c2273c90
2017-01-19 18:27:39 -08:00
Bob Lantz
d22c991c6a Improvements for init.d, upstart, and systemd-based systems
1. Change ownership of /onos/apps

onos-service needs write access to onos/apps/foo in order to activate
an app. This also means that ONOS itself could also activate/deactivate,
modify, or reinstall apps, which seems a bit dodgy but is probably
intended.

2. Fix sudo command line

The -b option was in the wrong place, breaking sudo on systems where
we use sudo to start onos (e.g. older debian or centos.)

3. Redirect stderr of 'type daemon' command

We want to detect whether the 'daemon' function/script is available
in init.d enviroments that support it, and we do so using the type
command. Previously we didn't redirect stderr, so this resulted
in a confusing error message being sent to stderr of whoever is
invoking the script.

4. onos.conf has changed to be more consistent with onos.initd

Previously onos.conf ignored $ONOS_GROUP and had a slightly different
structure.

5. onos.service has been added for systemd-based systems

This initial version of onos.service calls /etc/init.d/onos to start
and stop ONOS. In the future we may be able to call onos-service
directly, but we will need to make sure that permissions are set up
correctly so that onos-service can activate apps and so that ONOS
itself can write its log files.

6. A README has been added

7. Update the onos-install and onos-uninstall scripts

Related Jira issue: ONOS-5550

Change-Id: Ie72775f1d0a4082af9c5ea9b13999c427c15ffe0
2017-01-19 23:38:10 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Jian Li
b39bf9982e [ONOS-5846] Bump up jersey to 2.25 with corresponding deps updated
Change-Id: Id27332a221c1ae1df1bd0e42ba32aa258eef857f
2017-01-18 19:32:00 +00:00
Yuta HIGUCHI
0410712d63 ensure known_hosts exist
Locally running ONOS was failing on fresh machine
 where known_hosts doesn't exist yet.

Change-Id: I83beb0118f6f41e8b24eff1ab7cb53d2ca95f853
2017-01-16 16:40:06 +00:00
Ray Milkey
2c8356509c Fix archetypes for API change in UI events
Change-Id: Ib9601bd879b96a09f86db09cd7080ba16b429556
2017-01-09 20:55:00 +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
Ray Milkey
edccaf9ddd build-offline-karaf should not be in a public area, its ia dev tool
Change-Id: Ia34270f2c596ea135b5756c72b0936b7ed57e06a
2016-12-13 22:05:38 +00:00
Ray Milkey
72bcefefce Starting snapshot 1.9.0-SNAPSHOT
Change-Id: Iae30168353c72c4e2d5e395298ceca5dd7554984
2016-12-02 16:22:53 -08:00
Ray Milkey
bc3c6ba539 Starting snapshot 1.8.0-SNAPSHOT 2016-12-02 15:59:38 -08:00
Ray Milkey
a222d05a18 Tagging 1.8.0-rc4 2016-12-02 15:49:32 -08:00
Ray Milkey
b547e06157 Starting snapshot 1.8.0-SNAPSHOT 2016-11-30 15:10:18 -08:00
Ray Milkey
4f6d428dc7 Tagging 1.8.0-rc3 2016-11-30 14:52:32 -08:00
Ray Milkey
58c6af2321 Starting snapshot 1.8.0-SNAPSHOT 2016-11-22 17:26:52 -08:00
Ray Milkey
8b8b30ce29 Tagging 1.8.0-rc1 2016-11-22 17:08:32 -08:00
Ray Milkey
594add7af1 Fix ONOS-4503 - allow ONOS to run in offline mode with no internet connection
Change-Id: I7122800e2c485743313c5d963bc75f8dd0292452
2016-11-18 21:04:50 +00:00
Thomas Vachuska
fdb4755820 Allowing Ctrl-C to stop the locally run server.
Change-Id: I8767cdf8af6157a291ae1588cd7dc46eb4cc4c34
2016-11-17 13:35:34 -08:00
Thomas Vachuska
397befca9b Changing onos-run-karaf to allow connecting via raw (secure) SSH client.
Change-Id: I7fa06fa684ee1c16b75bf39a5ba244c08199e766
2016-11-17 20:57:26 +00:00
Charles Chan
7cad325179 Increase retry timeout when fetching karaf.log
In some environment it might take longer than 5s. Increase to 30s.

Change-Id: Id9283ee2c5015e83aecf56fdc45ab200eb1c427b
2016-11-16 10:41:07 -08:00
Ray Milkey
0bb987e177 Ubuntu md5sum command disapproves of -q argument
Change-Id: Ibf10f1f9103dd270b3d62638fb428e1df43ee0e3
2016-11-13 06:15:41 +00:00
Ray Milkey
2fa4f18de0 md5 sum command on linux is different than on Mac OS
Change-Id: I64414c0b8dd217d2566b2623e1de31a26cb6d032
2016-11-10 19:44:11 +00:00
Simon Hunt
b941618d13 Fix broken reference in uitopo archetype (take 3).
Change-Id: I4c28be671d3111ee7015523cdd2845c0d5f6c5c3
2016-09-21 10:12:07 -07:00
Simon Hunt
a299ffc476 Fix broken reference in uitopo archetype.
Change-Id: I3584a3bcb2dfdc0a9e04f4dacccbe2e25d0555b3
2016-09-21 09:04:44 -07:00
Simon Hunt
c1050b260e Cleaning up Javadocs in core-ui classes.
Added common constants to AbstractCellFormatter.

Change-Id: I02081506c705e15dedb56e9895106b52e2c0aa7c
2016-09-20 19:38:02 -07:00
Ray Milkey
c5e478c700 Update version strings for archetypes
Also, hooking learning-switch app into the Maven build

Change-Id: Ie4379bd170a066d8b7479d0db0c1ae24b80d766a
2016-09-19 16:11:21 -07:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Brian O'Connor
3500734676 Fixing buck in onos-pref-karaf
Change-Id: Ie94bf690a1df836b4d5b1d6a1297518f823258c2
2016-09-13 17:41:45 -07:00
Brian O'Connor
8cc10ecc26 Adding maven coords to OAR and onos features.xml genrules
Change-Id: Id2d3b0f4686888a48feb09eacef3f27136c1df0e
2016-09-14 00:19:07 +00:00
Brian O'Connor
a027392bcc Updating onos_stage.py to use ONOS_VERSION global
Also, fixing up the base directory for RC packaging.

Change-Id: Id3c80a75ec27bd887b01a04a3122a2660c8f281b
2016-09-13 16:34:37 -07:00
Thiago Santos
7a174cf49b [ONOS-5184] Allow configuring cluster partition size
Adds a new parameter to onos-form-cluster: -s <partition-size>
to allow specifying the partition size to be used when creating
the cluster.

Change-Id: I4c31d6e97fe0fd811831296f41a09160bebb58de
2016-09-02 14:50:18 +00:00