Pavlin Radoslavov
ab8553a52a
Fix a bug: there are two ECN bits in the IPv4 header, not three.
...
Change-Id: Ibdfce817f2a506644e0f9cd16f46cf6ab1f75eb7
2015-02-20 14:13:50 -08:00
Ray Milkey
144eec5207
Fix Javadoc warnings
...
Change-Id: I366f2b9f3c11645a3392e0689619bfbad7a9eedd
2015-02-20 20:54:26 +00:00
Yuta HIGUCHI
6a47964aad
Instruction related fixes
...
- Removed redundant equality check. (ONOS-975)
- Enforced using Instruction Factory methods.
- cosmetic fixes.
Change-Id: I178b55f8568c1a9132f0aa88465b8b34dc2b2df2
2015-02-20 19:12:19 +00:00
Brian O'Connor
8fc739af47
Disabling anti-entropy messages to stabilize performance of intent store
...
Change-Id: Ic66c6d710e6bc4bc82496c38a5b9955e58f72e73
2015-02-19 22:32:15 -08:00
Brian O'Connor
2952e3b7b6
updates to EventuallyConsistenMapImpl to improve parallelism
...
Change-Id: I7bf29c02380f630e592d980d0795efc6ac13167a
2015-02-19 21:51:27 -08:00
Brian O'Connor
be28a87c0e
Chaning IntentStore.isMaster to take a key
...
Change-Id: I2d04a6aa7418e06137b0688bcb4e3af060a02b63
2015-02-19 21:50:20 -08:00
Madan Jampani
7e6cfe305e
ECMap: synchronization free removeInternal
...
Change-Id: I89b88d11b830de5ceb97fdc3fb91ae51bc1bb1cb
2015-02-20 02:20:36 +00:00
Jonathan Hart
3469e60239
Move sending advertisement outside synchronized block
...
Change-Id: I1709fecbec5e6f5ac245b535c14a5c0b2aea2820
2015-02-19 17:01:40 -08:00
Ray Milkey
71ade56cbf
Refactor Intent subsystem to eliminate using FlowRuleBatchOperation
...
Change-Id: Iee76dac5fa9935713ffc370b34ac47d9286ff351
2015-02-20 00:59:03 +00:00
Madan Jampani
97cf7c4138
Using ClusterCommunicationService instead of ITopic for notifying cluster members of leadership events.
...
Change-Id: I164f30da436f3e4f65c4e938c25bb2aa2faa16c3
2015-02-20 00:56:07 +00:00
Ray Milkey
cc53abd74e
Favor adapter classes over service interfaces in unit tests
...
In unit tests that are mocking an entire interface, instead
extend the Adapter class so the unused method overrides
are no longer needed.
Change-Id: I6e332cc5cb59410f163deea223fbc94e73d83917
2015-02-20 00:35:32 +00:00
Brian O'Connor
9b7a32d1e3
ClusterCommunicationManager: only serialize once for broadcast
...
Change-Id: Ife78af3c758c87eeb8a79cdbf51b5307b8b1ca88
2015-02-20 00:12:17 +00:00
Madan Jampani
337bb44579
ECMap: Moving message serialization to the background
...
Change-Id: I0de398c6ce77bfb0729db03ab2ec4ea7f55a8284
2015-02-19 22:49:08 +00:00
Madan Jampani
b28e4ad8de
Fix EventuallyConsistentMapImpl unit tests.
...
Change-Id: I5d114bac40c16d0f67330ba2b4b922a4301666b2
2015-02-19 12:33:03 -08:00
Madan Jampani
04f46155be
Disabling all tests in EventuallyConsistentMapImplTest temporarily.
...
Change-Id: I22f124b1ab5ae889396d9f29ac8e49e1c3349dca
2015-02-19 20:26:34 +00:00
Brian O'Connor
4e6c17d2b9
Fixing hash for Intent keys
...
Change-Id: Ie7807d95b3e58f2e79c6127251ef355b77ba05ff
2015-02-19 12:00:26 -08:00
Madan Jampani
2872628e44
EventuallyConsistentMap: move broadcasting to a separate backgroup thread.
...
Change-Id: If4499cef78e5eb8b54ec2e3336e95030ec37f7e1
2015-02-19 11:54:46 -08:00
Thomas Vachuska
718d399045
Fixing javadoc configuration and adding some package documentation.
...
Change-Id: Ibeb58b954b1d5ed1939a70afda3f5523807cee23
2015-02-19 19:08:12 +00:00
Thomas Vachuska
ecb63c5a01
Updated accumulator documentation and refactored names to remove the event heritage.
...
Change-Id: I2238ab1215281702e670a406fb901ba8a4ef85ce
2015-02-19 18:26:00 +00:00
Pavlin Radoslavov
a2626ef982
Implemented a mechanism to easily add and access Neighbor Discovery protocol
...
packet options.
Fixes ONOS-1011
Change-Id: I94daa3f3c1297fb9a7b44901927738a29aff030a
2015-02-19 17:17:56 +00:00
Brian O'Connor
4b2ba5f8bb
EventuallyConsistentMap: changing to groupedThreads
...
Change-Id: Ie57afcc1013fa33172bf51f73980171d8ea3df29
2015-02-18 21:04:55 -08:00
Brian O'Connor
1fdfacd1f1
Fixing partition mapping
...
partition choice was sometimes negative
Change-Id: I97354360bebe6f8981f926f15661005adf7482c0
2015-02-18 21:04:55 -08:00
Brian O'Connor
fd079918d8
IdBlockStore: changing default size
...
Change-Id: I3d3bf42cbef4590c345cd6b1b4f871da8d617568
2015-02-18 21:04:54 -08:00
Brian O'Connor
b715f62e6c
PathIntentInstaller: avoiding calls to Resource Store when unnecessary
...
Change-Id: I846ca543f922063ddc67a06353f43c590bd57d96
2015-02-18 21:04:54 -08:00
Brian O'Connor
bdc7f00e92
Changing IntentManager to use groupedThreads
...
Change-Id: I83854c2d6d6fcc8b10a0f50e625aa4be5ff255bb
2015-02-18 21:04:54 -08:00
Brian O'Connor
d12267c7b1
changing FlowRuleManager from cached threadpool to fixed thread pool
...
Change-Id: Ie24dae672e699447b55411bf3492efa96e2e16c2
2015-02-18 21:04:54 -08:00
alshabib
78baaf2af2
fix for flows stuck in pending add state
...
Problem is due to two packet requests from different services
for the same selector resulting in the same flow rule.
Since these rules where the same, only one ended up on the data plane,
but sadly only the first request made it into the flow service meaning
that in cases where what was in the flow service does not match what is
on the dataplane resulting in a PENDING_ADD situation.
Change-Id: I4c03e753be6e198e04f0b5263a2aa8cf2edc51e1
2015-02-19 03:05:17 +00:00
Thomas Vachuska
62ad95f3f1
Added ability to upload apps as both app.xml or app.zip.
...
Added a number of app.xml files for built-in apps.
Added ability to install & activate in one command.
Change-Id: I3fa5fa487ef76d9fe3da4d6dce8045d538cba423
2015-02-18 21:33:52 +00:00
Sho SHIMIZU
36a8a6e8ef
Move IntentUpdate subclasses to the dedicated package
...
Resolve ONOS-1051
- Create package "phase" under intent.impl
- Rename IntentUpdate and CompletedIntentUpdate
- IntentUpdate -> IntentProcessPhase
- CompletedIntentUpdate -> FinalIntentProcessPhase
- Loosen method/field visibility as short term hack
Change-Id: Idc0fd9a74aadd227d62006d00fee473c63b1fc05
2015-02-18 21:24:10 +00:00
Ray Milkey
024798622b
ONOS-1058 - Add application Id to intent withdraw command
...
Change-Id: I6f660f2e115e4acc9d3c7d1ab2e2115caaf1822f
2015-02-18 19:09:03 +00:00
Ray Milkey
da36c40e9d
ONOS-1057 - Remove references to deprecated applyBatch() method
...
Change-Id: I9215fde6be2acaa2becea58d8b6e5b171ff16817
2015-02-18 18:59:48 +00:00
Jonathan Hart
90a02c2539
Moved routing/bgp config into common routing bundle.
...
This allows the configuration to be used from multiple applications.
* The class that reads the configuration file is now a service so that
config can be consumed by components in other bundles.
* Name of config reader classes has been generalized to RoutingConfigService
* All config has been added to RoutingConfigService, instead of having
two service interfaces like we did previously
Change-Id: Iaec9daf0f5b72abe2d6709fb75188d6d81947478
2015-02-18 18:52:35 +00:00
Thomas Vachuska
8ab196c409
Fixing some javadocs.
...
Change-Id: Id4a1097c0f210d5c550d4b166437b82c03a8887d
2015-02-18 18:40:41 +00:00
Yuta HIGUCHI
8f068279b4
Fix potential race conditions in HazelcastLeadershipService
...
Change-Id: Iac232652155830c8e054760ea371ffb5639cf464
2015-02-18 17:18:51 +00:00
Hongtao Yin
36f79aa93b
Updated calendar server code. Added intent for bi-dirctional path. Added latency as one more parameter in constraints.
...
Added exception catch for parsing parameters.
Fixed Jenkins checking errors.
Use intent key and 2way intent P2P setup.
Change-Id: Ib2bd25deb793b2a34179cbf8794ca5aa3e427f91
2015-02-18 06:29:22 +00:00
Sho SHIMIZU
d3dcaa16b1
Fix comments
...
- Delete obsolete TODO comment
- Write Javadoc for IntentUpdate subclasses which have no Javadoc
Change-Id: I2b233fa9741733fd3642bbbe639990b1ce0b7405
2015-02-18 06:27:18 +00:00
Brian O'Connor
ab8ef82294
Fixing bug in withdraw request when current intent is null
...
Also, demoting some log levels
Change-Id: I4c7e85bc2bc06e08fe62819d4f66ec8111050a07
2015-02-17 18:08:54 -08:00
Brian O'Connor
916de34f16
Disabling FlowRuleExtService components
...
Change-Id: Ia4a53da3af577280966ad06cb343bcdb4eb68d01
2015-02-17 18:07:32 -08:00
Jonathan Hart
f2fda81f63
Automatically rebalance intent key partitions on cluster change.
...
Also sorted output of leaders command by leader IP.
Change-Id: Ie85896a4f6f50489ebd7994c905808ce34fca94c
2015-02-18 00:27:18 +00:00
Madan Jampani
64689559d7
WIP: Revamped transaction API. Introduces a transaction context for running blocks of code that can be committed
...
atomically.
Change-Id: I6ba21050a2644a42f3c073fa04ff776ef2c5ff4c
2015-02-18 00:22:57 +00:00
Marc De Leenheer
b473b9dd2d
Injecting topology through JSON ConfigProvider works for multi-instance (ONOS-490).
...
Change-Id: Ib977f4cf9a59ddec360072891fd803c6f9ee84f1
Injecting optical device annotations and ports works for multi-instance (ONOS-870).
Change-Id: Icdde16ef72fc4e47eec7213250b04902083f0537
2015-02-17 23:55:59 +00:00
alshabib
a66a05635c
do not initialise the flowext subsystem
...
Change-Id: I760a95a27fce91c80b5f5f3d396c80e4b0eca378
2015-02-17 15:50:54 -08:00
Madan Jampani
2546111a36
Added copy right headers.
...
Change-Id: I3a42d1af23f4afb8d584c788ade026c3ed8db0e5
2015-02-17 14:23:51 -08:00
Pavlin Radoslavov
3ebe170d87
MPLS-related bug fixes:
...
- Use subtype() instead of type() inside method
ModMplsLabelInstruction.toString()
- Check whether the MPLS value is negative inside the MplsLabel()
constructor.
Change-Id: I770194774219f0c919474928803e078226f2005d
2015-02-17 21:13:24 +00:00
Madan Jampani
e97fec4ffb
Remove deprecated code.
...
Change-Id: Ifd68e4ddfaade2a8dd7de43a83bf222b48b9291b
2015-02-17 21:03:09 +00:00
Ray Milkey
f7329c77eb
Remove some deprecated APIs and warnings from BatchOperationEntry
...
Change-Id: I44daf9646f6d2a60fd7c0ce96d6692ab8a9cdda2
2015-02-17 20:53:41 +00:00
Hongtao Yin
142b758ba3
Initial implementation: The init extended flow rule and store interface APIs
...
The APIs are for supporting service data to install on network devices.
This is related to JIRA ticket ID ONOS-869.
Updated API code and added implementation code files.
Modified API for supporting payload abstruction, and added routing mechanism for pushing flow rules to devices.
Added more javadoc, and fixed some minor issues.
Updated javadoc, removed unnecessary method, and test code.
Change-Id: I105defc92a9e01b30601fcb56a9dafa086d4adc0
2015-02-17 11:29:03 -08:00
alshabib
9af70070c8
support for corsa pipeline. EXPERIMENTAL.
...
Change-Id: Ic3db0a7a18f11c41c8a84f25a249dfb63109da97
2015-02-17 18:48:00 +00:00
alshabib
93cb57f160
Fix a bug where default rules were not pushed after restarting mininet.
...
Change-Id: Icf4c7ed009a5938d28b58128cfc226067a0d4c9e
2015-02-17 18:43:34 +00:00
alshabib
371abe85c2
allow flow to be marked for removal from flow store when device is disconnected
...
Change-Id: I0f60ff4f010d0d149be31272b9e592c5d812bef9
2015-02-17 18:43:20 +00:00