8779 Commits

Author SHA1 Message Date
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
Jon Hall
9b238aef36 Pass alertActions cli option to ONOSNode class in onos.py
Change-Id: I534cc0e22ac11018e6c5ec6f73a2f7259392b9e0
2016-08-16 22:30:35 +00:00
Luca Prete
09dfe1e1b5 Updating SDN-IP tutorial config files
Change-Id: I98a2dcd0ed6a4a97ca2ac29a9b592e2f0c714ba8
(cherry picked from commit 97a08bbc6cd3c867aa93e6826861878a3b8b3466)
2016-08-16 21:39:30 +00:00
Lei Xu
3aeaf729c0 [ONOS-3159] fix a concurrency issue in DHCPRelay.java
Change-Id: Ib9bc5d0f0e788ceabc5272a05ac52a6753a3a229
2016-08-16 21:37:59 +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
Priyanka B
844ee05c78 cherry pick [ONOS-5002] [ONOS-4986] defect fix in release bandwidth to master
Change-Id: I8331a071e275925f43f869c9299e7fd6b342ced6
2016-08-16 12:12:30 +05:30
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
Sho SHIMIZU
d5c8ba157b Remove a white space
Change-Id: Ie84387e8691b61162ce2e02cd258e4e3be8940c4
2016-08-15 18:49:43 +00:00
yjimmyy
b94f93b7a3 Implement Oplink drivers for port adjacency
Change-Id: I3cdc402c4dac544a7cb48544352df758c416345d
2016-08-15 18:28:57 +00:00
Parvathi M
4055b370bd Adding plugin repository to onos root pom
Change-Id: Ie3291bf79b98f82302378e9f72d852ff923aca6b
2016-08-15 17:57:34 +00:00
Steven Burrows
ec1f45c00c Updated fn-spec to include classNames
Removed Classnames file and added code to fn.js
Fixed typo dimentions to dimensions
Moved Device/Link logic from Topo2D3 into the model
Model now calls onChange when any property is changed via the set Method

WIP - Added d3 force layout for devices and lines

Change-Id: I4d1afd3cd4cecf2f719e27f4be5d1e874bd9e342
2016-08-13 01:25:46 +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
Michele Santuari
2cf8429a95 change a log level in AlarmProvider
Change-Id: I75d6a606622d7a43d715a2e4782d9abdad4e938a
2016-08-12 23:07:06 +00: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