4746 Commits

Author SHA1 Message Date
Jordan Halterman
2edfeefc3a [ONOS-7379] Use atomic operations for flow table updates to avoid losing flows during updates
Change-Id: If15361f454b57cf551236674f757b8b7b08ec238
2018-03-15 10:32:13 -07:00
Laszlo Papp
84adcac63b Introduce driver property to suppress group feature
Change-Id: I7bf9857a7a71e3b4ef64aa7fd2c8777ff20dc95b
2018-03-14 16:42:19 +00:00
Andrea Campanella
76cbdfb2a2 Fixing flow rule count on single instance
Change-Id: Ic1c76bb3ccb783541e499f7ac35d99399b31bdb1
(cherry picked from commit ce5ea129ad5e291d5b07b66ab91b79d9c78d998c)
2018-03-13 17:17:34 +00:00
Yuta HIGUCHI
435f23c48d Gracefully handle Device not there yet
- according to the javadoc, this should return
  DomainId or null

Change-Id: Idf1a1719bd987ed1d22e4801a7a2fa8a22fd532b
2018-03-12 21:12:16 +00:00
Jordan Halterman
dc49cfd104 Use single counter for host probe index to avoid unnecessary Raft session creation
Change-Id: I59829879e291caf33fc3abd4b5bbb69f0be92261
(cherry picked from commit 14c832b664c407015798f49a787cae184639a9f1)
2018-03-09 18:28:51 +00:00
Thomas Vachuska
c67a9912cc Added support for grid coordinates in the legacy topology view.
Change-Id: I48533f24eded919673af92a59cc5e2edefef46b3
2018-03-08 00:03:45 +00:00
Ray Milkey
3b9644f6c1 Remove superfluous throwIfUnchecked() call
Change-Id: Ie1cd4cdad94331e8f3bee07a7cb8d17b6db4261e
2018-03-07 23:40:42 +00:00
Ray Milkey
6a51cb9c4d Remove calls to deprecated Throwables.propagate() method
Change-Id: Id48a8f1d4fb02560cfb77108f554556a3cad9b16
2018-03-07 21:52:46 +00:00
Laszlo Papp
759f0d3103 [ONOS-6958] Add glyph registration java code
Change-Id: I954c790062f8ff5498c34c334827c4f695278a9e
2018-03-07 21:26:41 +00:00
Pier Luigi
05514fd960 [CORD-2739] Caching in McastHandler
Change-Id: I7cb2aa98f55ce96e5c1992bcada3d29a19b6526c
2018-03-06 18:40:49 +00:00
Pier Luigi
9789311cd4 [CORD-2802] Fix events reordering in FlowObjectiveManager
Change-Id: I5fac27240eac0c182d565ab84e9d8209f4e8d2ce
2018-03-06 18:40:49 +00:00
Ray Milkey
27cff8c805 Remove deprecated unfiltered connect point methods from multipoint to single point intents
Change-Id: I220a024568852d1f3168bac3f5cf47d0b3fd9d86
2018-03-06 17:17:59 +00:00
Palash Kala
8d30b616b4 [ONOS-7509] deviceDisconnected method in Device Manager uses ports description information
Change-Id: Id32fc7f0d35382158e2d06fa71cc6d75b856018b
2018-03-06 02:27:50 +00:00
Thomas Vachuska
a8e7477603 Adding command to add routes and to generate flows from them.
Enhanced FlowRuleStore and FlowRuleService with a new method.

Change-Id: I011371c1931294448e361fc1ceb120d89c14489d
2018-03-05 21:53:35 +00:00
Yuta HIGUCHI
53e4796d55 Deprecate potentially error prone constructor methods
Change-Id: I82d95c27dc7c4b1a6dcf5cc48a1c7583b5e30e2c
2018-03-05 20:43:39 +00:00
Ray Milkey
874581a694 Unit tests for interface config class
Change-Id: I28d68ddf3847dcc6ec6b58d36b81bba6e3ac9f02
2018-03-03 23:10:28 +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
Pier Luigi
57d417971e [CORD-2748] Multicast flows are not properly updated when changing source
Change-Id: Ia4a9e9f132156e4b9a7eb56dd943f1fd13bc1560
2018-03-01 21:16:05 +00:00
Jordan Halterman
48d75d6426 Revert "Automatically balance leaders on failover in LeaderElector state machine."
This reverts commit 2135e037437d9f68eda7bbd569b91e90ac74136d.

