568 Commits

Author SHA1 Message Date
xueliang
cf527d1c7a [ONOS-5598] Alarm Consumer for Fujitsu OLT
Change-Id: I3206307f6adcc078d9b0a1aa26d6de6ad00f9824
2016-11-08 20:05:32 +00:00
Henry Yu
7dbfc20fd6 [ONOS-5500] Properly encode namespaces in URI path segments
Change-Id: I166cbfb8e379a2029f0dab72be117a3afe74973e
2016-11-07 17:40:20 +00:00
yoonseon
55faf85cfb [ONOS-5586] CopyConfig() of NetConf driver should add namespace of NetConf
on RPC

Change-Id: Ieb82c93006718cd8c9155c70714f361f4a374699
2016-11-07 15:59:00 +00:00
Jian Li
afe2d3f41c Fix the LispMessageEncoder to reply with UDP message sender
- Add AbstractLispMessage to store sender IP address per message
- Fix the LispMacAuthentication class to accept byte array as input
- Rename LispMessageEncoderTest class
- Try to use MessageToMessageEncoder to result in UDP message

Change-Id: I977302cdadf5c96c60c889be291ad5d90e3bc7cf
2016-11-07 10:11:35 +00:00
Jian Li
f11594a816 Bugfix: handle LISP map-request message that is encapsulated in ECM
Change-Id: If7ed64f4999719d2d13cd2f5c59bcaf920157bfe
2016-11-07 10:11:08 +00:00
yoonseon
a195755c03 [ONOS-5587] CopyConfig() of NetConf driver should use <config> tag
Change-Id: I93ec1e438def43ed1a2b7748fbce916a15fcb566
2016-11-03 15:39:49 +00:00
yoonseon
25e54fc215 [ONOS-5585] CopyConfig() of NETCONF driver generates malformed RPC request
Change-Id: Iaceaf5c44f361a0c9b1945a869d881c81d0c9d37
2016-11-02 13:07:43 -04:00
Jian Li
88addd557e Add AuthenticationDataLength field when deserialize Map-Register
Change-Id: I961ec472948df7a6a88547eb2e5e60eb38969320
2016-11-01 13:24:57 +00:00
Jian Li
6322a36cb3 [ONOS-5267] Rewrite LISP bootstrap class to use UDP rather than TCP
- Try to use MessageToMessageDecoder to decode DatagramPacket
- Use Bootstrap instead of ServerBootstrap in a way to use UDP
- Add a dummy LispController interface
- Remove unnecessary handlers from LispChannelInitializer
- Rename LispController to LispControllerBootstrap

Change-Id: I7d930f46ffb87d88b3449ba78e066d8b1c065093
2016-11-01 22:14:31 +09:00
Aaron Kruglikov
61582a00a5 Creating new creators for multimap primitive and a name based getter for treemap primitive.
Change-Id: I981b3f1f8ee01fbdd0677c3eedc3d5024b8bcf1e
2016-10-26 16:50:19 +00:00
Sithara Punnassery
112ed82fa2 ONOS-5552 DocumentTree builder not available
Change-Id: Id0e9e0c647146c27e21e2ec2b2014789bbd9eca9
2016-10-25 18:31:35 +00:00
Yoonseon Han
ca814bfbee [ONOS-5480] The implementation of LISP Encapsulated Control Message (ECM).
Changes
1. ECM message is added.
2. Default ECM message is added with builder, reader, and writer.
3. Implented other messages writeTo() methods.

Change-Id: I3ed6f66a7ec7a318f30596d64c35ac15365c8c4c
2016-10-25 16:14:43 +00:00
Brian O'Connor
dedf24c5b7 Moving snmp libs to released version; ejecing bti driver due to incompatibility
Change-Id: Ic148f2d486b949be61fe816467ae6c9df852a6a9
2016-10-24 23:54:57 +00:00
Victor Silva
0289183f15 ISnmpSessionAdapter: remove overriden methods to conform with lib
Our dependency (btisystems/snmp-core) removed the methods that originally
broke our code and made us introduce these empty implementations in the
first place.

Change-Id: I4fcd0404e6a16cc4a0c80a651a9ea0c1fb142b39
2016-10-24 10:29:00 -07:00
Thiago Santos
c89ba3f9dd ISnmpSessionAdapter: fix build after dependency change
Add missing method to adapter class

