912 Commits

Author SHA1 Message Date
Jian Li
3ff578de25 [ONOS-5943] Add LISP nonce LCAF address type
Change-Id: I6200ca4ea3432a982b8c1ba10551e2a4b501c1d5
2017-02-08 01:25:04 +00:00
Jian Li
2af9eaaf21 [ONOS-5942] Add LISP multicast LCAF address type
Change-Id: Ifb0e276f33ea9a6512b1a7037f0bbd30e24d276f
2017-02-08 01:16:18 +00:00
Jordan Halterman
c955df7a63 Implement Atomix AsyncAtomicCounterMap, AtomicCounterMap and state machine.
Change-Id: Ifd7f60ae8dcfe7239e034a92654b4ef30ffe46ae
2017-02-07 18:00:19 +00:00
Jian Li
f31019ae11 Refactor: move LCAF related address classes under lcaf package
Change-Id: I828fe5596c84b121b9382a69107ddfce20840f99
2017-02-06 16:46:13 +00: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
sivag
e1162b577a invalid comparison of integer objects using !=
Change-Id: I30a4245c9b4d7333db157e23e171e060af756c30
2017-02-01 18:54:38 +05:30
Henry Yu
05dcc21f6c RESTCONF notification changes
* Added a callback function mechanism to the RESTCONF notification
  listener. Applications can register their callbacks to a listener.
  This is to allow multiple SB providers share one generic listener.
  while still being able to process app-specific events.
* Created a default RESTCONF notification listener implementation.
* Refactored TE provider code to allow TE-topology and TE-tunnel share one
  RESTCONF event listener

Change-Id: I26dc4972683fcda3eefacde131353312809aa95e
2017-01-30 20:05:25 +00:00
Ray Milkey
92a99a080d Revert "RESTCONF notification fixes"
This reverts commit 05c2c76eec9bbe553c3b4eeb9dcbb2175a25e3c2.

Change-Id: Ia92aa928ac9b6672cb229795ed4ea47f51bbafc2
2017-01-30 18:12:56 +00:00
Henry Yu
05c2c76eec RESTCONF notification fixes
This submission contains the restconf portion of the changes of the follwoing
submission:

https://gerrit.onosproject.org/#/c/12310/

Change-Id: I7534c8491633f0e9a6062b337a6fd79013202940
2017-01-30 12:16:45 -05:00
Yuta HIGUCHI
5775c2f222 Fix ONOS-4587 and similar issue.
Change-Id: I4ccbfd1ddffe7c86eee0ec7333494538167eae2e
2017-01-25 18:46:16 +00:00
Sean Condon
b0720e7dd3 Correcting problem in YMS with Namespace for operation
Change-Id: I1284e8a4e9b20c9162d22c240113ac509af40e07
2017-01-25 17:07:22 +00:00
Michele Santuari
c372c223a4 Enable REST to manage devices under a proxy
This commit integrates the REST proxy within the standard REST
protocol and provider, supporting multiple devices managed by
a single REST end point (e.g. a REST-based second level controller).

It introduces the concept of RestSBServer, that represents
the REST service exposed by a single or a set of devices.

Change-Id: I0b187151848c20bc1fd8c39a33d57a500f667533
2017-01-25 17:03:17 +00:00
Jian Li
9b1a45be12 [ONOS-5749] Initial implementation LISP device provider
Change-Id: Ie1ac2ff82c62717fc8e2b045f964d026fe30effa
2017-01-25 10:35:53 +00:00
jaegonkim
01d7c91271 [ONOS-5874] Applying timeout for transactConfig().get(..) for preventing permanent block
in case of OVSDB connection closing
            + Extracted timeout as constant

Change-Id: I9dcc7748ed126653664f968d98c981414ca9a8cb
2017-01-25 01:18:47 +00:00
Jordi Ortiz
aa8de49765 [ONOS-5599] Store meter features into MeterStore
Change-Id: I22f7366b87cad6fc706b6ff7b0ccff1a0e85ad6a
2017-01-24 12:08:25 -08:00
Marc De Leenheer
57a5af0b68 TL1 device provider with driver for Lumentum WaveReady.
ONOS-5800 & ONOS-5801

