590 Commits

Author SHA1 Message Date
Yuta HIGUCHI
35b83be42c Align maven artifact name to buck artifact
Change-Id: I6cb49541614161d2f6a7d5fbaf2f68877af3379e
2017-07-21 19:50:40 +00:00
Carmelo Cascone
dda88d02c8 Declaring P4Runtime and gRPC protocol subsystems as apps
The advantage is that we don't have to carry over the driver all
required gRPC and P4Runtime bundles. Each module is now responsible for
bringing in its own runtime dependencies.

Change-Id: Icb1365e68d486f12fb1e25dc5d3937f42e3e1c62
2017-07-21 15:44:45 +00: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
Andrea Campanella
fc1d34ca16 [ONOS-6809] Implementation for packet out in p4Runtime
Change-Id: I873a1fd18529fe9fd41aa33f862298892ece7d1c
2017-07-20 20:24:17 +00:00
Ray Milkey
9d81ea5722 Fixes for Docker build
- add runtime dependency on git
- set ONOS_ROOT before doing build
- Add top level directory to grpc proto compiler include directories

Change-Id: I6e7a119a122f708988cce28090c9bc7011808b78
2017-07-20 20:21:37 +00:00
Carmelo Cascone
04d0939378 Fixed deps and bundles for BMv2 drivers, P4Runtime and gRPC protocols
Change-Id: I96ad0e1e1021897544e41d02304a9f8240c1eb15
2017-07-19 21:07:32 +00:00
Carmelo Cascone
8d99b17b8e Handling of table entry messages in P4Runtime
+ synchonized method execution in P4RuntimeClient
+ support for cancellable contexts (for client shutdown)
+ logging of sent/received messages in GrpcControllerImpl
+ minor refactorings

Change-Id: I43f0fcc263579e01957a02ef3392105aed476f33
2017-07-19 16:36:50 -04:00
Andrea Campanella
432f718de7 [ONOS-6809] Support for Packets and packet Metadata
Change-Id: I53910cd8e2ce5845e301dc68bcbf3ae8f34a197b
2017-07-18 13:51:54 +00:00
Carmelo Cascone
fb76b04736 Fixed P4 tools build script for Ubuntu 14
+ bumped version of p4runtime and BMv2
+ minor update to bmv2.py

Change-Id: I7784b075b2e6015bb3eef1286011968303b66129
2017-07-18 13:41:32 +00:00
Carmelo Cascone
98dfdb756a Implemented P4Info browser
Change-Id: Iebff15ac60cf1121b29afce7f67b4c31c5a60f0e
2017-07-17 14:52:21 +00:00
Yuta HIGUCHI
28c3daa87f Detach failing bmv2 poms
- several artifacts missing

Change-Id: I2185698a127547b432bf16822c300a048815c400
2017-07-13 21:37:19 +00:00
Andrea Campanella
2cfe8ef782 Moving Extensions codecs to net/flow to avoid circular dependencies
Change-Id: I93dc5580ff46f57afe93dd4d1f0217359d5c89c2
2017-07-13 20:23:03 +00:00
Carmelo Cascone
59f57decd1 ONOS-6561 BMv2 handshaker via P4Runtime
+ support fort device-specific default pipeconf
+ improvements to P4runtime and gRPC protocol stuff

Change-Id: I8986fce3959df564454ea3d31859860f61eabcae
2017-07-13 17:24:25 +00:00
Saritha
8a0c36a72b Delete bridge controller API implementation,which is needed for certain use cases of ovsdb switch configuration process
Change-Id: If5f86d8b0bff95ac718556e688313e4988fdbfd6
2017-07-13 09:39:22 +00:00
Carmelo Cascone
f7aa3f947f ONOS-6559 P4Runtime protocol library
Change-Id: I7070b69507dcf2ca47ee1c446bcc2505ca868fb1
2017-07-12 16:44:04 +00:00
Yuta HIGUCHI
7b41dc9743 cosmetic and minor changes to OpenFlowController
- No functional changes
  - sliced out stats proessing into separate method to reduce method length
  - removed unused code
  - use ImmutableList for defensive copying

