Sho SHIMIZU
d21c4ddaee
Read the latest value of dispatchFuture
...
The field, dispatchFuture, is accessed in activate() method and the thread
where Watchdog is running. Then, different threads could access the field
and couldn't read the latest value.
Change-Id: Iceb390bcf3c5711c1dbb59198667138c8a90b036
2016-08-30 13:30:36 -07:00
Sho SHIMIZU
723907835a
See the latest value of dispatchLoop
...
The field, dispatchLoop, is accessed in activate() method and the thread
where Watchdog is running. Then, different threads could access the field
and could miss the latest value.
Change-Id: Id218522f5b318fb3d05833ba57d908a1bf6d2949
2016-08-30 13:29:14 -07:00
Ray Milkey
f13feb84e8
Recover from NPE that can sometimes be thrown by Felix
...
Change-Id: Ib9415df4708dc1265edfdaf4168bd29eb0805614
2016-08-30 18:39:34 +00:00
Murat Parlakisik
c6759e80bd
ONOS-4374 Enable installing flows with hard_timeout
...
Change-Id: I4e60e93aad44c7e8f8913fa4dd3ed5a2565d7034
2016-08-30 17:46:55 +00:00
Jonathan Hart
38feb6eddc
Revert "Fix for ONOS-5032 and ONOS-5034"
...
This reverts commit 50ad080683317df192a0f7159d9902dc1c403ed2.
Change-Id: Id2f9924a28c18686b4be30200244dbd0c975e90a
2016-08-29 23:16:45 +00:00
Deepa Vaddireddy
50ad080683
Fix for ONOS-5032 and ONOS-5034
...
Change-Id: Ib964252dd05754ce7069a7a82ccb1d1c29bfa978
2016-08-26 03:22:47 -07:00
Yuta HIGUCHI
ad0c990e6c
Evict pipeliner/driver cache only on DEVICE_REMOVE
...
- step toward runtime driver reconfig
Change-Id: I55a9db9a6c2e54a25ca18bec326f4fb33a013d74
2016-08-23 10:37:32 -07:00
Yuta HIGUCHI
1fb0a8cfa1
Lazily populate Pipeliner cache
...
Change-Id: Ibbb9312b47c2c61df9ed15370b46fb07a8c7a16c
2016-08-22 20:05:48 +00:00
Viswanath KSP
22774cd863
Addressing review comments of patch-3
...
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics
Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
Pier Ventre
d48320e892
Fix [ONOS-4857] and impement [ONOS-5143]
...
Change-Id: I7159ff9deaacaf10070e1535f4a80f2f846a5784
2016-08-22 18:07:18 +00:00
helenyrwu
89470f1d99
Group event indicating failover of previously used live port
...
Change-Id: I32749b38d5e4fab93fa97bbf6587bd0dc91db88c
2016-08-18 16:56:47 +00:00
Yuta HIGUCHI
0de4ba9401
Remove duplicate version specifications
...
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
helenyrwu
e6aaa3376e
Filters intent list before installation
...
Change-Id: I6f73ff65ab7e31fac8e9a6f28f20f0119e24793d
2016-08-17 16:33:07 +00:00
Sho SHIMIZU
21d00698f1
Remove explicit type parameters which can be inferred
...
Change-Id: I62cd4df252bab6208e1b1cd37f8f8757b0cfc17e
2016-08-16 18:07:05 +00:00
helenyrwu
2a67490040
Implement path protection for point to point intents
...
Change-Id: I3f3627e7c2a7e3ab017e46655692ab70fdeae413
2016-08-15 21:26:41 +00:00
Sho SHIMIZU
81470a5c3d
Use StringBuilder instead of StringBuffer
...
Change-Id: Ia8784f55ad04cc0da490e3c56f1ae4dae7463656
2016-08-12 17:24:55 -07:00
Sho SHIMIZU
970d6e230c
Remove unnecessary reference to this
...
Change-Id: I1913041fc71169dc69ffd1243663b6304f4dc7ec
2016-08-12 22:53:02 +00:00
Sho SHIMIZU
5c396e3cf3
Remove explicit use of the default value
...
Change-Id: I27efdfbb7703f49b7ca13b12fcc71fa20bccf6a7
2016-08-12 15:19:12 -07:00
Sho SHIMIZU
3437bdb069
Fix dangling Javadoc comments
...
Change-Id: I828f9bdf0c2b2205b9239c2ef5c85aadd83bb3f0
2016-08-12 14:57:37 -07:00
Yuta HIGUCHI
532eb21b36
Refresh pipeleiner cache with newly initialized Pipeliner
...
Change-Id: I149b450a6698fd0b0f4af719396fef83f8140549
2016-08-11 18:27:33 -07:00
Thomas Vachuska
bddbb25618
Added a temporary fix for out-of-order app activation event delivery.
...
Cleaning up app subsystem code a tiny bit as well.
Change-Id: I5df7d4c6d62d122653331474fb079648e779d595
2016-08-10 23:56:57 +00:00
Simon Hunt
f4fd2a2e47
Clean up handling of lat/long geo-coordinates.
...
Change-Id: I64fca56c7deb9a8baa6c68558365ec2a8c38168c
2016-08-10 16:31:11 -07:00
soumya
3e6f05e0bc
Code changes to ensure ONOS has each IP address attached to only one host at a time
...
Change-Id: I1b4de39175d5bfd5ddf04c9087f4f3beff264594
2016-08-10 20:57:51 +00:00
Sho SHIMIZU
a09e1bbdbd
Use Collection#forEach() instead of Stream#forEach() for simplicity
...
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
Sho SHIMIZU
ef835c9d46
Make ResourceService API more flexible in parameter
...
Change-Id: Ic8b803cc6ae3b2798de525bfd6545ac5c57e8fdd
2016-08-09 00:17:51 +00:00
Kavitha Alagesan
c69c66ae54
Merged master fixed conflict.
...
Change-Id: I1260048f4cc90c422ce6033d506c25ec38d6cc3a
2016-08-08 17:56:09 +00:00
Thomas Vachuska
0666f155b0
Cleaning-up shared executors use of metrics service.
...
Change-Id: I4293df87cd46e9f22cbdf03cfbced9a21ba85de7
2016-08-05 12:05:52 -07:00
Jonathan Hart
78613d2e16
Probe immediately when IPs are added to host monitor
...
rather than waiting for the next polling cycle.
Change-Id: Iffaf50f7a589b52be659b82b8a289e04a5de4ca6
2016-08-04 00:26:41 +00:00
Yuta HIGUCHI
d95d590b7e
[ONOS-4513] Move optical Intent compilers out to optical-model (3/3)
...
- core/net is now optical clean
- reverting part of Change-Id: Ib8ddac6e93327ade9d42984d8eba66be7047d051
which lead to loss of package import information, causing OSGi issue
Change-Id: Ie6b16abd3ecc872f0920d29c7577a10c44091af6
2016-08-03 18:54:43 +00:00
Yuta HIGUCHI
b9af6b79ef
[ONOS-4691] Refactoring OpticalPortOperator (2/3)
...
- Define ConfigOperator for a Port
- Refactor OpticalPortOperator as PortConfigOperator
- Add plug-in mechanism for PortConfigOperator on DeviceManager
- Move OpticalPortConfig, OpticalPortOperator to optical-model bundle
Change-Id: I5d416305b0c1b0e31e0ad64baa92d126303548bc
2016-08-03 18:54:26 +00:00
HIGUCHI Yuta
f3ead25267
[ONOS-4513] Slice optical-model into separate bundle (1/3)
...
- net and cli bundle has dependency to optical-model bundle,
which should be removed in the longer run. (ONOS-4626)
Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00
Yuta HIGUCHI
90e12291f5
Fix NPE in AbstractPathService.
...
Was triggering NPE when used in plain PathManager
- implement PathService to inherit interface javadoc
Change-Id: I345ec84ed3e61a383574fd58679fb00291b4bba0
2016-08-03 10:18:15 -07:00
Claudine Chiu
45920ddeb8
ONOS-2184 - initial impl. of virtual network path service; move path related methods from PathManager to AbstractPathService (since they are reused for VirtualNetworkPathService).
...
Change-Id: Ib4211d69a15c23a50de420b771877bb659539c22
2016-08-02 21:31:37 +00:00
Brian Stanke
fb61df4c6a
ONOS-2184 - Implementation of virtual network topology provider.
...
Change-Id: I846ba56c138187c6e5435692798e709b74a78020
2016-08-01 18:19:47 +00:00
Jon Hall
7a8bfc6caa
[ONOS-4460] Relinquish device role when partitioned away from cluster
...
Change-Id: I578029614cced96a2d4503e4fe3052c927f051ab
2016-07-28 00:37:14 +00:00
Pier
1677f9f566
Fix PathCompiler in case of VLAN encapsulation
...
constraint and 1 hop.
Change-Id: Iea82fb4076c79bfa3770836459ffe5f25b5a79c1
2016-07-25 22:43:07 +00:00
Yuta HIGUCHI
1624df1f30
Assigning names to various threads
...
- specify nearby logger when possible
Change-Id: Ia8925ab1459c4d1da922becd0e201388d44d4294
2016-07-22 22:56:26 +00:00
Thomas Vachuska
e7ea688a60
Allowing driver loaders to refer to classes loaded by others.
...
Change-Id: Ife4e50758620d4c052a7bb81740d9b9305647317
2016-07-22 22:24:16 +00:00
Nicholas Dean
126b8afeeb
ONOS-4802 sp2mp intents now apply treatment at the egress switch
...
Change-Id: Ibdd675f331e522c8b9f1d0e2e9fd5d6b93162fd1
2016-07-22 18:56:46 +00:00
Yuta HIGUCHI
0b5b82e51f
BugFix for ONOS-4942.
...
- Was excluding EdgePort when trying to remove EdgePort...
Change-Id: I79da723da5b045e322ec9b9cdb5457a17f1aceb4
2016-07-21 23:52:59 +00:00
Yuta HIGUCHI
e50a56d64f
Replace deprecated method usage.
...
Change-Id: I119450c40926fc1b60d5f201e3f904ebb4b97a9c
2016-07-21 23:33:23 +00:00
Yuta HIGUCHI
b440ef46cb
EdgeManager fixes
...
- Edge point update should be triggered based on TopologyEvent.
{Device, Link}Event can be triggered before TopologyEvent,
which will result in use of the outdated Topology to determine
if the port is an edge port leading to incorrect edge port set.
(ONOS-4896)
- Ports on Edge Link should not be considered part of infrastructure,
should be candidate for Edge point.
Change-Id: I7d69cc242ba7849996c1105ccd1956975db63480
2016-07-18 20:50:52 +00:00
Ray Milkey
9ef2223bc1
Fix STC crashes due to devices not found
...
Change-Id: I23f17b125498fbc5a615498815f862b3544bea34
2016-07-14 22:22:17 +00:00
Madan Jampani
0583387a45
Implementation of Hybrid Logical Clock Service.
...
Change-Id: I52e231433d044f9e6156db7e28bde9fd199118e8
2016-07-13 21:51:37 +00:00
helenyrwu
fd296b6142
[ONOS-4681] Enables device registration in GossipDeviceStore,
...
exposes availability, and polls NETCONF device reachability.
Change-Id: I5492c7b6109c3431d71555a9104c7e97fc6e75be
2016-07-13 10:02:10 +00:00
Brian O'Connor
406e264c5c
ONOS-4383 Updating traffic selector for {MP2SP,SP2MP}IntentCompilers
...
Apply egress action to ingress selector for non-ingress devices
Change-Id: I98b4c591d09cc4b5d0e0ff89eaeac44ba07e6326
2016-07-06 19:05:09 +00:00
Brian Stanke
11f6d53693
ONOS-2184 - Initial implementation of Virtual network Intent service.
...
Change-Id: I03103b4eca797cd32480fbd0e3b4cf0385b50ef2
2016-07-06 17:28:30 +00:00
Madan Jampani
6a2923168e
Make CoreEventDispatcher's listener processing time tracking thread-safe
...
Change-Id: Ib9f109e41fd1b78ce9771a2bb54e8bf3dda38d6c
2016-07-01 18:06:56 +00:00
Jon Hall
db2cf75d2c
Fix for reading remote cluster metadata file
...
Log exceptions when trying to access metadata file
Close connections opened when checking file availability
Change-Id: Ibe89e66ba52dba1c47b559bb784fd7376a3319f2
2016-06-29 20:43:11 +00:00
Pier Luigi Ventre
51313bdcd8
Fix ONOS-4570
...
Changes:
- Adds RandomVLAN behavior as described in ONOS-4570;
- Adds a unit test for RandomVLAN;
- Fixes the VLAN rewriting;
- Updates the unit tests relative to VLAN encapsulation;
Change-Id: I52ab2f40a30f3be617606b2b0bb7a89d48414138
2016-06-28 02:47:00 +00:00