Change-Id: Icd820285eb8db2fd92c03ebf11ce022b6a82b48a
2017-01-21 00:55:30 +00:00
Jonathan Hart
5dc9a4e5ce Bumping netty dependency versions to 4.1.5.Final.
Including test fixes.

Few more places referencing atomix version

Change-Id: I48fb8fa255624a86ae12117845603f7d53f1c29e
2017-01-20 20:31:57 +00:00
rpatodiya
23a94b17d5 Invalid String comparison
Change-Id: I7f327683c0b7401535545bf6752372e0e5fe35f2
2017-01-20 09:53:17 +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
Jon Hall
cbd1b39f58 Sonar fixes
Rule: Use isEmpty() to check whether the collection is empty or not.

Change-Id: Ib5ab56b2263623b297db56c5cac2c2ee80e12725
2017-01-19 20:24:18 +00:00
Yuta HIGUCHI
1745e5abbd Idle OF channel handling
- Added handler for idle OF channel
- Workaround for device not responding to meter feature request (ONOS-5834)

Change-Id: I72435c65fa427c3f7668a0042b9425eb726cd54e
2017-01-19 19:30:46 +00:00
Yuta HIGUCHI
a36f10b03a Remove executable bit from source files, etc.
Change-Id: Ic1a1d9390ca6790f0644504e3bf2569faac1fa11
2017-01-19 18:28:43 +00:00
Jian Li
347c51e683 Fix: sonar related fixes for LISP protocol package
Change-Id: If38ff6be071e1522c925056de44f9ec50910652c
2017-01-19 00:05:42 +00: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
Saurav Das
d5ec9e992f Adding to the 'devices' cli command an output that displays the local connectivity of a device.
For example, "id=of:0000000000000203, available=true, local-status=connected 18m7s ago, role=STANDBY, ..."
Also increasing the resolution of the TimeAgo utility.

