1661 Commits

Author SHA1 Message Date
Yuta HIGUCHI
53e4796d55 Deprecate potentially error prone constructor methods
Change-Id: I82d95c27dc7c4b1a6dcf5cc48a1c7583b5e30e2c
2018-03-05 20:43:39 +00:00
Yuta HIGUCHI
2b1935d824 ONOS-7509 preserve all attributes when ensuring enabled state
- it seemed deleted flag was lost due to old code.

Change-Id: I0abb22835318f2e165bbf23fa2978b601d563be1
2018-03-02 22:46:55 +00:00
Thomas Vachuska
611f466a83 Fixing issue in component config subsystem where the locally registered
property value does not get properly updated on startup and thus wrongly
retains its default value.

Also update the Javadocs for the newly added ComponentConfigStore methods
to properly reflect the sparse map semantics.

Change-Id: I4be4fe66d45a6e20bd235c61b06e2ebcb81dfe5b
(cherry picked from commit a3b55a90bb6b09d80ae486bf8a53ae028db2aafa)
2018-02-28 01:01:14 +00:00
Thomas Vachuska
4b32fcb10c Fixing ComponentConfigManager to preset values locally; not just in the distributed store.
Also added 'preset' usage to the 'cfg' command.

Change-Id: I90df276e68328716784ca1f8624d4d0b8266ad24
(cherry picked from commit 8c73019d271efd7975f1f94c2aa32456dd73c170)
2018-02-20 22:16:38 +00:00
Carmelo Cascone
0e5632a4e4 Sonar is not happy with RuntimeException
Change-Id: I6bc2d357926aef0fe3eca808b5aa3b55e1af3571
2018-02-20 11:43:56 -08:00
Carmelo Cascone
abbd1eeb86 Fixed race condition in CriterionTranslatorHelper
Change-Id: I3869afeb0331bb2f7896a5948c671b54be91d49a
2018-02-18 19:10:57 -08:00
Ray Milkey
7483e1b466 Remove deprecated LinkWeight interface
Change-Id: I4d3edab133d115ba189f317202d2dfba9b100918
2018-02-16 17:40:29 +00:00
Ray Milkey
a2cf3a1505 Remove deprecated connect point APIs for point to point intents
Change-Id: Ie7d29a9e6d54283d3a3310ed8b1e749a631031b1
2018-02-16 17:25:04 +00:00
jaegonkim
1c1f0c2c59 [ONOS-7410] DeviceManager.deviceConnected does not apply device annotations
Change-Id: Iafaa4bdc717d19052660ccf1c7455494ff95d22f
2018-02-15 22:37:25 +00:00
Thomas Vachuska
9f6bd52524 Fixed issue where component configuration would not propagate on node restart.
Change-Id: I431ce444025cc9a8021dd68fa23c6e8c29fa6c19
2018-02-13 00:29:42 +00:00
Ray Milkey
92d206b267 Remove deprecated link collection intent compiler
Change-Id: I02624b5ce28721249ec251523990ed05d97c1b19
2018-02-12 15:41:13 -08:00
Ray Milkey
6a36035be0 Remove deprecated private method
Change-Id: I4513802d0441e643fb32f948ada1c222b12debc2
2018-02-12 13:53:26 -08:00
Ray Milkey
a7cf8c8f55 Remove deprecated DefaultPath constructor with a scalar cost
Change-Id: Ifc4104cff773c9c692cc108fda02ce44bc6c2870
2018-02-09 17:51:28 +00:00
Saurav Das
c568c34e0c Implemented CORD-1843 to avoid race condition when updating ECMPspgs.
In this commit:
 - a new mechanism in DefaultRoutingHandler to update route-path maps in all instances,
   for the entire topology, after every route event has been processesed.
 - fixed a race condition in LinkHandler
 - avoids retrying flows in the ofdpa3 driver as this issue has been fixed in the switch
 - a new CLI command to check internal link state