Change-Id: Ic6b09071a8c72b900263cddfb733602a9238c1b7
2016-10-20 10:44:17 -07:00
Ray Milkey
3b4ea058e4 Fix Maven build breakage due to new SNMP libraries
Change-Id: I48cadd37c0e862a987be04d1c99efbe99f4e9b52
2016-10-19 20:20:15 +00:00
Jian Li
f8c2d4aa9b Add LISP MAC SHA1 and SHA256 authentication mechanisms
Change-Id: Ib699e7b400c85d0c0c22e312de56b90e1c7dad7b
2016-10-17 18:35:20 +00:00
Jian Li
451cea3762 Add LISP channel pipeline along with server bootstrap
Change-Id: I9ca12bbab5c4dad474bd6d7fa70e96a179bf4e50
2016-10-17 18:27:37 +00:00
Jian Li
84b7582ac6 Code clean up for LISP address and control message test cases
- Statically import builder classes to improve code readability
- Instantiate builder object in one line

Change-Id: I5439c5b2b160e19591234dff598e537f1c64b355
2016-10-17 18:18:24 +00:00
Jian Li
2775935682 [ONOS-5427] Add LISP Info-Request and Info-Reply message type
Change-Id: Ia54919945609a57e45b34af3bbe7b04e4a7efbec
2016-10-17 18:16:17 +00:00
Jian Li
52015761b9 [ONOS-5427] Add LISP NAT LCAF address class along with unit tests
Change-Id: I27e792d32aa2b30bf42ca0687161e9df9352cb6b
2016-10-17 18:01:43 +00:00
chengfan
7b2a60be58 [ONOS-5397]fixbug:NBI Error for complicate list inside container
1.if a array's children are all not container node,
 it's a leaf-list in yang, should treat differently;
2.for a array, the field name should push into a stack,
 and then pop when exit the array
3. add namespace info for yangnode
4. process the exception of null array node

Change-Id: Ia7b0c25ab1ccea393b97a0fcf59187663348de3b
2016-10-17 13:06:16 +00:00
Jian Li
cbc57e3b22 Add type code into LispType enum to prevent arbitrary place holder
With the existing implementation, if we want to specify type value
8 to ECM Lisp type, we need to generate several place holders
inside LispType enumerator, otherwise ECM will be assigned a
subsequent number which is 5.
With this commit, we can specify arbitrary number for each Lisp
enum type, therefore, no need to add redundant placeholder for
the purpose of incrementing enum value.

Change-Id: I82a82a3f5bc313dc1f79aaa66a77889408e8c891
2016-10-03 20:49:52 +00:00
Hesam Rahimi
4a409b4374 ONOS-4919: Implement RESTCONF client
Adding code to support RESTCONF protocol as one of
the supported SBI protocols of ONOS. This RESTCONF SBI extends
the current REST SBI protocl and adds some new APIs/functinalities
so that a provider can subscribe/register to an external restconf
server to receive notification stream.

Change-Id: I21bf0d0f0394cf788e066d743b3ade04735fe07e
2016-09-30 11:49:20 -04:00
chengfan
c58d4be8a5 [ONOS-5012] implement RESTconf server
- fix javadoc longer than 80 char limit
 - fix javadoc that missing @params
 - chain calls to StringBuilder.append()
 - combine constant strings in place

