3094 Commits

Author SHA1 Message Date
Simon Hunt
e9343f3799 GUI Topo -- Cleaned up NodeBadge, now that we have a clearer idea of what we want to model.
Change-Id: I754a94cbd1fbe2a2c8affccaca88c48c3fa33b92
2015-10-22 16:18:02 +00:00
Steffen Gebert
bbfdaaaef5 Implement OFActionSetQueue (OpenFlow 1.3 only)
Action "Set-Queue" (OFPAT_SET_QUEUE) is not yet implemented.

This patch adds such a QUEUE Treatment and implements it using the Set-Queue
action of OpenFlow 1.3.

The --setQueue parameter can be used when defining intents so that flows with
the respective Set-Queue action are installed.

This includes contributions by Michael Jarschel and Arne Schwabe and is the
result of our ONOS Hackaton project at EWSDN 2015.

Change-Id: Ie7bf01e8fd90fe68977477327ac4f53d7930e186
2015-10-21 10:36:17 +00:00
lishuai
a72d44dc9d [ONOS-3172] Add arp_spa or arp_tpa Criteria to onos
Change-Id: I3eef59b71ba062ecb475f16decc7a6a0cd59032f
2015-10-21 10:31:02 +00:00
Simon Hunt
8589757355 GUI Topo -- added NodeBadge field to NodeHighlight.
- updated TopoJson to include device badge in JSON output.

Change-Id: I7fc0ec226c378a0395cd1eec765cb7bc867f9100
2015-10-20 16:32:07 -07:00
Simon Hunt
83c5b83b76 GUI Topo -- added NodeBadge model object.
Change-Id: Ic6c04429f81162f6e4c15836b342d21864e2387d
2015-10-20 14:57:14 -07:00
Yafit Hadar
52d8155373 [Emu] Defining classes for ODU SIGID and SIGTYPE Fields in Flow Criteria and Instruction - Data Model and Tests only
Change-Id: I3a71520caa286a1fcc509c581036ef4848de9b5b
2015-10-15 08:43:28 +00:00
Sho SHIMIZU
ba1f83b9e3 Fix typo
Change-Id: I5cb328a3724a1960439cab2a03b2d9412754eb55
2015-10-14 22:55:27 +00:00
Thomas Vachuska
fa8aa2f188 Fixed an NPE in device manager/provider.
Change-Id: I0240bc6f591881efefc1043eb620068d6ab2d9a4
2015-10-14 01:47:31 +00:00
Thomas Vachuska
40e63e66f1 Fixed an issue where consistent map exception in distributed packet store would prevent apps/components from properly starting.
Fixed the fast and net-pingall.xml scenarios.

Change-Id: Ie5712c5c134bb81181dd2bdb307da5ec13851d45
2015-10-13 16:16:20 -07:00
Sho SHIMIZU
0d0376176d Avoid overlap of resource allocations
Change-Id: I7b1905ea694039909623fdc0bf3e505799cbdafa
2015-10-13 17:46:23 +00:00
Sho SHIMIZU
cfe707af5e Add @Beta annotation because APIs is not stabilized yet
Change-Id: Id6111180be6c21a5287e2b53abacdfb43931abd4
2015-10-13 17:46:00 +00:00
Jonathan Hart
82efa69543 IntentCleanup: Only log if we actually did some work
Change-Id: If9041c28738b5363f491bb07053d0c34454eb76c
2015-10-13 17:45:06 +00:00
Brian O'Connor
5251562d15 Fixing Javadoc errors
Change-Id: I72b9d49e052316cbbbef343d367ffffe13cd4e56
2015-10-09 17:08:17 -07:00
Brian O'Connor
21b028e526 ONOS-2890 Deactivating apps removes other apps' packet processors
- Reworking store commands to use compute for updates
- Trigger add/remove to devices on map events

