1270 Commits

Author SHA1 Message Date
Madan Jampani
71c32ca158 Move event handling to background thread
Change-Id: I8ccd1631fac14b1f753da4fb4b4ed01e5a045edf
(cherry picked from commit 8f906bfae1bb600644723a8aa75c80207c6d0941)
2016-06-23 08:46:58 +00:00
Deepa Vaddireddy
7fae18929c Fix for ONOS-4621. If any errors in parsing the configurations, continue with the next config key and return the list of subjectClass, subject, config failures
Change-Id: I4883342b4920aa4d6d641a17a395e5f6e4f27d6a
2016-06-22 22:29:11 +00:00
Madan Jampani
7c8e3b6e8f Fix formCluster to remove raft log files associated with stand-alone cluster configuration
Change-Id: Icdacec468c95403ac6c97ae7be5b5fcc63661c76
2016-06-21 02:44:44 +00:00
Yuta HIGUCHI
6eb00cce43 Allow reading PortDescription from DeviceStore
DeviceManager had to reverse-engineer PortDescription
in order to mark port off-line, etc.
which required domain specific knowledge.
(e.g., OpticalPortOperatorr#descriptionOf)

required work for ONOS-4691

Change-Id: I954f5f2db2cb7db938f498ead4c8e3f84212a53f
2016-06-18 07:02:07 +00:00
Madan Jampani
e9e71f10d2 Remove unused local var
Change-Id: Ied95e75aaecd7f2fc278034c7987fe263ef20e22
2016-06-17 18:51:02 +00:00
Madan Jampani
a0c4bdbaf8 Ensure ApplicationManager waits until features are installed/uninstalled
Change-Id: Ie86c7945d8707cac6ef869e0b28bb950744ea708
2016-06-17 18:30:10 +00:00
Madan Jampani
015d3a34c2 Ensure ApplicationService::uninstall returns only after the features have been uninstalled
Change-Id: Iff9c1c0196bc8616858589c67ce4c876e99a8120
2016-06-17 01:58:12 +00:00
Jonathan Hart
c32585fd5b Allow registering multiple pre-deactivate hooks for a single app ID.
Applications can be comprised of multiple components and may want to have
each component register its own pre-deactivate hook.

Change-Id: I64f1e5fe95bd50e7b7549685c7da7b1b193087f2
2016-06-16 23:34:00 +00:00
Deepa Vaddireddy
0c49b607a1 Fix for JIRA ONOS-4620. Whenever networkconfiguration is deleted even the queued will be removed
Change-Id: I8d7f1a873af90cf86ea34f1a2b1585ef4c3e46e4
2016-06-16 20:47:56 +00:00
Thomas Vachuska
943efcc3ab Fixed PathManager cost for edge-to-edge path.
Change-Id: I6a6a637839e32159e76df80d721f29fca83bf5ce
2016-06-16 09:21:40 +00:00
Sho SHIMIZU
0e03f59bf5 More idiomatic code in Stream API
Change-Id: Ifa5a311cfc1ce43f5eab80be9ddce5fa36e47d92
2016-06-16 07:46:52 +00:00
Sho SHIMIZU
891162b99f Remove API deprecated in Falcon
Change-Id: I80a8afbcd577a9cce174d3fc1e511b711d3c68d4
2016-06-16 07:46:02 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Thomas Vachuska
d27097cc32 ONOS-4604 Fixed flow objective installation
Removed context from objective toString methods.
Removed duplicate flow objective delegate notifications in the store for next objectives.
Synchronized queueing of forwarding objectives for pending next objectives to avoid notifications race.
Changed logging for better readability.

Change-Id: Ic2bd411a891ea035a2c5513b24dea5fbd48f187d
2016-06-14 19:43:02 -07:00
Sho SHIMIZU
9cc4a241cf Make resource retrieval more efficient when specifing resource type
This resolves ONOS-4666

Change-Id: I9d09b60531ca48b36fc20f43498cda62f1badb8b
2016-06-14 21:17:09 +00:00
Saurav Das
b5c236e2eb In this commit:
Bug fix when optimized SR re-routing fails, do full re-route
   Bug fix filtering objectives should be called for new device even if there is an existing grouphandler
   Bug fix NPE in ofdpa driver due to null check on the wrong variable
   New cli command for debugging flow-objectives for pending next-objectives
   Flow objective cli commands now start with "obj-"

Change-Id: I819f82d1d67769cb9fbbde60f099d29b8e7f7c9e
2016-06-14 21:08:22 +00:00
Thomas Vachuska
ab753e1e9c Fixing host-to-host compiler not to produce any installables if one == two.
Change-Id: I369e747537ee140c4bb5d63169e516e9700a3361
2016-06-14 02:45:51 +00:00
Carmelo Cascone
f4363a077a Added device listener to fallback flow rule provider to trigger flow
entries probe after device events

Helpful for devices that do not provide configuration persistency,
to quickly restore flow rules after a reboot or an update.

Change-Id: I35dee1ff56076ddda7d22c353a01d518f2f88eed
(cherry picked from commit 0969e6f2dad233980a49b5884e22286be0736b72)
2016-06-13 16:15:22 +00:00
Jian Li
11260a0192 Try to use ModMplsHeaderInstruction and ModVlanHeaderInstruction
Change-Id: I0b486907ef718a6dfa3e92696397fe5a7e851aed
2016-06-13 15:46:14 +00:00
Saurav Das
251908110a In this commit:
Bug fix where filtering objectives are not installed due to available ports becoming enabled later.
   Bug fix where flow objective store had no listener for notifications from drivers across multiple instances of the controller.
   NPE fix in ofdpa driver for non-existing groups.
   Preventing ofdpa driver from sending spurious pass notification to app.
   Incrementing retry filter timer from 1 to 5 secs in default routing handler.
   Made several debug messages clearer.

Change-Id: I828671ee4c8bcfe03c946d051e1d1aac9d8f68dd
2016-06-08 17:01:12 +00:00
HIGUCHI Yuta
cc10558d5c Bugfix: OpticalPortOperator should be able to overwrite port number.
- bug introduced in ONOS-3503.
- added exact equality comparison method to PortNumber
- removed null PortNumber case handling test

Change-Id: I6d1f191b5a64b79426de9d80cffadd6c9de96d56
(cherry picked from commit fdb82fa496ba319fbff49e56956377dcc1c71d5f)
2016-06-07 20:55:36 +00:00
Madan Jampani
597282af90 Clean up references to the deprecated p0 storage partition
Change-Id: Ifdab952d2bef30104f57aff3cab342df99a20571
2016-06-04 21:16:00 +00:00
Sho SHIMIZU
b6c63a3a20 Move BandwidthCapacity out of resource pacakge
Change-Id: I80b4ed484ea505092c45c78f89fbe065c09aab6c
(cherry picked from commit 086af1db475cf9182f8dba83e1b96038301e22fe)
2016-06-04 20:31:47 +00:00
HIGUCHI Yuta
7a004aeaa5 Fix "Driver service not bound yet" issue in optical compiler.
Change-Id: I16e03a108f0ebaa077b33de73cb9641d913b96e5
2016-05-31 16:12:40 +00:00
Ray Milkey
fd724409ed Fix for ONOS-4484 flows left behind after intent reroute
During the installation process, the list of flows to remove and
the list of flows to install were computed into the same variable,
so the list of adds overwrote the list of removes. The fix is to
put them all onto the same list.

Change-Id: I1f0c7f0a7b3c76f50afdb121dbba70010df79fab
2016-05-26 23:07:11 +00:00
Jonathan Hart
943893f858 Allow turning off CoreEventDispatcher watchdog for debugging.
This can be done by setting CoreManager maxEventTimeLimit=0

Change-Id: I5328677020fe0fd48976957a89ee0a32d1d61292
2016-05-24 23:42:19 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
HIGUCHI Yuta
4ad9df0be0 Cosmetic fixes for DefaultClusterMetadataProvider
Change-Id: I3d4d49fb38ec258f5a9a7c6007a40255d6465801
2016-05-23 20:32:47 +00:00
Michele Santuari
d2c8b157b4 corsa support intent
Change-Id: I6eaa46d1ef39405defa3b0661e94d1cf285db332
2016-05-18 21:26:54 +00:00
HIGUCHI Yuta
6972ae67e2 [ONOS-4513] Remove optical dependency from store/dist
- Ensure only generic port description will go into the DeviceStore

Change-Id: I7ba6c1680c2d5e3a5579337193c620c89f5f7f41
2016-05-18 21:07:15 +00:00
Naoki Shiota
bd1974c6d2 Made ResourceManager to accept arbitrary ResourceConsumer implementation. (ONOS-4406)
Change-Id: If41564824770c2a8b78237a206c036df94141117
2016-05-13 14:43:52 -07:00
HIGUCHI Yuta
072ee2f6f6 Remove unnecessary CHECKSTYLE comment
Change-Id: I43b251d1029c7bd8bd754b40caf8e3057d6eb797
2016-05-11 11:56:22 -07:00
HIGUCHI Yuta
5be3e820cf ONOS-4417 Remove OtuPort out of core.
Change-Id: Ibc72ee617b238005585f0bcd873b9123e48ee7fc
2016-05-09 23:39:00 +00:00
HIGUCHI Yuta
4c0ef6b54a ONOS-4416 Remove OduCltPort out of core.
Change-Id: I04324a72e48af84afdbfa32b84c8e57f39411000
2016-05-09 23:38:47 +00:00
HIGUCHI Yuta
95d83e8067 ONOS-4415 Remove OmsPort out of core.
Change-Id: Ic796c4e715789ba18f350f28e29db04dd537822f
2016-05-09 23:38:16 +00:00
HIGUCHI Yuta
34a3f69be1 ONOS-3503 Remove OchPort out of core.
- Implementation of a Behavior OpticalDevice has the knowledge of
  translating annotations into optical specific port.
- OpticalDeviceServiceView checks if the Device is a OpticalDevice
  and translate all the Ports to optical specific port before returning.

- This commit contains feedbacks, issues, and fixes by Michele Santuari.

- Note: 3 more Port types to go (OduClt, Oms, Otu)

Change-Id: I4cbda8bc1922fbdd4dac8de8d02294bad74b8058
2016-05-09 22:24:41 +00:00
Aneesha Pailla
d5a8f0105b Bug fix for ONOS-4491
Change-Id: I5088b3ec219fd2b44e74c9cbba70cbfb7addad84
2016-05-04 22:37:16 +00:00
HIGUCHI Yuta
6057d08e2a Partial support for LambdaQuery returning FLEX grid.
Change-Id: I419cb38d1639639fad3f8327ecfbd3c63932f179
2016-05-02 17:03:17 +00:00
Brian O'Connor
be27bb3da3 Updating BUCK files
Change-Id: I24f279b42a270e59cf4bf4564e2aa4d81459c8e2
2016-04-29 18:23:19 -07:00
Brian O'Connor
105cf5345a ONOS-3748 Resubmitting pending PURGE_REQ intents
Change-Id: I71ea3f35e1bc3e80d5df393d27fad5f48a295818
2016-04-29 06:34:39 +00:00
HIGUCHI Yuta
d9e0105d79 log uncaught Exception
- Use execute instead of submit so that uncaught Exception will
  be dealt and logged by ExecutorService's handler.
- Use component's own logger

Change-Id: I761264aea00748980929b5048e111756776dd2f6
2016-04-19 17:10:00 +00:00
Hyunsun Moon
7bfbc1ce33 ONOS-4154 generates consistent hash for flow ID across multiple instances
Change-Id: I8de850dcc5d6d40ed563f7d476c6e13a09060093
2016-04-18 17:22:02 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Sho SHIMIZU
a6b4dc7b4d Extract interface consisting of read-only operations
Change-Id: I0e43b25ea5feba6af882addb0e734d0662f3808f
2016-04-07 15:07:13 +00:00
Ray Milkey
7c25182db9 Fix buck tests
Change-Id: I3d681e6e5c1d3e98c87ccb3d20a619b216ae6133
2016-04-06 19:04:52 -07:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Brian O'Connor
85f28d0a0a Updating test sources in several BUCK files
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Ray Milkey
0ae473d4fc STC fixes
- NPE when a switch has already been removed and an attempt is made
  to access stats on the switch.

- NPE in group provider if the system is in the process of shutting down.

- Lower ERROR to WARN when switch resources are not available.

Change-Id: I5b90ff328b19c2d661fde3a24e90614999c4c900
2016-04-04 21:37:33 +00:00
Rimon Ashkenazy
27438ffa64 Add Optical ODU cross-connect Intent
Create a new intent: OpticalOduIntent in the OTN Topology.
 - This intent finds a path of OTU links, and
 - Allocates TributarySlots resources on the OTU ports (in the path)
 - also add a utility for converting various SignalTypes to
   OduSignalType, and to build the OduSignalId.

Note: this patch follows the example given in patch
https://gerrit.onosproject.org/#/c/7321 of
separate resource search from resource allocation.

Change-Id: Id9808f61aebb80a21481f3882aff23b236b68078
2016-04-04 16:53:43 +00:00
Andrea Campanella
3f1c61e79f Removing listeners from deviceService at deactivation of Group and Flow managers to avoid NPE
Change-Id: Ia7526913e4f50b4c49ce9f2ae9ddf85c2db77a3a
2016-04-04 14:37:08 +00:00