8500 Commits

Author SHA1 Message Date
Jian Li
4eb3e3ace0 Revise comments to align protocol stack
Change-Id: If39b022398b90bcff6c2086da1bab8247f6c03ff
2016-08-22 18:14:46 +00:00
Jian Li
115d8602af [ONOS-4718] Initial implementation of LISP address deserializer
Change-Id: I522e16e7fd197380cf4c99038561fe9aa8f93730
2016-08-22 18:14:15 +00:00
Pier Ventre
d48320e892 Fix [ONOS-4857] and impement [ONOS-5143]
Change-Id: I7159ff9deaacaf10070e1535f4a80f2f846a5784
2016-08-22 18:07:18 +00:00
Yuta HIGUCHI
b47c9535b4 Revisiting netty configurations
- Revisiting netty configuration based on:
-- http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#11.0
-- http://normanmaurer.me/presentations/2014-facebook-eng-netty/slides.html#14.0

Change-Id: I6fe5586908ce2b7c87fd00c8f9da6cca3d907d10
2016-08-22 18:06:41 +00:00
Madan Jampani
c5a1754f88 ApplicationStore to use Topic instead of AtomicValue for app activation notifications
Change-Id: I25cf6d1744969d0b0dfd0557ec1dd163ad3148d0
2016-08-22 10:26:11 -07:00
Madan Jampani
ecf9971d82 Update TestTopic to confirm to the new Topic API
Change-Id: Ieade9340ac32d50f4e8304f3a347687a77ef49e3
2016-08-22 10:05:20 -07:00
Madan Jampani
03fb8b24ef Topic: Support for passing a executor to subscribe method for invoking the callback
Change-Id: I9db485ee381c61fbfc38aba0c2bd90cb5af171e0
2016-08-22 16:55:40 +00:00
Jonathan Hart
f79ab48e2e Protect the RouteManagers threads from exceptions thrown by listeners
Change-Id: Ia260dcdcb83070939b96e4c7fb8d20baa0ae78a5
2016-08-22 16:51:45 +00:00
helenyrwu
a1c41154de Distribute failover event with topic
Change-Id: I8629e7e19ebd4a18f95b32ad3ce1eba7ddf4ecc6
2016-08-22 16:11:39 +00:00
Jonathan Hart
9e51ba5c37 SDN-IP: restrict egress port from ingress port list of MP2SP intent.
The MP2SP intent doesn't support having the egress port in the in ingress
port list.

Change-Id: I84471b9fce9c1dc072f3dce3d907ba86ba65a575
2016-08-19 21:26:15 +00:00
Thomas Vachuska
586bc4f764 Fixed a potential NPE in link discovery.
Change-Id: I3bff307e54a1e3bdac1053dfea6e96ae3cd29f07
2016-08-19 20:31:08 +00:00
Sho SHIMIZU
1375cfe976 Simplify boolean expression
Change-Id: If0f8d497ac927bdd007292e45f0e394c207163d2
2016-08-19 20:03:35 +00:00
Ray Milkey
dbf59f0281 Unit tests to improve API test coverage
Change-Id: I2193b1b29968f2d2b7ba3ddb5947a38343c193c8
2016-08-19 20:01:58 +00:00
Madan Jampani
ae538ff419 ONOS-5101: Ensure app activation order reflects the dependency order
Change-Id: I77e0579436d80643b8262f0ec5ad6efb57936a0b
2016-08-19 12:49:28 -07:00
Thomas Vachuska
67f1305b75 Bumping STC to 2.2 version.
Change-Id: Ib39eef58b41b33a7fcf858f84c64a10a91304005
2016-08-19 19:42:10 +00:00
Sho SHIMIZU
f204ff7561 Remove unnecessary return in void method
Change-Id: I4863119ae13587f4d7fc60e55094c9d8d701c4e7
2016-08-19 18:41:53 +00:00
Thomas Vachuska
a8e125a5c8 Fixing onos-mininet cleanup logic.
Change-Id: I2269cf9c4b492b2f991ce72690544acc72e1804c
2016-08-19 18:04:29 +00:00
Hyunsun Moon
4f47a868f4 Lowered DHCP bundle application packet processor priority
Its ARP packet processor conflicts with the other ARP proxies for the hard-coded
particular IP address 10.0.0.2

