804 Commits

Author SHA1 Message Date
Gaurav Agrawal
e3ed0d96be [ONOS-3898/4069] Yang Utils Extension to support RPC/Notification/Choice/Case/Union
Change-Id: I405852caff3464719e8e586fa8e9ae9b6ed043ff
2016-03-24 23:37:04 +00:00
Vinod Kumar S
38046506a2 YANG Translator optimization
Change-Id: Ie6a6b9d371a4fc5fd973cf56d6f3c7b44a3146ba
2016-03-24 23:03:56 +00:00
Jian Li
9d61649f0f [ONOS-4042] Bump up Jersey from 1.19 to 2.22.2
- Fix unit test errors of web/api
- Fix default page redirection problem
- Fix compilation errors of web/gui
- Fix configuration of aaa, acl, cordfabric, cord-gui, dhcp, mfwd,
  olt, openstack, segmentrouting, vtn, virtualbng, xos-integration
- Fix unit test errors of cpman, vtn, acl, faultmanagement
- Fix compilation errors of openstack, virtualbng, xos-integration,
  REST SB controller
- Rearrange features.xml to resolve bundle dependencies
- Remove all of stale Jersey 1.x libraries
- Rearrange web.xml to point new Jersey 2.x servlet

Change-Id: Ic17f461ede0aa36fa8d470546d8069152dc1d134
2016-03-24 18:54:28 +00:00
Madan Jampani
329dd1b66b Avoid autoboxing in high frequency code paths
Change-Id: I3b34bed6e99714daab7b4a18b36ef6c5cafb019c
2016-03-22 22:38:19 +00:00
Jian Li
7261c7b31e [ONOS-4127] Backup metric service to ganglia monitoring server
- Initial implementation of metric service reporter
- Unit test for metric service reporter
- Bump up metric lib from 3.1.0 to 3.1.2

Change-Id: Ia178df759d671dfc15cffaacb09d5279ad3d9ad8
2016-03-21 19:51:00 +00:00
Gaurav Agrawal
78f72400fa YANG: Line number and character position addition for cardinality failure + Increase readability of Error message and function name
Change-Id: I467a536a9d2a6cbb29873491fdb0a91f211deefd
2016-03-21 19:21:51 +00:00
Vidyashree Rama
8a6b128e26 string issue fix for few yang construct like config, mandatory + allowing yang constructs as identifers and string
Change-Id: I8dd01dc60d280a843b0a485681caa6bfcac013c2
2016-03-21 19:21:23 +00:00
Jian Li
d9b5f55457 Refactor getIntegerProperty and isPropertyEnabled methods into Tools
- Add getIntegerProperty and isPropertyEnabled methods which take
  default value as third parameter
- Remove all duplicated code from RefactiveForwarding, GroupManager,
  FlowRuleManager, CoreManager, HostLocationProvider and ProxyArp

Change-Id: Ifc93aa813acfdd4cbac0166497d7b526b08b2090
2016-03-21 18:29:18 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Bharat saraswal
8f2a6c5b67 [ONOS-4144] ,[ONOS-4145] Bug fixes for YANG translator.
Change-Id: I6922c01269611b3aec61a9e46cda5166f8fe1ec0
2016-03-09 19:45:37 +00:00
Vidyashree Rama
bcd7fbace4 Module & Sub module grammar issue fix
Change-Id: Ia90b90510233195c5eab7402ebe790014ce137d1
2016-03-09 17:40:58 +00:00
Bharat saraswal
2f00b4b8bb ST defect fixes and review comments fixes
Change-Id: Ib8c56a88c19cd9aa23918d0f9e37c89e74cb0d13
2016-03-08 19:12:31 +00:00
Vidyashree Rama
468f8283e4 Identifier issue fix for module, list, container, leaf, leaf-list, prefix + date agr string for revision fix
Change-Id: Id9d596512f35b54f6359d361402bcd0180b71678
2016-03-08 19:01:08 +00:00
b.janani
1fef273a3f Defect Fix for namespace with special character support in YANG
Change-Id: I8cc5b9dce58023c5965b07ac36cc4b5858f91699
2016-03-04 20:01:20 +00:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
Jian Li
66f1526cf2 Add SharedScheduledExecutors for ease of using ScheduledExecutors
- LogScheduledExecutorService -> SharedScheduledExecutorService
- Add a utility classs for SharedScheduledExecutorService
- Add unit test for SharedScheduledExecutors
- Revise the control message provider to use
  SharedScheduledExecutorService

