541 Commits

Author SHA1 Message Date
Yuta HIGUCHI
6512f3e11d Required changes to support OF1.4, 1.5.
- OVS with OF1.4 passed `stc smoke` test
- OVS with OF1.5 still has issue
  As of OVS 2.5.0, OF1.5 mode responds with ill-formed of_meter_features_stats_reply
  org.projectfloodlight.openflow.exceptions.OFParseError: Wrong length: Expected=40(40), got=32
    at org.projectfloodlight.openflow.protocol.ver15.OFMeterFeaturesStatsReplyVer15$Reader.readFrom(OFMeterFeaturesStatsReplyVer15.java:281)

Change-Id: Ib78b9d92ecfb4bb667e24c4ee95bcd09aec160a6
2017-05-19 15:40:12 +00: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
85355c4bf1 Further improve MapDB query performance with reduced number of get
Change-Id: I4026215d23bf9e1ea064f0d19cd853f9813c3005
2017-05-15 18:20:46 +00:00
Henry Yu
c44787ad42 Remove RESTCONF client dependency on YMS and reinstall BUCK files
Change-Id: Icd6f4cb73a95044cfbd3fa938070c29d26c7cbe1
2017-05-15 17:21:24 +00:00
Jian Li
b25fcb4de1 Improve MapDB read performance by using cached hash code
With existing implementation, the hashcode of LispEidRecord
should always be recaluclated when we lookup MapDB.
If we have very large number of entries stored in a HashMap,
the performance becomes very poor.
With this cached hashcode implementation, we can improve
the MapDB lookup performance.

Change-Id: Ie193e0b96b2bdc470e52f6f1de4f341527e0507d
2017-05-15 16:52:39 +00:00
Yuta HIGUCHI
89111d973a [ONOS-6410] flexible configuration datastore specifier.
- added completer to netconf-config-get

Change-Id: I7cc88637bd51d9f4bea7d906346ffacfbd8706a6
2017-05-11 18:08:05 +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
Andrea Campanella
7bbe7b1850 [ONOS-6376] Netconf ssh connection through Apache Mina library
Change-Id: If69fd89afe3082debc3c28a06debfed53426635c
2017-05-10 17:57:59 +00:00
Saritha
6935951b0f invalid equals(), comparing different object types
Change-Id: I2a75955fec042c2ed2a8848628c8b20d039e26c4
2017-05-10 03:28:47 +00:00
Yuta HIGUCHI
2341e60544 Add support for OF1.4 devices
- part of ONOS-6386

Change-Id: I2e03496ae6f2fdcda5800e2208533faf07790e3d
2017-05-08 21:49:58 +00:00
Yuta HIGUCHI
d31bc6e6f6 make netconf-get-config usable on any NETCONF device.
- removed dependency to ConfigGetter

Change-Id: I00072625efc9ece327628f5034a845b0b96526f2
2017-05-04 18:43:23 +00:00
Ray Milkey
7da8592cc7 Fix maven build problems with restconf protocol
Change-Id: If0a9234283041cb6ce0fe48ba6a4674989bfd0be
2017-05-04 16:14:32 +00:00
Ray Milkey
2d572dd363 Use buck version of checkstyle rules in maven build
- build and package the checkstyle rules in the onos-build-conf artifact
- modify maven build to use new version of artifact
- fix checkstyle problems in maven-only code

Change-Id: I4e4dc890ca909e47463629c732a2fc5335bb4d2a
2017-05-04 16:03:51 +00:00
Thomas Vachuska
11b99fc941 Refining driver subsystem to facilitate coordinated start-up.
- for ONOS-6402