Change-Id: I307d0a96cc46569294d15d042b3bcb1fde735f1b
2018-02-08 20:50:12 +00:00
Ray Milkey
5c7d488269 SONAR suggestion - proper handling of InterruptedException
Change-Id: I67a93c064708c207d9ce83fac319682c2d17db60
2018-02-07 00:59:07 +00:00
Ray Milkey
961b19f66d SONAR suggestions - eliminate lossy arithmetic
Change-Id: I5a02ea407225ee0c9df040b74a8c0dc2ee5d5cb3
2018-02-06 17:54:52 +00:00
Ray Milkey
3717e604d5 SONAR suggestions - prevent truncation of arithmetic expressions
Change-Id: I4694c0c3183b991a4f0db793f584bc77a5fb7d60
2018-02-02 23:06:44 +00:00
Ray Milkey
986a47aa7c SONAR suggestion - generic exceptions
Replace uses of generic RuntimeException
with more appropriate unchecked exceptions

Change-Id: If283743c2cf7252b8d280bdb788708ebbe57da9d
2018-02-01 18:36:33 +00:00
Yuta HIGUCHI
fbd9ae9cdf Various small fixes
Change-Id: I83802169d0d968f7b88d4be2cedba74b15fdd7da
2018-01-25 22:17:25 +00:00
Jonathan Hart
34a14f71f0 Add more logs to help debug packet processing issues
Change-Id: Ia9e36bff44b6bad018305725ebb0fc2a47c86376
2018-01-25 22:13:44 +00:00
Yi Tseng
02c4c579f4 [ONOS-7392] Fix P4Runtime priority bug
Change-Id: I97aabb25ebf4f2d16c3c7f17f369a7744ef03994
2018-01-23 07:50:31 +00:00
Ray Milkey
fe0e085ed2 SONAR suggestions - boolean expressions that are known to be 'true' or 'false'
Change-Id: I4e089cb606ecf43444b4d567ad63d622f37506ce
2018-01-19 08:59:46 -08:00
Andrea Campanella
e319dc2bca Restricting mastership recheck when role NONE.
Avoids also log pollution.

Reason: This avoids one mastership recheck per instance every minute on unreachable AND unavailable device when role of instance is NONE.
Still treats the corner case where role is NONE and device is still available in the store.

Change-Id: I0bd0be5a9ed491a61cc1dc1e988dcf3a53e33993
2018-01-18 19:09:58 +00:00
Ray Milkey
9c9cde4d4d SONAR Suggestion - protected members in final classes are pointless
Change-Id: Ie34d86aecf181e73867a14864d75e0db8a8f48f3
2018-01-17 00:18:50 +00:00
Andrea Campanella
e81e941ae3 [ONOS-7377] Fix: Removing Config Factory only if last element in cluster
Change-Id: Ib9f627891b8e862dc96866d9f40d4f1694f9b3b4
2018-01-16 18:10:26 +00:00
Rafał Szalecki
9fb87f665b Remove device from deviceLocalStatus after the device was removed from the store.
Change-Id: I98ac16a9ce7baf2676d7f8f860689a6ece4b800f
2018-01-16 18:05:06 +00:00
Jordan Halterman
3c65d1bb24 [ONOS-7350] Add ISSU HA/rollback test scenario
Change-Id: I8c1952480cd429d40c77db2e66d16ace27948148
2018-01-10 23:14:36 +00:00
Ray Milkey
39f78b6f5a Remove Intent constructor APIs deprecated in 1.9.1
Change-Id: Ib88ee534174882cb135bba70a6cfc86747a0c193
2018-01-10 17:51:04 +00:00
ONOS Jenkins User
45d340c839 Starting snapshot 1.13.0-SNAPSHOT 2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8 Tagging 1.13.0-b8 2018-01-09 01:54:28 +00:00
Pier Luigi
bdcd967260 Implements policer-meter-mapping [ONOS-5867]
Changes
- Adds Policer config behavior and its implementation
- Implements id mapping
- Adds tests for OpenFlowPolicerConfig
- Adds free id api to MeterService and MeterStore
- Improves test for MeterStore