Change-Id: Ia4dea245543b4751e6edcce1aaab4991d897cc77
2016-03-03 20:29:15 +00:00
Jian Li
54526b4891 [ONOS-3528] Log exceptions of the tasks for SharedExecutorService
This commit tries to log all the runtime exceptions of the tasks
that are executed by using submit method of SharedExecutorService.

Change-Id: I72760213a0f977096353dacd20263e5c93af5c6a
2016-03-03 19:35:50 +00:00
Vinod Kumar S
c421600f81 removed code duplication in translator, and addressed review comments
Change-Id: I27767a81c4bf279c80d2b98192f75f8f507b4457
2016-03-03 17:05:18 +00:00
Madan Jampani
d90e83db8e Cleanup thirdparty pom
Change-Id: Id8072cc7ac90bf13de6d57ab85d105c2b1ed2992
2016-03-03 16:19:59 +00:00
Jian Li
1b4cb33aaf A new ScheduledExecutorService that captures and logs exception
The default ScheduledExecutorService does not provide the
capability to capture and log the exception during executing
scheduleAtFixedRate and scheduleWithFixedDelay methods. This
makes it difficult to debug the program when the scheudled
tasks are failed for some reasons.
A new ScheduledExecutorService allows the developers to capture
and log any exceptions if the tasks are failed during execution.

