3637 Commits

Author SHA1 Message Date
Sho SHIMIZU
53bcc24715 Follow JUnit 4 style instead of JUnit 3 style
Change-Id: I594e458c4c609dab06179a04462284f2b3565674
2016-08-17 16:31:54 +00:00
Chiara Contoli
a8f69ff3fd Adding SinglePointToMultiPointIntentCodec for support SP2MP intent over REST
Change-Id: Ic04529520ad1719f3d241b3a79d8e0602bfeac4e
2016-08-17 16:23:56 +00:00
Jonathan Hart
e3bcfc3f0c Fix bugs in extension treatment REST API
Change-Id: If47f5ffce634617200e765be72c7898d984b0786
2016-08-16 18:42:37 -07:00
Yuta HIGUCHI
c2e6815ddc Use Java 8 Map#compute when possible
Change-Id: Ida300c054449047096f355f09b3843e4934dcd18
2016-08-16 22:45:15 +00:00
Yuta HIGUCHI
4859b3ab6f Fix for Host2Host Intent issue.
- installing HostToHostIntent was failing on multi-instance cluster

Change-Id: Ib473a49459c333bfbe74fbcec8363473739cf424
2016-08-16 12:58:23 -07:00
Sho SHIMIZU
21d00698f1 Remove explicit type parameters which can be inferred
Change-Id: I62cd4df252bab6208e1b1cd37f8f8757b0cfc17e
2016-08-16 18:07:05 +00:00
Sho SHIMIZU
1578042b4d Use for-each statement
Change-Id: Ib89f3372caebc30542739c0eba62f67ef56a4d4e
2016-08-16 08:57:59 -07:00
Sho SHIMIZU
ef17cbd777 Remove redundant toString() calls
Change-Id: I822e9cfe36b7162c7c4fc79e1680c6f54cd64827
2016-08-16 01:03:10 +00:00
Yuta HIGUCHI
f05db4017e Fix for Netty wiring issue after 4.0 bump.
- After updating Netty 4.0 version,
  we sometimes see java.lang.NoClassDefFoundError: io/netty/util/internal/TypeParameterMatcher
  with backtrace insisting there's some dynamic class resolution inside Netty.

  It might be side-effect of recent native-epoll support inside karaf?
   https://github.com/netty/netty/issues/5119

- Add DynamicImport-Package for io.netty to allow deferred wiring
  http://felix.apache.org/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.html#how-to-provide-optional-services
- Add a way to pass DynamicImport-Package on BUCK build

Change-Id: I50ec3400e940c56fb52563d84659ebb30c302235
2016-08-16 00:59:48 +00:00
helenyrwu
2a67490040 Implement path protection for point to point intents
Change-Id: I3f3627e7c2a7e3ab017e46655692ab70fdeae413
2016-08-15 21:26:41 +00:00
yjimmyy
b94f93b7a3 Implement Oplink drivers for port adjacency
Change-Id: I3cdc402c4dac544a7cb48544352df758c416345d
2016-08-15 18:28:57 +00:00
Sho SHIMIZU
ee5d121524 Don't use Boolean constructor
Change-Id: I962e1aed5d9acc3f141bf14a64c0a5af3aa6f4e7
2016-08-13 01:21:22 +00:00
Sho SHIMIZU
8d50c8d075 Simplify String concatenation
Change-Id: I266cc74d80c22675cffd539260171f9044fc1b78
2016-08-12 17:29:02 -07:00
Sho SHIMIZU
81470a5c3d Use StringBuilder instead of StringBuffer
Change-Id: Ia8784f55ad04cc0da490e3c56f1ae4dae7463656
2016-08-12 17:24:55 -07:00
Sho SHIMIZU
19af19d123 Use JDK's Optional instead of Guava's Optional
Change-Id: Ia37b2977ede215363374e292b5565f007f1d6483
2016-08-12 16:50:51 -07:00
Sho SHIMIZU
fad6dbcfd3 Remove explicit use of method reference
Change-Id: Idb08d28d66b4285a738b2bf98e1c61882d179da1
2016-08-12 23:06:22 +00:00
Sho SHIMIZU
e0b7d16e20 Remove unused import statements
Change-Id: I4ff6cba3a880dd324c4b991270e7d7a9d3a89844
2016-08-12 23:04:58 +00:00
Sho SHIMIZU
99e90cd7f5 Replace anonymous class with lambda expression
Change-Id: Icb3c5b6146a4a0a11d0d2300b395689f9286dfb9
2016-08-12 23:04:32 +00:00
Sho SHIMIZU
970d6e230c Remove unnecessary reference to this
Change-Id: I1913041fc71169dc69ffd1243663b6304f4dc7ec
2016-08-12 22:53:02 +00:00
Sho SHIMIZU
070c319a40 Remove methods just calling its super
Change-Id: Id212e4b75e220e2304af0ed7892983f0a2141b8a
2016-08-12 22:46:57 +00:00
Sho SHIMIZU
d86c807cf5 Remove methods just calling its super
Change-Id: I8eaa1b8e7efb70c51b0bf8877f7d77eddf8e66a2
2016-08-12 22:46:53 +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
3aa0b18455 Remove unnecessary static from enum
Change-Id: Ie2f356c47d7d85100b789a15d913502868d95e8a
2016-08-12 22:14:40 +00:00
Sho SHIMIZU
32ae9c54ce Remove unnecessary semicolon
Change-Id: I79c69ee98992e13374436e8bd2add4fd778eb966
2016-08-12 22:07:49 +00:00
Sho SHIMIZU
431cafdfd0 Remove final modifier from a private method
Change-Id: I2be844b5e2b6e27ead5056c0563207e4336fc4a1
2016-08-12 22:05:38 +00: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
Yuta HIGUCHI
ed1ca66399 Attempt to fix sporadic NettyMessagingManagerTest failure.
Change-Id: Iae570c329a3fe0e7e46f9caf13a5b283a2153ed4
2016-08-11 23:16:58 +00:00
helenyrwu
e3c4334776 Fix disjoint path exceptions when backup not present
Change-Id: Ib8de79700f17a3b06e4b790064dc0c5625c77b38
2016-08-11 21:42:03 +00:00
Simon Hunt
3d71252d1c Added endPortA/B to UiLink class.
Removed 'online' property from UiDevice, choosing to look up availability on the fly from device service.

