336 Commits

Author SHA1 Message Date
Thomas Vachuska
ad37e3733e Integrating YANG live compilation into YANG runtime.
- Bumped ONOS dependency on ONOS YANG tools 2.2.0-b4.
- Added CLI to compile YANG models.
- Added GUI capability to compile YANG models via drag-n-drop or file upload.
- Fixed defect in propagating self-contained JAR apps through the cluster.

Change-Id: Icbd2a588bf1ffe0282e12d3d10a117e0957c3084
2017-08-09 21:30:40 +00:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Charles Chan
cbe8dd7310 Apply config files in tools/package/config when running locally
Loading config from file is discouraged in deployment.
However, it is very useful when developing/testing locally.
This patch will copy JSON files under tools/package/config to local ONOS directory when running 'onos-buck run onos-local'
The tarball generated by 'buck build onos' will remain intact, so as the Docker image

Change-Id: I047bfac39772e32e67e522dc2bea38720426c4e6
2017-07-05 18:30:50 +00:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
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