Change-Id: I1a49d2cb94a4c52c926d5900a0c4384ea1ba1ec9
2017-07-06 23:17:44 +00:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Yuta HIGUCHI
c635835b34 Resolve OSGi wiring issue in TL1
Change-Id: Ic749d0739e2faa0fc913dbffa78c38af56142834
2017-06-27 12:26:14 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Ozge AYAZ
60aded229b ONOS dont give QUEUE stats like other stats message (portstats etc.). I modified OpenFlowControllerImpl for this development.
Change-Id: I36b2cd494ea78c1a4ca2ca4426810bfdb4b0d697
2017-06-22 22:35:15 +00:00
Jian Li
f17e0c9c91 Improve ExpireMap lookup performance with code refactoring
Change-Id: I304456a5e5b648ca9c02cc4924a86f50ccc61ab2
2017-06-22 01:30:22 +00:00
Andrea Campanella
378e21ad33 [ONOS-6465] gRPC Protocol and controller
Change-Id: I0ae997f234ce95a78db2db1917f2cbbe3696ccfd
2017-06-21 17:18:49 +00:00
Michal Mach
f0ce45e6d4 [ONOS-6665] Support for */* media type
Change-Id: I36ab16056b45213ccc641339844addc1e0c06319
2017-06-21 09:18:03 +02:00
Ray Milkey
e5d9df0897 Remove Deprecated setQos() method
Change-Id: I1b681f13f6a65c5df70b10a141ef94c927bf5f63
2017-06-20 16:56:44 +00:00
Michal Mach
bcd58c7a4a [ONOS-6664] NPE occurs while deactivating RestDeviceProvider
Change-Id: I4a0fcca44f6dc228e1ac3c96dd0ba2326d23d2fb
2017-06-20 12:16:33 +02:00
Jian Li
882e19068b [ONOS-6537] Implement LispRadixTreeDatabase with unit tests
Change-Id: I0d3c016432ad90aeb8843ac3653ec5b54cf6e3bf
2017-06-16 08:00:27 +00:00
Jian Li
2dbd8a2ba1 [ONOS-6537] Refactor LispMappingDatabase to split out implementation
Change-Id: I876b25b5911395900f5805a87b489efbe0acd0b4
2017-06-15 02:26:56 +00:00
Jian Li
6c7800c853 [ONOS-6537] Implement ConcurrentRadixTree that stores IP as a key
Change-Id: I0688faf3bb6c0335505339296582f91dd8c8c9c6
2017-06-14 15:24:52 +00:00
Yuta HIGUCHI
6ee6b8ccd2 netty4 OpenFlow southbound
- separate I/O thread and message dispatch threads

Change-Id: I11a10a47de451a9e3063b62f9450be19c3a9dae7
2017-06-12 20:28:12 +00:00
Jian Li
49f525f566 [ONOS-6537] Add interface for IP RadixTree data structure
Change-Id: Ibd0427f07dc4a9b8be521781192aa6f3980700a3
2017-06-09 05:10:52 +00:00
Carmelo Cascone
43740a078d Pruned old BMv2 stuff
...making space for new BMv2 support via P4Runtime.

Change-Id: Ia34c1a152c0e6e006fd3b86afc5086316264b6f6
2017-06-08 15:39:42 -04:00
jaegonkim
256f2c1338 [ONOS-6519] Supporting OVS DPDK, and PICA8 OVS interface creation & MTU setting
Change-Id: Icee3f9c6cf430d952acc7bfebd82cfa6d94b0e63
2017-06-08 08:13:04 +00:00
Ray Milkey
b125032100 Remove deprecated APIs
Change-Id: Ie2434cc8cb4721a1ed132528f902bc8f6ed17d59
2017-06-06 20:00:15 +00:00
Yuta HIGUCHI
d1ce4bc801 Fix javadoc warnings
Change-Id: If195eb9be6264aeb0be7768eb10bd16670b6aad6
2017-06-05 16:39:11 +00:00
Jian Li
b86d8ad8a6 Support Solicit-Map-Request (SMR) message for updated MapRegister
Change-Id: I9d0865d569557c904b161d124b4616111f0f9807
2017-06-01 22:15:37 +00:00
Eunjin Choi
51244d3776 [ONOS-6449] Fix arista driver to support interface name with slash, Fix HttpSBControllerImpl because mediaType.getType() only return primary type
Change-Id: I9540bc298ee8b3c6ea2e5c6659dd12b006bbb79b
2017-05-31 10:03:20 -07:00
Georgios Katsikas
186b9580e8 Fixed bug that occurs when calling the HTTP controller's post operation
Change-Id: If356c8a8951ee98d709ab34fff984a58c4119ef8
2017-05-31 17:25:54 +02:00
Jian Li
f25adf0bcc Refactor: further simplify if-else statement
Change-Id: I2c23446f3c59e76d8cfd462a210aaba6c30223af
2017-05-24 10:20:23 +00:00
Jian Li
3282a34a33 Refactor: restrict package access level, replace for with foreach
Change-Id: I6197d62076b4530fbbbfdf3c1b9956c3861cc22d
2017-05-24 09:55:02 +00:00
Jian Li
6b5efbb516 Refactor: remove redundant return and unused method from MacAuth
Change-Id: Ib65b49a62172ff3c4f3611c08544e673ec4fb93b
2017-05-24 09:45:32 +00:00
Yuta HIGUCHI
385348e915 Deprecate HexDump
- Part of reducing dependency to netty 3

Change-Id: I64cf70a03ffc61ca9a9b263e1fe88dbbb9a5389f
2017-05-24 05:33:05 +00:00
Palash Kala
da4798db96 [ONOS-6503] Potential null object dereferenced before checking for null
Change-Id: I3a00d02936ff8ef7dcf49e24a5ea3ea36d7b3781
2017-05-24 02:48:45 +00:00
Jian Li
03398d53cb Fix: resolve potential NPE in LispInfo request and reply
Change-Id: Iab01f0d2c947e918d5c131a7e416582f9fad9496
2017-05-23 22:19:15 +00:00
Jordan Halterman
5a1053eb46 [ONOS-6497] Add globally unique numeric ID generator primitive
Change-Id: Ic2d9214cfa885344694b8ba4250054dd6a33144e
2017-05-23 21:20:52 +00:00
jaegonkim
80bee53a79 [ONOS-6451] Datapath type setting function for supporting OVS DPDK addBridge
Change-Id: Ib6a8fa79dc1221e1387f8888f606306c671c4133
2017-05-23 08:33:24 +00:00
Yuta HIGUCHI
b6e0e914ce Moving NetconfDeviceConfig to API bundle
- Move the class to API bundle to allow config manipulation via API
- Avoid sweeping whole device tree on every Device event.
- code clean up

Change-Id: I58ebdc89688c6c9250bb546585c227d486b30df2
2017-05-22 18:41:03 +00:00
Jian Li
a5f0c580ec Improve MapDB query speed by parallelly checking the address range
Change-Id: I714d56277de89ff11803349f9d6d3c386ef6c9d3
2017-05-22 09:53:56 +00:00
Yuta HIGUCHI
26c397c52d Transplant DatastoreId to Mina based session impl.
- porting ONOS-6410 support to mina.
  See https://gerrit.onosproject.org/13814

Change-Id: I026fec6cd153afdac9b47bc8a380ae5f011fd741
2017-05-22 08:53:10 +00:00
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