Change-Id: Iec4931510f182a28d097b715433781798649b800
2016-08-19 17:31:21 +00:00
Jonathan Hart
7c338a4bc6 Disabling OSPF test with external dependency.
Change-Id: Ia0ac53749ae18dfc011c02e2567a151421808dcc
2016-08-19 17:27:06 +00:00
Yuta HIGUCHI
d08e2e97f1 Binary incompatible serializer changes
- If the field type is fixed and the type is final, Class info can be omitted
- Annotations serializer to use optimization based on the fact Map<String, String> and non-null key/value
- Reduce number of Map copy required for ImmutableMap serializer
- Reduce number of array copy behind Immutable{List, Set} serializer

Change-Id: Ie467a943a33fbfb43b289b8b71ad91ee5890bfb0
2016-08-19 17:26:57 +00:00
Yuta HIGUCHI
86f142f958 Update kryo to 4.0.0
- WARN:Serialized bytes are not binary compatible
- Release summary: https://github.com/EsotericSoftware/kryo/releases/tag/kryo-parent-4.0.0
- KryoNamespace: stop using direct buffer

This might fix ONOS-5130

Change-Id: I6e1e00f147a90ae8bfded78b2fa3a77158602c76
2016-08-19 17:26:54 +00:00
Yuta HIGUCHI
156d780de7 Remove unnecessary string field.
Change-Id: I1fc215f52bdbf07d914f9867d8b9bbbe3ce35f01
2016-08-19 17:25:12 +00:00
Yuta HIGUCHI
a5cda89971 Reduce number of Map lookups
Change-Id: I6ea71c120e9143dabdb44dfd86b78f570647eb4b
2016-08-19 16:51:24 +00:00
Jonathan Hart
6f4d586421 Disable NettyMessagingManager test which is failing sporadically
Change-Id: Iffb518c80a5b06354c8966c621cc1190fb104499
2016-08-19 16:47:36 +00:00
Sho SHIMIZU
9efeb81a80 Remove final modifier because of private method
Change-Id: Ia3678bb5ebe7a1719efade734f3212d16d68e38f
2016-08-19 16:34:53 +00:00
Michele Santuari
54f420d15b fix: router devices to packet layer
Change-Id: Ia457504258575d677bddb1246dc8ee74f21c828c
2016-08-19 16:33:29 +00:00
zhangyuanyou
57c7c31e57 Fix the disabled download url of karaf.
Change-Id: I4eec3ad4365ec2a67ee8301ae56b9469dfb7a5fe
2016-08-19 16:23:30 +00:00
Sho SHIMIZU
ca5969409d Remove unnecessary String constructor call
Change-Id: I559e270b38f3f9d7e1cdb5544ca6c9d3e73100d4
2016-08-19 03:22:41 +00:00
Simon Hunt
7faabd5102 ONOS-2582 : fix for reselecting previously selected nodes in the topology view.
Note that this also fixes the race condition with showing selected intent.

Change-Id: Icf3cd168bca985136d3ca6c63d98aa193a476d00
2016-08-18 16:38:42 -07:00
Yuta HIGUCHI
7c298f3e9e Fix javadoc
Change-Id: I19b57879ccf76c085363b6be53dd0f838f5673bd
2016-08-18 14:32:32 -07:00
Yuta HIGUCHI
f24b88c87e Fix map type mismatch
Change-Id: Iadda7707b4ab4f01b5026d314f25a10748d94915
2016-08-18 13:54:46 -07:00
Madan Jampani
13f6515c70 Distributed topic primitive
Change-Id: Ia3ccd84c33075f297d7e6b9bc205efe92aec9bea
2016-08-18 20:46:55 +00:00
Yuta HIGUCHI
c012dda796 Workaround for NoClassDefFound issue in Netty.
SimpleChannelInboundHandler generates `message` instance check code on the fly,
using JavaAssist. Which was not working, when a new Connection was created on the thread
outside of NettyMessagingManager bundle, which did not have access to netty classes.
- Implemented equivalent for SimpleChannelInboundHandler<InternaleMessage>
  without specifying type parameter, avoiding on the fly code generation.

Other changes:
- Add a method in IpAddress to return InetAddress instance.