Change-Id: I20ff709c13dd5f3998ab1c77d53188c452baaa3c
2018-02-28 17:11:36 +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
Jonghwan Hyun
f810a7a2e7 [CORD-2721] Implement group bucket modification
Change-Id: I0f637ec4ff2b0c12db53d70fed195ea28e542535
2018-02-27 20:45:06 +00:00
Jordan Halterman
931d3e7a4a Ensure client events are handled in the correct thread in consistent primitive tests.
Change-Id: Ic6db44ec8fc393d6194eeba8b3f84c28245a254a
2018-02-27 19:59:06 +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
Pier Luigi
9930da54a6 [CORD-2484] Deleting multicast route does not clean flows and groups
Change-Id: I6b669b6c202430af070a8977c23d63e2d072bf51
2018-02-16 11:57:10 -08:00
rohitsharan
a127ba895c Adding openflow protocol set support in onos for device
Change-Id: Id796e54b536eda19d511a1978657abd6e149f117
2018-02-16 18:05:26 +00:00
jaegonkim
598e8b841b [ONOS-7487] UnsupportedOperationException: Driver does not support extension type ExtensionTreatmentType{type=200} for DefaultGroupBucket
Change-Id: I4bb392797981490b51e616a39f97985fdef5fde9
2018-02-16 17:48:06 +00:00
Ray Milkey
7483e1b466 Remove deprecated LinkWeight interface
Change-Id: I4d3edab133d115ba189f317202d2dfba9b100918
2018-02-16 17:40:29 +00:00
Jordan Halterman
4ce65e8f8e Upgrade to Atomix 2.0.18
Change-Id: I433e8b85d5aad007531c24495dd8298aeef9f79e
2018-02-16 17:36:54 +00:00
Yuta HIGUCHI
2d1b590ba3 Add more utility methods to DocumentPath
Change-Id: I993006c45187be1cb7d4b627a5c9d7c5ee5edec9
2018-02-16 17:27:46 +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
Thiago Santos
01c93383c0 TestConsistentMap: cannot remove while iterating
You get concurrent modification exceptions if you do that.

Change to collecting all the keys before removing them.

Change-Id: Ie2492eaf7d5dcfd8e8261285f7ad530a686a543a
2018-02-16 17:15:28 +00:00
jaegonkim
1c1f0c2c59 [ONOS-7410] DeviceManager.deviceConnected does not apply device annotations
Change-Id: Iafaa4bdc717d19052660ccf1c7455494ff95d22f
2018-02-15 22:37:25 +00:00
Yuta HIGUCHI
b2a20d1138 null-safe DocPath ancentry tests
Change-Id: I36709bee94b10e516427adb892d1caeabea1b9aa
2018-02-15 19:29:42 +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
Jordan Halterman
94db191605 Ensure messages are correctly timed out in NettyMessagingManager
Change-Id: I341394a967c3cb8daf4668e6040c25598c87a6a7
2018-02-09 18:27:35 +00:00
Ray Milkey
a7cf8c8f55 Remove deprecated DefaultPath constructor with a scalar cost
Change-Id: Ifc4104cff773c9c692cc108fda02ce44bc6c2870
2018-02-09 17:51:28 +00:00
Ray Milkey
d517073994 Remove deprecated behaviour Queue APIs
Change-Id: I4733b2bc6c2049e4ede5505954085b38d066d5f0
2018-02-08 22:34:08 +00:00
Ray Milkey
640fedd7e6 Remove deprecated port behaviour classes
- PortConfig
- PortDiscovery

Change-Id: I88c9438969de00146c99bb75e928260ea8ce954a
2018-02-08 22:33:18 +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
Jordan Halterman
4504e5976a Upgrade to Atomix 2.0.16
Change-Id: Icd0a00379393e20e7ad5d35dd6d1665ecdab4dba
2018-02-08 02:51:48 +00:00
Jordan Halterman
23e73c57f0 [ONOS-7373] Ensure Netty channels are closed on send exceptions
Change-Id: Ia77ec7857bb5b8dedb508edd8e0977f2eaddac0b
2018-02-08 01:07:39 +00:00
Thomas Vachuska
1b1355d83f Adding ability to wipe-out UI model cache and network config.
Change-Id: I3d4aecb989c1d4fc2589471fa3ddd53f62c49eb5
2018-02-07 17:01:53 +00:00
Ray Milkey
5c7d488269 SONAR suggestion - proper handling of InterruptedException
Change-Id: I67a93c064708c207d9ce83fac319682c2d17db60
2018-02-07 00:59:07 +00:00
Jordan Halterman
46c5eaa7c5 Make caching optional for LeaderElector primitive.
Change-Id: Id77ae735ceed51c61e781cbcf4fc1111be1c1298
2018-02-06 15:06:53 -08:00
Jordan Halterman
5bbe5bad20 Upgrade to Atomix 2.0.15
Change-Id: Ifef1a11a49ed2bd22a4905c18e72d6a906eb26c8
2018-02-06 15:06:27 -08:00
Ray Milkey
961b19f66d SONAR suggestions - eliminate lossy arithmetic
Change-Id: I5a02ea407225ee0c9df040b74a8c0dc2ee5d5cb3
2018-02-06 17:54:52 +00:00