Change-Id: Ib14ab371a11c442a30cf407f11d366271d087c68
2016-08-11 11:20:58 -07:00
Simon Hunt
f836a87af6 Added breadcrumbs array to topo2CurrentLayout response.
Included Region name in "closed region" data structures.

Change-Id: I1d4c223255b7ea8239f38c63d4caebe1bdeddf32
2016-08-11 15:00:58 +00:00
Yuta HIGUCHI
bef16cde61 Simplify ConnectPoint#toString format
for ease of reading logs.

Change-Id: I981cf877eb53f64e77fdef48bca30625942bc8f2
2016-08-11 03:20:31 +00: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
Simon Hunt
6a8cb4f3e5 ONOS-4970: Device data for topology view -- WIP.
Change-Id: Ie5a0c65f38b32672570919c50c1f53b14d293d3f
2016-08-09 20:31:24 -07:00
Yuta HIGUCHI
013688cd62 typo fix
Change-Id: I0a55707e145fef97798d1eb4d88cedec50c42e52
2016-08-09 16:57:11 -07:00
Yuta HIGUCHI
df97013b13 Handle null secondary path properly
Change-Id: Ie537c9fc7b6751ca071b3c7bf1e465bafe7913d3
2016-08-09 21:33:00 +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
Simon Hunt
c13082f7fb ONOS-4971: Synthetic Link Data -- WIP
- Breaking out UiLink to subclasses for device links, host links, region links, region-device links,
    - (soon, also peer links).
- Augmenting UiLinkId to include regions as endpoints.
- Introduced UiSynthLink to encapsulate synthetic links bound to regions.
- Model Cache now computes synthetic links from the underlying link data.
- Added endPointA/B() and type() methods to UiLink.
- Updated topo2CurrentRegion response to include synth-links for the region.

Change-Id: Ifa62a15fbe0a58b134d92278b201fa7a72cbfa83
2016-08-09 16:44:48 +00:00
Srinivas Bandi
bc38cd417c Fixing ONOS-4875
Change-Id: I2b4fec44f623cc6df90c45c1cabc8c40601bf4b6
(cherry picked from commit 1a5491ecaf6e648a547ea1265796835f7a24d300)
2016-08-09 12:03:22 +00:00
Sho SHIMIZU
ef835c9d46 Make ResourceService API more flexible in parameter
Change-Id: Ic8b803cc6ae3b2798de525bfd6545ac5c57e8fdd
2016-08-09 00:17:51 +00:00
Yuta HIGUCHI
c3d69f52e5 Fix NPE when there's no secondary path.
Change-Id: I3bb8eeb2abf140d44cf4dc7186cf1bf316c23f70
2016-08-08 23:50:40 +00:00
Michele Santuari
208b1675d9 Polling link provider
The provider is capable of polling the environment using the
    device driver behaviour (LinkDiscovery)

Change-Id: Ia09f866299d38c4de9b13201c9cf63b03909164a
2016-08-08 23:16:43 +00:00
Kavitha Alagesan
c69c66ae54 Merged master fixed conflict.
Change-Id: I1260048f4cc90c422ce6033d506c25ec38d6cc3a
2016-08-08 17:56:09 +00:00
Varun Sharma
b711fbf424 Cherry pick ONOS-4721 fix
Change-Id: Idb0ba949293451488b350c7cdcfc50094a3c9abc
2016-08-08 13:21:29 +00:00
Yuta HIGUCHI
516a8ca0bc Typo fix
Change-Id: I5d2df10b35ff2af32a28418dcee442ea5011bed2
2016-08-05 23:00:01 +00:00
Jonathan Hart
679d24d193 Unit test for Kryo namespaces to prevent people overflowing the namespaces.
Change-Id: If37283da60d59558c87e2997690b4578952ad3bf
2016-08-05 14:45:45 -07:00
Thomas Vachuska
0666f155b0 Cleaning-up shared executors use of metrics service.
Change-Id: I4293df87cd46e9f22cbdf03cfbced9a21ba85de7
2016-08-05 12:05:52 -07:00
Thomas Vachuska
1ca7e9fdfd Fixing cyclic component dependency issue.
Change-Id: I7951df92b4a81f09f8ec3c1ae376a7d1125655df
2016-08-05 10:21:41 -07:00