Change-Id: I549ba0f479b9e302f0e668482873b3032dfea147
2016-03-03 06:16:23 +00:00
alshabib
64a8b9eed8 fix igmp deserialization issue
Change-Id: I38c37a6114957414ba4e13a690cd478b1116ef2c
2016-03-03 01:55:30 +00:00
Jian Li
6686568576 [ONOS-3528] Enable logging exception for SharedExecutorService
Change-Id: I612d5e844412b2ddca6b848e5f7aae5138999d3f
2016-03-03 01:03:38 +00:00
Jian Li
e0ae3fb2c8 [ONOS-3528] Log exception for all threads that use BoundedThreadPool
Change-Id: I9c904c49998a8206ba2b5a084e03e776fa1d8237
2016-03-02 17:05:01 +00:00
Jian Li
03e9fb0b2d [ONOS-3528] Enable logging exception when Executor.execute invoked
Change-Id: I4df7c9a0bc0607c16c4c36103447ce8a8f14ffa7
2016-03-02 17:03:39 +00:00
HIGUCHI Yuta
e48434a0d4 Fix minor javadoc issues
Change-Id: I9803f17ca2b2a21920dccb0e92de6c39f84af315
2016-03-02 08:16:30 +00:00
Gaurav Agrawal
8e8770a7ae YANG construct collision detection framework added
Change-Id: I1458f9e3192641f3f90c444798c31a64536ffa5d
2016-03-01 21:59:14 +00:00
Charles Chan
aedabfd27a Remove duplicated multicast prefix declaration
(Following #7957)
Also,
Update copyright
Few documentation improvements

Change-Id: If4a6b9f168e9d7587976f1f2b59c2b59b81c6c2f
2016-03-01 20:11:59 +00:00
Jian Li
597d7b2fbd [ONOS-4014] Refactor *Id classes to extend from Identifier class
- Refactor all of *Id classes in protocols package
- Refactor all of *Id classes in utils package

Change-Id: Ie53f078174d0bd0cb5ab4ef6786f1025a7d70846
2016-03-01 06:12:48 +00:00
Charles Chan
4ca8e60b95 Introduce an easy way to check whether an IP address is multicast or not
Change-Id: I192a1b3e04b843fa0446d011cc98393a1950a5a9
2016-02-26 17:00:29 +00:00
Gaurav Agrawal
0cfdeedeb8 Yang Listener for BITS Data Type
Change-Id: I81e7f7e8de38ce20addd63548414a486b7e2ffb8
2016-02-25 21:39:36 +00:00
Vinod Kumar S
71cba685ff [ONOS-3904] Derived data type and formatting fixes
Change-Id: I1d68899e0056fa0db6322e83f7e9d3ff9b3b1ee0
2016-02-25 20:50:53 +00:00
b.janani
8b8ebdc924 UT for YANG translator utils
Change-Id: I1da6f7d6201f880c27885659e5e52edc3fccbdd6
2016-02-25 20:44:54 +00:00
Gaurav Agrawal
9c512e0e92 [ONOS-3897] Yang Listener for Enumeration Data Type
Change-Id: If257c73da8fe2dcc2f4111f103967cfcdd7fa273
2016-02-24 23:21:26 +00:00
Bharat saraswal
4bf8b15d73 [ONOS-3908] YANG container translator.
Change-Id: I4e239509df747238905ca0995f41019679093627
2016-02-24 23:20:16 +00:00
Vidyashree Rama
f4c617cf2f config ang key validation and UT for the same
Change-Id: I507740fc9da3f3da5fb3c88a7414f87db6251c5b
2016-02-24 08:05:59 +00:00
Vidyashree Rama
a0568d2cdf UT for checking default values of list sub-statements
Change-Id: I79312afcae98aa8b26f6f33bc42c5dcb86073f4a
2016-02-24 07:45:36 +00:00
b.janani
68c55e1931 Unit Test Cases For YANG Io
Change-Id: Ie8876c25e4a293c52ae4c135921b7fe168f5f7c1
2016-02-24 07:44:54 +00:00
Vinod Kumar S
0c330cd5fe [ONOS-3902, ONOS-3903, ONOS-3904] string type, integer type derrived type
Change-Id: I8279e93fcb7dfb82491cc09057c9d75165add68d
2016-02-23 17:58:20 +00:00
HIGUCHI Yuta
b49b007c3f Add some serializer related sanity check
Change-Id: I5ebdde41f5528b5bad0c704b11c191afed45691e
2016-02-23 07:54:48 +00:00
Vidyashree Rama
59071f3a58 Change to static import for lesser indentation.
Change-Id: I5350c65496023a96c88cefe9dd5ed64a72c5f30c
2016-02-23 03:44:30 +00:00
Bharat saraswal
594bc6dacd [ONOS-3908] Implemetation of YANG container translator.
Change-Id: I9ffcfc4b370edb801dfc90c5394cef787c77641d
2016-02-23 03:42:54 +00:00
Thomas Vachuska
4844808991 Introducing concept of a physical or logical region to facilitate
support of geographically distributed cluster and to lay ground
for multiple/filtered topology layouts.

Added implementation of manager and store; unit-tests included.

Change-Id: Ia01673a0b711b8785c0ea68768552c2f61d7ea6d
2016-02-22 11:24:45 -08:00
Jonathan Hart
7f4bc52841 Cleanup a few of the CORD apps.
* Removed or turned per-packet logs down to trace in the PIM app
* Can now reconfigure remote sync host in CordMcast
* CordMcast catches REST exceptions rather than bombing

Change-Id: Iae027d5ce1d9047827ea80b071dc77ca49c65206
2016-02-21 20:04:34 -06:00
Gaurav Agrawal
b5a1c13e56 YANG Derived Data Type Support + Change in YANG Parser Grammar to
Support String values which are not in double quotes with UT case + 
Addition of Revision Date Validation with UT case + Removal of 
String.valueOf

Change-Id: Ic152265a35c0d2b0f84473a94ca67681cf8efca8
2016-02-21 01:21:56 +00:00
Bharat saraswal
870c56f408 [ONOS-3906],[ONOS-3910] Implementation of YANG module and leaf/leaf-list translator.
Change-Id: If1a8a991ffafa14b51211f97c435176ee1bf856f
2016-02-20 21:57:48 +05:30
Vidyashree Rama
49abe71b0a [ONOS-3892,3895,3882,3883,3896]Unit test of yang container, list, leaf, leaf-list parser
Change-Id: Iae040d9d354e012584db8adc0aa7ff1ea4c099a0
2016-02-19 20:12:19 +00:00