Change-Id: Ie97294a5650683457b9395e773269c5232d8e602
2016-08-18 19:06:00 +00:00
helenyrwu
89470f1d99 Group event indicating failover of previously used live port
Change-Id: I32749b38d5e4fab93fa97bbf6587bd0dc91db88c
2016-08-18 16:56:47 +00:00
Jonathan Hart
06e890869d Abstraction to help applications write logic to handle ARP + NDP packets.
The idea is to allow applications to contribute NeighbourMessageHandlers to
handle ARP/NDP packets coming from a particular ConnectPoint, Interface or with
a particular traffic selector. Applications can contribute different handlers
for different ports, because they know how those ports will be used. Also,
multiple applications can contribute handlers for different ports/interfaces
without having to have one ARP handler for the entire network. The framework
provides actions that the handler can choose to take - flood, proxy, reply, drop.
The handler is free to implement some other action if none of these fit what it
needs to do. The framework also handles many of the common tasks for ARP handlers,
like parsing packets, abstracting the differences between ARP and NDP, implementing
actions like replying to a request. This allows handlers to be very simple and
easy to understand and implement.

Change-Id: I313c723e9ebc3d0816eb79870ee0536780e7a640
2016-08-18 16:18:19 +00:00
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Sho SHIMIZU
07e31cf54d Remove public from definition in interface
Change-Id: I7554f04a230a7a5cc85dda4cd6b41171a523fd80
2016-08-17 16:37:19 +00:00
Yuta HIGUCHI
bc36560205 Remove duplicate registration.
- Should fix following warnings:
 (no name): long already registed as 7. Skipping 326.
 (no name): class org.onlab.packet.Ip4Address already registed as 70. Skipping 327.

Change-Id: I5a3ee1a219b567617f964ddaca16b0cc9dcef5ea
2016-08-17 16:36:19 +00:00
Sho SHIMIZU
695bac68ec Check if the logger is configured as trace when logging as trace
Change-Id: I58738913b18198fe8a01b313e776e20c6a21f1d0
2016-08-17 16:35:32 +00:00
Simon Hunt
ba8c80501f Replace comparator definitions with their Lambda equivalents.
Change-Id: Ib626e086f78aa950be20cb84e56a3769517bac0a
2016-08-17 16:35:05 +00:00
helenyrwu
e6aaa3376e Filters intent list before installation
Change-Id: I6f73ff65ab7e31fac8e9a6f28f20f0119e24793d
2016-08-17 16:33:07 +00:00
Sho SHIMIZU
53bcc24715 Follow JUnit 4 style instead of JUnit 3 style
Change-Id: I594e458c4c609dab06179a04462284f2b3565674
2016-08-17 16:31:54 +00:00
Thomas Vachuska
e4abf5b20f Allowing buck-based onos run to run with or without 'clean' option.
Change-Id: If6f9e584b82c60ff0b85d3931352354c375c49cb
2016-08-17 16:30:32 +00:00
Chiara Contoli
a8f69ff3fd Adding SinglePointToMultiPointIntentCodec for support SP2MP intent over REST
Change-Id: Ic04529520ad1719f3d241b3a79d8e0602bfeac4e
2016-08-17 16:23:56 +00:00
Hesam Rahimi
ecc7ce938b ONOS-5107 and ONOS-5108: fixing an issue in the GET operation implemented by REST SBI protocol
Also, changing the visibility of one of its APIs from "private" to "protected" so that it can
gets called from inherrited subclasses.

Change-Id: I195b3f4d851f8523f33031b199edc5cc7b58535d
2016-08-17 16:20:56 +00:00
ke han
f508667727 here is a bug : there would be at most 10 second between group_add to group_added, but if in the 10 second, the group was modified, no group_added notify would be receive, but a group_updated instead. with out the change, the consequnce flow would not be add
Change-Id: I5703aafc6169dc595adc36a79fe8fabd68eb8fbc
2016-08-17 15:39:58 +00:00
Jonathan Hart
e3bcfc3f0c Fix bugs in extension treatment REST API
Change-Id: If47f5ffce634617200e765be72c7898d984b0786
2016-08-16 18:42:37 -07:00
Viswanath KSP
0f29770602 Adding first set of changes for bug onos-5071
Addressed review comments
Addressed review comments for patch-2
Addressed review comments for patch-3
Fixed broken "show intent" on topo view.

Change-Id: Ie76deca917d6cd6c98d121135e53b9093b5ed8ee
2016-08-16 15:48:40 -07:00
Yuta HIGUCHI
c2e6815ddc Use Java 8 Map#compute when possible
Change-Id: Ida300c054449047096f355f09b3843e4934dcd18
2016-08-16 22:45:15 +00:00
Jon Hall
a43d0334aa Add check for node status to onos.py startup
Change-Id: I8e6b103ef46a5bc5877507a7adef3eb6117adf64
2016-08-16 22:32:34 +00:00