Change-Id: Ie2ef4fd4c19e955ad2d5a5584f5017a842abb790
2016-09-30 01:25:34 +00:00
Henry Yu
e20926ebaa RESTCONF Server outline
Change-Id: Id93a647b35b24c47f2828763a799b56a50113faf
2016-09-30 00:31:13 +00:00
jaegonkim
21377c5eba ONOS-5261 BGP link descriptor cannot have multiple 'MultiTopologyId TLV'
Change-Id: I07647eb90e48cdc7008a94387a820f42855b1242
2016-09-29 03:54:00 +00:00
Carmelo Cascone
9fae8d5830 Removed files that were accidentally commited to BMv2 protocol
Change-Id: Id639d0f8d1b34bd7b82f30d5af2b79ee4630d354
2016-09-27 13:16:14 +00:00
Frank Wang
2808230612 [ONOS-5286]remove update operation in the ovsdb createPort and modify qos table name
Change-Id: Id40a4ebf2e7b28fb1114ca4f73d8fc6c9eda436f
2016-09-21 15:56:42 +00: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
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Madan Jampani
2914e4e73c StorageService API for creating AsyncDocumentTree primitive
Change-Id: Ib7c3f19beb7b26a5b69161cf972c3c64d0be94b3
2016-09-14 19:05:18 +00:00
Jian Li
e4f12161a1 Add LispMessageEncoder and LispMessageDecoder with unit tests
Change-Id: If73a41687a9c2400de23bbde6179a63ac7f75d15
2016-09-12 17:45:49 +00:00
Konstantinos Kanonakis
1b8b559b8c Allowing message-id > 99 in NETCONF rcp-reply
Change-Id: If6fbc0c3ea432e8d33f6d790491342312333cee4
2016-09-12 17:45:06 +00:00
Charles Chan
9d7465eee9 ONOS-5259 Fix ClassCastException
Change-Id: I7956d1392f620a5bdb4800bc45bfaef1a03d8e38
2016-09-10 02:04:17 +00:00
Ray Milkey
30d1965a32 Add OF 1.3 status for reasserting master controller
Change-Id: Ibd25eb8189f67bc8a5107ea0245cfbdee24549ed
2016-09-06 12:09:46 -07:00
Avantika-Huawei
9e848e8717 Move PCE label handling from APP to protocol.
Change-Id: I26ae21b27ac2dc9ae3302030f6860e0e371c342c
2016-09-01 11:37:25 +00:00
Pier Ventre
f5d7236e14 [ONOS-5070] Adds mirroring functionality.
Changes:
- Adds mirroring behaviour;
- Adds mirroring description;
- Adds mirroring name;
- Implements for Ovsdb the mirroring;
- Adds OvsdbMirror entity;
- Adds constants related to Mirror table;
- Fix one issue related to Mirror table
- Extends OvsdbClientService introducing mirroring;
- Implements mirroring functionality in DefaulOvsdbClient;
- Support for different types of device id

Change-Id: Ie291f49b3c61b7998010f555ae11deb8c021063d
2016-08-31 16:56:50 +00:00
Jian Li
b26d350b58 Improve unit test coverage by considering MapRecord and EidRecord
Change-Id: I156d9ce8a4c3becedb188a53b6ce1b8f24a5e41b
2016-08-30 17:35:40 +00:00
Jian Li
42b3e4383c Remove recordCount and locatorCount from LISP control message class
Because recordCount or locatorCount is only used when decoding the
LISP control message received from xTR, therefore, there is no
need to provide any interface to specify this value from obj builder.

Change-Id: I380b275e6f06feb4846b84f62ebf2430ad5a9ec6
2016-08-30 17:35:30 +00:00
Jian Li
d4e6370b21 Add NotNull and Argument check during object build for LISP object
Also correct IP enumeration type into IP4.

Change-Id: Id970ee608c885826cfd2de7b5448b2bc451e079f
2016-08-30 17:31:51 +00:00
Jian Li
e4ba2a4460 Add unit tests for LISP control message serializer and deserializer
Change-Id: Id517db99635ad8e055d6581e5c0f3ac9f45f2869
2016-08-29 16:55:37 +00:00
Jian Li
76ea05796d Add unit tests for LISP address serializer and deserializer
Change-Id: I56538221f3951d18c1feb9343d87cbb46c3ed04d
2016-08-29 16:52:22 +00:00
Jian Li
edc5db1346 [ONOS-4718] Initial implementation of LISP control msg serializer
Change-Id: Ia068e1b158f05dd70839cb1020f15dc66b0142a0
2016-08-29 16:51:31 +00:00
Yuta HIGUCHI
cedd0dffd0 Disconnect switch when Device was admin removed.
Change-Id: I8d55eda686d29b43540f5467739983564afde5af
2016-08-23 11:44:13 -07:00
Viswanath KSP
22774cd863 Addressing review comments of patch-3
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics

Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
GUNi
ba87170b5e [ONOS-4718] Initial implementation of LISP address serializer
Change-Id: I71e1923f6daf1abdf2bf9798a9e421c81926a45c
2016-08-22 18:26:37 +00:00
Jian Li
a7b394d410 [ONOS-4718] Deserialize addresses from LISP control message class
With this commit, we try to deserilize all LispAfiAddress from
all LISP control message classes.

Change-Id: Iaf911bff90c45a70859285e426dc1649c3e6db32
2016-08-22 18:20:37 +00:00