Change-Id: I7f64fc62ad1d451fcf55624b2422b60631a3c8e8
2017-05-04 15:55:16 +00:00
Matteo Gerola
7e180c23f5 REST protocol: changing returns for HTTP methods from boolean to int (HTTP standard codes)
Change-Id: I8bbdf1e61cc9f5983e03329327b7ae756372c5fe
2017-05-03 22:14:52 +00:00
Yuta HIGUCHI
f708910147 Minor cosmetic changes
Change-Id: Ib594c3481a2e8881da37981b6ab4deb5a8e4eb12
2017-05-03 17:51:52 +00: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
Yuta HIGUCHI
57ba1e1917 debug CLI command for NETCONF
Change-Id: I42e25899c42f02c1456580e19d34a4a3ea9e83a7
2017-05-02 04:43:52 +00:00
Henry Yu
3a91b13bfe Remove old RESTCONF server implemenation
Change-Id: I8a225a6bfc3552acdfbb2148a73e85cbb9ca3d93
2017-05-01 15:15:19 +00:00
Jian Li
f987cb183e [ONOS-6358] Further improve LISP control message processing speed
Change-Id: Idf244a6fcda59bd8ac92d96d08066b2520b210af
2017-04-28 10:38:24 +00:00
Marc De Leenheer
8aba62ffcb Introduce method to write msg and get response through OpenFlow.
Change-Id: Ibc92985a98a3b9a178e474f55c117e08b05a8d44
2017-04-27 14:59:45 -07:00
Yuta HIGUCHI
0976bc2234 ONOS-6253 workaround for device not capable of :interleave-ing
Change-Id: Id64043dc6558cd677381bdd6133d8a7dc8c85869
2017-04-26 20:47:06 +00:00
Yuta HIGUCHI
66372fd867 Removing import only used for Javadoc
Change-Id: Ifdb3eb979f43c2fd7ae8699d816d9e9156e188a8
2017-04-21 20:40:52 -07:00
Yuta HIGUCHI
348b323574 Move internal classes under .impl package (2/2)
- adding back classes in old location marked as Deprecated

Change-Id: I27a6adf9faac5b6c7882d233494dfc994f7e978f
2017-04-21 21:29:41 +00:00
Yuta HIGUCHI
e3ae82134b Move internal classes under .impl package (1/2)
Change-Id: I72ed933ecd5ae7ffb268967f80fb395e90f7d8e9
2017-04-21 21:29:41 +00:00
Aaron Kruglikov
72db642274 Moving from a searching a string for capabilities to a Set.
ONOS-5947 ONOS-5948

Change-Id: Icac65263691e624dc74cfbc03c27e3974b935da2
2017-04-21 08:28:50 +00:00
Jordan Halterman
f62724442e [ONOS-6324] Add getOrDefault method to ConsistentMap.
Change-Id: Ice7ad6260c6eb8076320ef469874c0c4ceeadc19
2017-04-20 21:54:09 +00:00
Andrea Campanella
34cf65ce14 [ONOS-6076] Moving NETCONF devices configuration under devices key
Change-Id: I5a0dc2c2d33c7cd79655497f66373c6f4f9af656
2017-04-19 20:19:41 +00:00
Shivani Vaidya
48df84e653 unit tests for NetconfSessionImpl
Change-Id: Ic1b7d0221343f288b98c41f456809b59689e198f
2017-04-18 19:01:01 +00:00
Sean Condon
fe6cebadeb Fixed decode of YANG presence container with YCH
Change-Id: I3bd323dcdc84771da310ebb19d1573f7cf5252ba
2017-04-18 17:24:53 +00:00
rohitsharan
1afdb3fa79 onos-6310:- avoid Null pointer in protocol TL1Controller method disconnectDevice
Change-Id: I1e6cd1c7b63747978b1acb95bd56af40538e89bf
2017-04-17 21:16:13 +05:30
Andrea Campanella
c362784be8 [ONOS-6236] Adding retry mechanism when NETCONF device sends socket closed signal
Change-Id: Ie48e94f92ce745f3f65a352d80b7a74c2eceba04
2017-04-14 20:05:49 +02:00
Jian Li
07b9020199 Fix: Do not treat duplicated MapReg as error by changing log level
Since MapRegister messsages are sent to ONOS in periodic manner,
we do not want to treat duplicated MapReg reception as an error.