Change-Id: I33391435945c1775a9ef0cdc83920fc1cadfd658
2015-10-09 20:50:11 +00:00
Brian O'Connor
7664e7de2a Adding NOACTION to EncoeInstructionCodecHelper
Change-Id: I5c85a934df552b8d0bfcc2d6f4fa19a5aa0f8ce7
2015-10-09 00:58:56 -07:00
Brian O'Connor
983a17efb3 Removing extra lines in DefaultTrafficTreatment
Change-Id: I83c0070f66ed433eb91be9478b6978f3de1b5f9a
2015-10-09 00:58:56 -07:00
andrea
ed976a405f Inserted set and get controllers methods in ovsdb controller config
Change-Id: I791ff2ae159d0ac50beff22abda2b187913428f6
2015-10-09 02:07:00 +00:00
Sho SHIMIZU
1dcef07e4d Remove a conditional branch that is not meaningful
The isolation level of TransactionalMap is repeatable read. Read values
for the same key don't change during a transaction. The removed
branch is never executed because the variable "before" is null.

Change-Id: I5cd1f7a488e3585d5a1e92dd5b50d52261edf415
2015-10-08 21:09:46 +00:00
HIGUCHI Yuta
c7c1d35a9d Fix equals comparing against wrong type
Change-Id: If972a3a7b28c05cbdd9df5c7e5103ebbb5eaf533
2015-10-08 16:00:20 +00:00
Brian O'Connor
b75a67a009 Updating DefaultTrafficTreatment
- Updating EMPTY treatment to contain NOACTION
- Remove NOACTION when building treatment from existing treatment
- Putting NOACTION into immediate set if no actions exist

Change-Id: I408b6b8daf2a3d38604a900c09d7c15cc3994757
2015-10-07 15:33:09 -07:00
Thomas Vachuska
ea5adc6b44 Corrected output of network configuration subjectKeys in JSON output; no longer relies on subject.toString.
Change-Id: If4e07bc27cfaf8feb59397a5f104e5f663504f6e
2015-10-07 20:57:03 +00:00
Sho SHIMIZU
e289f43608 Narrow exceptions to be caught
Change-Id: I72d3153d8451e82bf2889d3fb983fdc9b5a37e6c
2015-10-06 22:36:34 -07:00
andrea
fe3308fa13 minor formatting changes
Change-Id: I361955b820489793ffb8f6b9b9ff24d429e1dd99
2015-10-06 23:20:00 +00:00
Aaron Kruglikov
82fd63255c Adding atomic countetr compare and set method
Change-Id: I5cf459e9e09ab1a84ced8160ef61d6a52ea4bea4
2015-10-06 22:31:19 +00:00
Sho SHIMIZU
1bd72c2f83 Reduce duplicated code
Change-Id: Iac8f2c0ec7336d936425701976e090b413186d8d
2015-10-06 11:05:00 -07:00
Sho SHIMIZU
eca9f3550a Don't create an empty set by using Stream API
Change-Id: I835cbf6f4926c3391e901597b6d8d203f28a3f41
2015-10-06 10:31:52 -07:00
Sho SHIMIZU
04ae54a5ff Use switch statement instead of if statement
Change-Id: I0ba108cc53bbc03e086e1433dff65a356aee7886
2015-10-06 17:18:38 +00:00
Sho SHIMIZU
48588a7e53 Refactor: Reduce depth of indent
Inline enumerating over enum values

Change-Id: Icff35340d91490b67b05d521f7addc6519d2b47a
2015-10-06 17:04:05 +00:00
Sho SHIMIZU
e1b463baf9 Remove wildcard type parameter to simplify declarations
Change-Id: I628dc39704b357fcfc07a453fc54d55f1cc4d755
2015-10-05 15:39:19 -07:00
Ray Milkey
e609941352 Temporarily remove several intent compilers that have unstatisifed dependencies
Change-Id: I6b207f8a720fd70b998be6442c917638fe65a87d
2015-10-05 18:03:25 +00:00
Charles Chan
5d5e062963 [ONOS-641] Update unit tests to include IPv6 as well
- HostMonitorTest
    Add more IPv6 related test cases
- HostLocationProviderTest
    Add more test cases, including:
        NS/NA
	RS/RA
	DAD
	IPv6 unicast
	IPv6 multicast
	IPv4
- HostLocationProvider
    Minor indent fix

Change-Id: Id4c3af430862c61872ccaa98beac3a47313206ac
2015-10-05 18:03:01 +00:00
alshabib
ed0951fc64 initial impl of a multicast route table
Change-Id: Ic86a0665d1ade6b85b05e602ead2bd9c0a7dde07
2015-10-05 16:46:09 +00:00
Jonathan Hart
9a426f8ade Generalize IntentSynchronizer and separate reactive routing code
* IntentSynchronizer can now handle any intent rather than having use
   case specific APIs
 * IntentSynchronizer does not generate or store intents anymore, it only
   perform synchronization
 * SdnIpFib generates and manages the procative route-based intents
 * ReactiveRoutingFib generates and manages the reactive intents
 * Unit tests have been tightned up to only test single components, rather
   than multiple components together
 * PeerConnectivityManager uses meaningful keys when creating intents

