912 Commits

Author SHA1 Message Date
Hesam Rahimi
9630554b04 Fix a bug in generic post operation: Do not read the entity if
the responseClass is of type Response.

Change-Id: I7dfe5f8ebcf90a8870433f16dfe334ae9a840402
2017-08-15 21:31:55 +00:00
Yuta HIGUCHI
09ae368c08 Maven test related fixes
- Workaround for usage of symlink in P4 code.
  Should probably avoid using symlink and load as resource
  for benefit of buck also
  https://buckbuild.com/concept/buckconfig.html#project.allow_symlinks

- Netconf Active client test dependency fix

- NetconfControllerImpl has mutable static variable,
  clean up after tests which potentiallu touches them

Change-Id: If7a70357a04ccc7e36377301de080385190d2776
2017-08-15 16:00:35 +00:00
Sean Condon
54d8243e53 Patch for ONOS-6840 NETCONF timeouts per device
Change-Id: Ia2e578245b97e0f68ea720cefe783e708e255ca7
2017-08-15 00:59:52 +00:00
Kamil Stasiak
9f59f449b7 netconf chunked framing v2
Change-Id: I93fad5c44315960ca6aebe5b0944947ac8bf6a51
2017-08-14 19:01:23 +00:00
Ray Milkey
d4ac0edb2f Starting snapshot 1.11.0-SNAPSHOT 2017-08-11 17:04:16 -07:00
Ray Milkey
6ecde1ff86 Tagging 1.11.0-b4 2017-08-11 17:02:33 -07:00
Yuta HIGUCHI
2f4b01dfa4 Fix file permissions
Change-Id: I42b7e7f0deb7a51e2b7d683dbb75c02f96151650
2017-08-11 03:42:11 +00:00
Mohammad Shahid
30fedc50be Adding BGP provider code to support EVPN
Change-Id: Ic5508749b64a47a70f1aabd9324e9f89e85fa39f
2017-08-10 16:22:23 +00:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Carmelo Cascone
2cad9efec5 Various fixes to get a P4Runtime demo that works
Change-Id: Icab512fceeb6ec0faf1b402c1e325e055cdb2caf
2017-08-03 16:17:58 +02:00
Saritha
1583a6f30e APIs to Get ovsdb device port errors and related apis
Change-Id: If4ba16d20b5544da7cbe84f2e167f4bc6242b89a
2017-08-02 16:35:41 +00:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Carmelo Cascone
a966c34402 Catch exceptions when processing messages on P4Runtime stream channel
Also, packet I/O test in P4RuntimeTest.

Change-Id: Ib11d7356eef43cd962cf47f8a6fba8fc23ed69be
2017-08-01 07:59:12 +00:00
Carmelo Cascone
0e896a0285 Implemented class for PI match key
Used as table entry ID in P4Runtime devices

Change-Id: I9f35503f118fa6e6a23b59aa6b716273a24ece0a
2017-08-01 07:54:35 +00:00
Thomas Vachuska
1251e63216 Cleaning up app categories and default app origin to be "ONOS Community"
Change-Id: Ia01dffcbd2c4dcf615dd3af5e2f941a5d4beff42
2017-07-31 22:49:49 +00:00
Henry Yu
c10f7fc403 [ONOS-6760][ONOS-6761] RESTCONF changes and fixes
* bug fixes for POST and PUT
* added support for PATCH
* added support for RPC

Change-Id: Ib03dd1e92d4e7231851340063eb23e4b3ad582cf
2017-07-31 18:51:31 +00:00
Andrea Campanella
288b273cf3 Implement support for packetIn through p4Runtime
Change-Id: I92cc1a2bd7edde8916aad61c20d7411f93368612
2017-07-28 19:21:08 +02:00
Carmelo Cascone
b2e3dbaef0 Pi classes to support P4Runtime action profiles
+ modified default.p4 with ECMP capabilities (via action profiles)
+ sketched translation logic of ONOS groups (in Bmv2GroupProgrammable)
+ replaced existing instances of default.json/p4info with symlinks to
	p4src build directory (to avoid inconsistencies)

Change-Id: If82f0b8ce296c9b616415d99864d216b77645a87
2017-07-28 16:01:31 +00:00
Carmelo Cascone
c8e8498893 P4runtime test utility app
Used for quick testing of P4Runtime with real devices.
To be removed before release.

Change-Id: Ieca17493e4b012ef748709014b62ebe54ba76dce
2017-07-27 14:09:00 +00:00
wu
0ef5b6fc60 A wrong word for gRPC
Change-Id: I989f6f503660b075d0d3b7ecbaa84c16d02e4532
2017-07-27 05:01:42 +00:00
Sean Condon
7347de9323 Bug fix for NETCONF controller - disconnect
Change-Id: I1f01f5b7e21e2e9c14358b4686077896ae4975e8
2017-07-26 12:15:52 +00:00
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