18 Commits

Author SHA1 Message Date
Jian Li
2266bff9e5 [ONOS-4385] Handle flow removed message type in all cases
- Do not handle packet in messages inside ControllerImpl class

Change-Id: Idcb26b277b790125bd6b3ba8f10bb4c60e2a3c58
2016-04-22 16:00:05 +00:00
HIGUCHI Yuta
d9e0105d79 log uncaught Exception
- Use execute instead of submit so that uncaught Exception will
  be dealt and logged by ExecutorService's handler.
- Use component's own logger

Change-Id: I761264aea00748980929b5048e111756776dd2f6
2016-04-19 17:10:00 +00:00
Madan Jampani
6bcf5f2766 Lower log level to debug for openflow ssl status
Change-Id: I8a3fa7e4b302810455c979132595bebff76604d4
2016-04-18 23:11:50 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Jonathan Hart
019877f1bc Prevent spurious debug message being logged.
Change-Id: I88fabb3304081a6d313ac2d8849851c1b2d227ee
2016-04-07 18:44:58 -07:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Ray Milkey
eba68177fc Remove open flow controller connections on shutdown
Change-Id: I27895ea26a68dcfe395821f0492a292288ceb34b
2016-03-07 23:20:11 +00:00
Ray Milkey
d931a9bf75 Refactor some core testing adapters to not be in the openflow hierarchy
Change-Id: Ia2604337e4b9a7bfa4f6c3c06c5defc499143cba
2016-03-03 06:17:00 +00:00
Andrea Campanella
dda93560aa Moving Openflow executors from submit to execute
Change-Id: I446747c7b28d2562ff14afe7e898cab8a83a14b7
2016-03-03 00:51:22 +00:00
Jian Li
28247b5e36 [ONOS-3724] Fix the Cbench regression issue
Control message monitoring brings some overhead to controller.
In an extreme stressing environment (e.g., running Cbench),
it leads potential performance degradation.

This commit tries to mitigate the Cbench regression with two steps:
1. improve the monitoring performance by assigning more # of
threads in each thread group.
2. make the control message listening feature optional.

Change-Id: I4f7361b7c598c6de71d390eab78a20ada381d4dd
2016-01-11 18:10:03 +00:00
Jian Li
c0c36a4e9a [ONOS-3703] pom.xml external dependencies and plugin version bump
This commit bumps up all maven plugins and dependencies to their
latest version. With bumped version onos passes stc test.

Following plugins are not ready to be bumped up due to instability.
check-style 2.16 -> 2.17: compilation error
maven-compiler-plugin 2.5.1 -> 3.3: always perform recompilation

Following dependencies are not ready to be bumped up due to instability.
kryo 3.0.0 -> 3.0.3: unit test failure
slf4j 1.7.6 -> 1.7.13: fails in stc

Change-Id: Iffe8b0734c7088228ebeee1ef597f0df3dfcd63d
2016-01-10 01:19:39 +00:00
Andrea Campanella
80520b89b1 ONOS-3650 Device driver multiple inheritance
Change-Id: Ib7b72d44533d4e63c4122662b50485243562aa21
2016-01-07 02:02:02 +00:00
HIGUCHI Yuta
1979f55af7 Bug fixes for ONOS-3509
- Forwarding behavior added to {Device,Link}Store by ONOS-490
  cauesed false update information sent from ONOS node, which has been detached from the cluster,
  to be accepted by rest of the cluster after the detached node has rejoined cluster.

- Fix for periodic mastership check was left out
  when MastershipService#requestRoleFor(..) return value was changed to Future.

- Fix for triggerProbe() related messages getting dropped,
  right after STANDBY -> MASTER role change.

- Local state (connectedDevices) was preventing
  vertical (Core -> switch) Mastership state synchronization.

- Various debug log, comment added during investigation.

Change-Id: I777beadf04db8a879830a07bfdc7ab0e2279f190
2016-01-06 09:12:33 +00:00
HIGUCHI Yuta
d9c6117a2f Clean up tempDir after each test runs.
- Fix for issue with /tmp disk full issue on Jenkins.
- Using JUnit Rule TemporaryFolder where possible.

Change-Id: Ie91eba37581ba5bf6c32be7f614220e2098ce2f8
2016-01-05 17:22:25 +00:00
Jian Li
152b88508a [Falcon][ONOS-3537] Implement control message collecting logic w/ unit test
Change-Id: Ic21d476a5ad92d7ef739fa3c13dcc06e5cbf7c56
2016-01-04 18:50:06 +00:00
alshabib
5162a9d216 fix for OF ssl, which now permits multiple switches
Change-Id: I69b52ba2521b66ba8c3062f94b0cbd0ce1d1f8f9
2015-12-08 07:37:11 +00:00
Charles Chan
ecfdfb7461 ONOS-3411 Disconnect switches and stop stat collectors when openflow-base is being deactivated
Change-Id: I9a1b5fbb60a9e7135cd586fe717c18f83e3d864d
2015-12-02 19:25:49 +00:00
Brian O'Connor
5e7fc6da79 Moving openflow to protocols/ directory
Change-Id: Ie7695f4ab25e9906ebf2ec1a0b59f74d652089b8
2015-11-19 15:20:00 -08:00