Change-Id: I4bb036ec8d056f43ece46f7dfc71d5e5a136b77d
2015-10-05 16:06:56 +00:00
Srikanth Vavilapalli
95810f5465 CORD-13:Table Statistics support along with CLI and REST
Change-Id: Ic7facc73754c4b1e7c9c5a9eecd217f89a67e135
2015-10-05 15:56:38 +00:00
Sho SHIMIZU
a005a6e5e2 Refactor: Reduce depth of indent
Change-Id: I9a1beb803619cc0ec8b4b23761bbfb03ffc49fa4
2015-10-02 16:42:19 -07:00
Sho SHIMIZU
a890e7c12a Refactor: Simplify statements
Change-Id: I8f6f25e08bde450d8c1c56a21d0b03fed00e664f
2015-10-02 23:26:55 +00:00
Sho SHIMIZU
f618cb0807 Refactor: Remove null check
This is safe because getResourceCapacity(ResourceType, Link) never
returns null

Change-Id: Iabca2ef2dc933b4f2c0578bc4f9fb10848e1df1c
2015-10-02 23:15:26 +00:00
Sho SHIMIZU
88d36e2e07 Refactor: Reduce depth of indent
Change-Id: I8ee247c790585a260d28438479d6992e431e6e90
2015-10-02 23:07:10 +00:00
Sho SHIMIZU
26e46c78a1 Remove unused field
Change-Id: Ic7d113cea9e35db3a5fc7c0d1d257ee46a32551b
2015-10-02 22:57:37 +00:00
Sho SHIMIZU
7d20af107c Refactor: Rename to more descriptive name
Change-Id: I013c45690f7f405b66d656fd8e53d4a41c31e6da
2015-10-02 22:56:54 +00:00
andrea
dd106a6d4e Simplified component config loader with preset method that sets the configuration regardless of the component state
Change-Id: Ia2e987c3b6d15339396737dfa68c6973d714798c
2015-10-02 22:19:09 +00:00
Sho SHIMIZU
a6426cb218 Refactor: Remove intermediate layer just delegating to DeviceResourceStore
Change-Id: Ie46298311e889a737c4c2ecaefa09ba1bc13d547
2015-10-02 22:18:25 +00:00
andrea
fd912ac7a5 minor name changes and javadoc
Change-Id: I43a05d75392efad9ac004867027a31adcc18c6f5
2015-10-02 22:18:14 +00:00
Sho SHIMIZU
5f1fa014f4 Refactor: Remove unused fields
Change-Id: I224bdc1f2148d68b317028aafaed07dca39ba50f
2015-10-02 14:56:18 -07:00
Sho SHIMIZU
506f287ff0 Refactor: Remove unused methods
Change-Id: Ib31bea1a27b16cdb9556748ecb9f9ab7eb689f3c
2015-10-02 21:54:46 +00:00
Sho SHIMIZU
5c16df85a6 Replace method call of DeviceResourceService with that of ResourceService
Change-Id: I7a0400652cd43831a3fff4c0dc73fbe79d4eb633
2015-10-02 21:54:44 +00:00
alshabib
2ce0c733ce cleaning mcast route data type in preperation for the backing store
moving package to API with BETA tag

Change-Id: I62a611dcb67b6b4d3ee6f90ed2e963ea345b7d6e
2015-10-02 18:34:06 +00:00
Sho SHIMIZU
8d7caff4d6 Remove unused fields
Change-Id: Ibc305eb392145cf3327ae134a8f338731244265e
2015-10-02 10:06:42 -07:00
Sho SHIMIZU
9abfc4489a Remove reference that is only used in unit test
Change-Id: I261242daedb55ecb86d8f9c862aed98230c1540c
2015-10-02 10:06:23 -07:00
Sho SHIMIZU
f853b0efb6 Add a method to get resource allocation of the given resource
Change-Id: I06b2f83b5a07a1bcbada9db5263abd2e1a4a4d17
2015-10-02 16:54:21 +00:00