3538 Commits

Author SHA1 Message Date
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
Jonathan Hart
8546348bba Change in-port to CONTROLLER for packet-outs.
Change-Id: I964da6baaee1e9ca2e7b9b724266793077036bd8
2015-02-19 18:20:54 +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
6b6d0c193c AbstractAccumulator: synchronized add and null check
Change-Id: I2999311d19ab36c17413ebc93398483a7d012714
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
f32186355c adjusting wait time in intent push test command
Change-Id: Ibd985e0d0e62755017f64265c42bf3f476e655f7
2015-02-18 21:04:54 -08:00
Brian O'Connor
66cfbfac4d intent cycle command
Change-Id: Ia461ea960e3c47cedd2b9085762b48f08346be73
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
Brian O'Connor
6ccba96c49 Adding intent performance testing app
Change-Id: I1b3a8b6e5b9230066d31f8f520e212973b6f703e
2015-02-18 21:04:54 -08:00
Jonathan Hart
2da1e603a9 Renamed routing packages to foo & foo.impl pattern.
Plus added some package-info.java files.

Change-Id: I0b68a7f4cea7a5f089b37b1a1c016d1c3b7a8702
2015-02-18 19:10:19 -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
1dcb048ab2 Added a more intuitive app management CLI; deprecated the old one for now.
Change-Id: I4f884cbf442b21c08415fe3ca3228edbbb5893f7
2015-02-19 02:34:55 +00:00
Thomas Vachuska
c13b90af1a Added thread-group name as a prefix to the thread-group pattern.
Change-Id: Id804ba00f2391d18a1bc4ea06cd39934208d6c18
2015-02-19 02:34:06 +00:00
Thomas Vachuska
2d7c50d572 Adding tool to remotely enable ONOS JVM profiling.
Change-Id: I72d317b4ee9c16e161231ba5c3008aa311117493
2015-02-19 01:50:28 +00:00
Bri Prebilic Cole
751804efab GUI -- Implemented createToolbar in ToolbarService.
- Will log warnings if no toolbar id is given, there are no tools, and if the tool's ids are duplicated
- creates toolbar div and calls add button functions based on tool input
- Created skeleton dispatchers to ButtonService
- Wrote unit tests for current ToolbarService

Change-Id: I3d05158c5ce132cb94d465674949ade81ed12664
2015-02-18 17:06:11 -08:00
Jonathan Hart
f582920bb5 Initial skeleton of BgpRouter app.
Added BGP tunnelling and received routes.
Added pushing groups and can now ping through the router.

Change-Id: I21a265bd72e40fc430bd392201fadccbdd67be94
2015-02-18 14:31:46 -08:00
Simon Hunt
639dc66919 GUI -- TopoView - re-implemented Quick Help panel.
Change-Id: I92edeb570a97eff87a5f9b08373ff0517849bf24
2015-02-18 14:19:26 -08:00
Thomas Vachuska
411f977819 Fixed typo in optical/app.xml
Change-Id: I348aa543aade347c73c75ae90eccf657934f23bc
2015-02-18 13:36:20 -08: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
alshabib
456e990c41 option to not remove flows in flow-tester.py
Change-Id: I6d0be801b628cd6cf3678d5c846fb99cabf41ca3
2015-02-18 19:35:39 +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
Thomas Vachuska
9c17a6d72a Adding ability to easily create name thread factories with threads belonging to hierarchical thread groups.
Change-Id: Iaab3251c13e14b73c54a8edc945f5aa476a7ca54
2015-02-18 19:04:51 +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
Jonathan Hart
eda3387e4a Use setInstructions to add apply-actions.
We can't use both setInstructions and setActions, because the actions get
overwritten by the call to setInstructions.

Fixes ONOS-1113.

Change-Id: Id8bb1afd3da91966ce1345c6a1927f8fde5de3f4
2015-02-18 18:45:54 +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
Yuta HIGUCHI
179f3775e3 Fix boxing/unboxing to parse a primitive
Change-Id: I83f6beac585f8b6b28a95080783e5ca51454fbfe
2015-02-18 17:28:39 +09: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
Simon Hunt
eb0fa053a0 GUI -- TopoView - re-implemented All/Pkt/Opt filter radio buttons.
Change-Id: I41cf0eca60a685606a631c0edf4779d7730bb649
2015-02-17 19:20:36 -08: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
Bri Prebilic Cole
2e3f856aa2 GUI -- Started writing the ToolbarService with its unit tests -- WIP
Change-Id: I3adb60cdf9b516e3a325a85f1b0487710ef22178
2015-02-17 17:21:38 -08:00
sangho
32a59323b2 Reflects the change of TrafficTreatment.Builder.setMpls() input paramter (int to MplsLabel)
Change-Id: Icc4345e60008c8d4f8c50cd8edab0622f7e0b6fc
2015-02-18 00:57:06 +00: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
Bri Prebilic Cole
7c44575150 GUI -- Removed onos-fixed-header redundancies, wrote unit tests for fixed-header and sortable-header directives.
Change-Id: Iccf9348a4697f494a4234b024781fede0719491d
2015-02-17 14:49:58 -08:00
Madan Jampani
2546111a36 Added copy right headers.
Change-Id: I3a42d1af23f4afb8d584c788ade026c3ed8db0e5
2015-02-17 14:23:51 -08:00
Jonathan Hart
fccd312f2a Add exclusion for grouphandler to obs
Change-Id: I90ec773508e1de979ed76d8c91cc3e74e1b4944f
2015-02-17 21:53:17 +00: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