Change-Id: Ie1b89bd193552e0edd38a9ca28c5ce99b1d27c19
2017-01-17 22:41:43 +00:00
jaegonkim
1af0ae530b [ONOS-5778] OVSDB protocol-OVSDB controller connection failure (maximum retry exceeded failure)
handling
            + checkstyle error fixed
            + changing 'log.info'-> 'log.warn' (applying module owner's comment)

Change-Id: I43aff90a15d7e0b82029fa11ed5dacaa358cb337
2017-01-17 06:35:48 +00:00
Yuta HIGUCHI
605758e015 Fix missing space in log message
+ other cosmetic fixes

Change-Id: I2f76b826f4db3fed76e40be3761888a3d756853d
2017-01-16 18:12:42 +00:00
Ryan Goulding
69524397a6 Enhance logging in NetconfSessionImpl
There are a few places where Throwable.getMessage() is emitted directly
instead of utilizing a Throwable argument to the Logger output methods.
Using debug as an example, when dealing with exception reporting cases,
it is, generally better to rely upon:

http://www.slf4j.org/api/org/slf4j/Logger.html#debug(java.lang.String, java.lang.Throwable)

than:

http://www.slf4j.org/api/org/slf4j/Logger.html#debug(java.lang.String)

This commit also cleans up the language of another log message.

Change-Id: I53a77286069c112aafc83ad8157a439a4d50e52e
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2017-01-11 17:50:37 +00:00
sangyun-han
53ee58a303 [ONOS-5226] Threadpool's name is not appropriate in OSPF-SBI
Change-Id: I567b4eef4dd685428681d562dc4763ac3a00afea
2017-01-05 08:10:40 +00:00
Saritha
8539a2e990 Invalid comparison of byte array in equals and hascode method
Change-Id: I2bf6064f897830dad8fa243295c174d0c154a0b4
2017-01-05 12:10:16 +05:30
Jian Li
b1a8fd05d2 [ONOS-5607] Add a new LISP router when receiving MapRegisterMessage
Change-Id: I0cb11492def61b99f30b463304a3f152c5200b2f
2017-01-04 18:14:55 +00:00
kdarapu
f0da43dbdd Addressed change request and rectified for hashcode also # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch review/kishore_darapu/onos698 # Changes to be committed: # modified: protocols/ospf/protocol/src/main/java/org/onosproject/ospf/protocol/lsa/types/OpaqueLsa10.java # modified: protocols/ospf/protocol/src/main/java/org/onosproject/ospf/protocol/lsa/types/OpaqueLsa11.java # modified: protocols/ospf/protocol/src/main/java/org/onosproject/ospf/protocol/lsa/types/OpaqueLsa9.java #
Change-Id: I41021f62dc8c662f3c61c8ae1358f32e409143e3
2017-01-04 11:11:21 +00:00
kdarapu
e4da4a07b4 Byte array comparison always return true for Objects.equal
Change-Id: Ib3fa05b7ba8c00cfab347dfc9d7ddc5f79798b37
2017-01-04 11:04:38 +00:00
vivek
7076e41483 Fix incorrect usage of increment operator
Change-Id: If354669887b9f82441f900bd899373537188424d
2017-01-04 12:35:09 +05:30
Jian Li
3a99e71d61 Fix: remove redundant parameter setup for LCAF addresses
Change-Id: I9f322b5a6566a723bd59a1b49721b7eae818bc9a
2017-01-04 02:37:15 +00:00
Jian Li
01f75b9cbf [ONOS-5752] Add AS number LCAF address with unit tests
Change-Id: I0c47e72b2195eb3014dbbde8966fbb3dc0b7fa9e
2017-01-04 01:26:04 +00:00
Priyanka B
1dd60121d8 [ONOS] Defect fix label downloading for SR-TE
Change-Id: I8ddcd17af1a630f965f171e80096e69dae2e1850
2016-12-29 16:33:58 +05:30
Jian Li
0dab596158 [ONOS-5607] Add AbstractLispRouter base class with impl classes
Change-Id: I7b79301db684b7f15307dc26be0c6e665399b01d
2016-12-23 16:08:48 +00:00
Henry Yu
52a8a72eae [ONOS-5769] Implement encodeYdtToCompositeProtocolFormat() for JSON codec
Change-Id: Ifb68a25ae6bc3ba10e7d983d694b132a23785890
2016-12-22 15:13:01 +00:00
Jian Li
834ff723ce [ONOS-5607] Revise LISP ctrl impl class to track msgs and routers
Change-Id: I4a51a8ef9162e3feee543f40fa92a0435186d1c9
2016-12-21 15:12:59 +00:00
Jian Li
7ccc3a862f [ONOS-5607] Add LISP router, controller and listener interfaces
Change-Id: If01738d1b0e4e264618392844d96a9cf31cbd7c7
2016-12-21 07:06:03 +00:00
Jian Li
e530690b21 Support to obtain all map records from MappingDatabase
Change-Id: Ia4c5932d35c36d8dbd75e8534e52c3e0c5af4256
2016-12-20 16:36:48 +00:00
Jian Li
3e1bac23ed Add ReplyRecord field into Map-Request message
Change-Id: Ia9850bade2ee1ab654a7fb58a5ff00ebfd52a19e
2016-12-16 16:52:47 +00:00
Jian Li
d6483ccf6f Bump up the LISP LCAF version from draft 20 to draft 22
Change-Id: If946ac5bd6159b050838d577cbea7795e15d5693
2016-12-16 14:04:38 +00:00
Sean Condon
334ad69bb8 Added in a second timeout for netconfConnectTimeout
Change-Id: I17c68730b68f7d0db899753dbcea2a570acba8e3
2016-12-15 21:56:06 +00:00
Jian Li
2174e32b64 Fix: Re-enable testEncode unit test for LispMessageEncoderTest
Change-Id: I38e330340f65d29f1265570bf1e91d98f1adddac
2016-12-14 02:05:31 +00:00
Jian Li
6153eab228 [ONOS-5716] Acknowledge Map-Request with native-forward Map-Reply
In this commit, we try to acknowledge Map-Request message with
a special Map-Reply in which action field is configured with
a natively-forward flag.

Change-Id: Id302f9c4896d8a49a22b52bcbd33586105e270e9
2016-12-14 02:00:24 +00:00
Jian Li
cdbc087295 [ONOS-5710] Process Map-Request msg when proxy bit is set to false
Change-Id: I0ceef00c67ab266b01dec121fe6a4fe1f3dca3e5
2016-12-14 01:53:25 +00:00
Jian Li
5e505c6c23 Refactor LISP package to separate ctrl interface and impl classes
Change-Id: I4e94ff54299e886cd0e8b3ce38591b0900290f54
2016-12-11 13:56:47 +00:00