Change-Id: Ibb47375430e253131d9d9c8a60e61023ee6c8225
2018-01-05 23:12:28 +00:00
Charles Chan
479337514b Dual-homing probing improvements
(1) Active probing mechanism in the following two scenarios
    (1-1) Probe all ports on the pair device within the same vlan (excluding the pair port) when the 1st location of a host is learnt
    (1-2) Probe again when a device/port goes down and comes up again
    * Introduce HostLocationProvingService
        - DISCOVER mode: discover potential new locations
        - VERIFY mode: verify old locations
    * Can be enabled/disabled via component config
    * Improve HostHandlerTest to test the probing behavior

(2) Fix an issue that redirection flow doesn't get installed after device re-connects

(3) Temporarily fix a race condition in HostHandler by adding a little bit delay

Change-Id: I33d3fe94a6ca491a88b8e06f65bef11447ead0bf
2017-12-19 16:25:59 -08:00
Andrea Campanella
8bcd5863ff [ONOS-7311] and [ONOS-7197] Update ONOS to support most recent version of BMv2 and PI
Change-Id: Ie69cfe1946f3c9241dc7f59a64bd40005a063931
2017-12-12 14:03:36 -08:00
ONOS Jenkins User
61881df1ee Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 21:19:45 +00:00
ONOS Jenkins User
d22dccc27f Tagging 1.13.0-b7 2017-12-12 21:18:01 +00:00
ONOS Jenkins User
4bf9e3a520 Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 18:46:22 +00:00
ONOS Jenkins User
168ac92b8d Tagging 1.13.0-b6 2017-12-12 18:44:15 +00:00
ONOS Jenkins User
0e78e27f0c Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 03:27:00 +00:00
ONOS Jenkins User
2a7d833cab Tagging 1.13.0-b5 2017-12-12 03:25:23 +00:00
ONOS Jenkins User
c53a15f933 Starting snapshot 1.13.0-SNAPSHOT 2017-12-11 20:43:30 +00:00
ONOS Jenkins User
d06da9e33c Tagging 1.13.0-b3 2017-12-11 20:41:44 +00:00
ONOS Jenkins User
716484c58c Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 03:41:19 +00:00
ONOS Jenkins User
6a6ac1d5a0 Tagging 1.13.0-b1 2017-12-09 03:39:39 +00:00
ONOS Jenkins User
a57a814230 Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 00:57:30 +00:00
ONOS Jenkins User
8977cedde7 Tagging 1.13.0-b0 2017-12-09 00:55:39 +00:00
Saurav Das
f14d9ef158 Fix for empty flooding groups due to bucket add/remove commands being reordered, and
triggered by port up/down events very close to each other.

Change-Id: Ibbd7cc6eb6df35396175619d95439acd6da904b8
2017-12-05 18:35:20 -08:00
Ray Milkey
fa89f2a641 Fix NPE in PacketManager
This happens when a device event comes in when there
is no device service available.

Change-Id: I50ea44da433979ef0a3a238b22d295e671849ff4
2017-12-01 20:47:55 +00:00
Jordan Halterman
bc0308fe4a [ONOS-7243] Check for existing device master before attempting to acquire mastership to mark device offline
Change-Id: I11c1b173d2bb7d866889d0d6d42b9e7e702c2e79
2017-12-01 20:02:23 +00:00
Andrea Campanella
5a3c09c9b9 [ONOS-7279] Fix for illegal state exception when deactivating driver providers
Change-Id: I9a8c16e33cac40b91c2b6f405e66f94bcdf5e0e0
2017-12-01 13:57:48 +01:00
Charles Chan
f32d854fe4 Fix CORD-2326 Dual home host loses one of its location when its name being changed in GUI
Change-Id: I9e5500cca4aeda66ad6cef781d5552f9ec0609ec
2017-11-30 22:08:17 +00:00