Change-Id: I3437c8927bc838c0344b13101abc65e6a1d328c0
2017-04-14 16:09:19 +00:00
rohitsharan
39d76ec001 onos-6298: null object neighbor dereferenced fix
Change-Id: I1e8ae0c022525a626f44715a33c6bd88e6d461dc
2017-04-13 12:36:34 +00:00
rohitsharan
434235910e onos6227: removing dead local store
Change-Id: Id81021eb523ba850116cb44bbc9590b0e167d5a8
2017-04-13 09:17:40 +00:00
Palash Kala
a2625f7a2c [ONOS-6269] No need to check for null
Change-Id: Id7e0674a1197c6a192f4a938200d51fd66f0c31c
2017-04-11 15:34:16 +00:00
Andrei Mihaescu
ac542ca5c6 ONOS-5937
- created enum for target config and replaced all appropiate usages
 - added old methods and had them pointing to new implementation
 - added deprecated annotation to old methods

Change-Id: I2562588d32c7ab944eb44a13e9b25a342196edf2
2017-04-10 21:18:58 +00:00
nitinanand
c33db44460 [ONOS-6247] Fix for Misplaced null check for YdtContext object
Change-Id: I052957b7db9c893d4db4691ebd933c23028b5dab
2017-04-10 10:45:00 +05:30
Yuta HIGUCHI
0184a7b478 Cosmetic fixes and logging around Juniper driver
Change-Id: Ief0dba3a1c4cc567cf9fe6fa16b4aeae9488c51e
2017-04-06 16:16:37 +00:00
Jian Li
af72941251 Bugfix: Only reads the replyRecord when map data present bit is set
Change-Id: Id4bd28c1bd4f8ad7a6e92f8812cff0f1e66a2048
2017-04-06 15:58:06 +00:00
Ray Milkey
e4afdb5f17 Fix Sonar errors: public data members in classes
Change-Id: I7aca37d5553436167ac6e7b2206392f88bddc118
2017-04-06 00:13:24 +00:00
Andrea Campanella
0cee0b6d1a Resetting variables of a NetconfSession before reopening the underlying transport SSH connection and session.
Change-Id: I34fb61d8ec28a05d4a9148df853c1be98bd3559f
2017-04-04 13:12:13 +00:00
Jian Li
246334bb48 Add ExtensionAddressInterpreter with ExtensionMappingAddressCodec
Change-Id: I30e663581ff392b3adf0e366cb7984fc66d34d0b
2017-04-04 01:21:32 +00:00
Palash Kala
b46d2200f3 A part of if condition in the code is not necessary
Change-Id: I7c23633647bb91d0c311bf11cf479fd1f89e2ca3
2017-03-31 06:11:47 +00:00
Ray Milkey
88cc3432cf Update checkstyle to version 6.19
Change-Id: I32787f2a5f4f4b17fd4cdcf9bd2eb3903dcecfff
2017-03-31 00:59:32 +00:00
Palash Kala
9bf01a1d39 deferencing a null pointer, before it is checked
Change-Id: I467fc0ba8b9fe4698eabf39657e241403badbf1b
2017-03-30 05:48:40 +00:00
Yi Tseng
fa394defdc Fix for ONOS-5175. GroupId refactoring.
Science DefaultGroupId was deprecated, remove it from ONOS

Change-Id: I82394e58ec1ba10c37492ed77546e233de9f934f
2017-03-24 21:13:57 +00:00
Thomas Vachuska
0439fd701a Cleaning pom.xml files. Please everyone, watch the sloppiness for Pete's sake!
Change-Id: I31bd8d589d306f50b2724223c5dabd066f0961da
2017-03-24 10:05:39 -07:00