1205 Commits

Author SHA1 Message Date
Sho SHIMIZU
81470a5c3d Use StringBuilder instead of StringBuffer
Change-Id: Ia8784f55ad04cc0da490e3c56f1ae4dae7463656
2016-08-12 17:24:55 -07:00
Sho SHIMIZU
970d6e230c Remove unnecessary reference to this
Change-Id: I1913041fc71169dc69ffd1243663b6304f4dc7ec
2016-08-12 22:53:02 +00:00
Sho SHIMIZU
5c396e3cf3 Remove explicit use of the default value
Change-Id: I27efdfbb7703f49b7ca13b12fcc71fa20bccf6a7
2016-08-12 15:19:12 -07:00
Sho SHIMIZU
3437bdb069 Fix dangling Javadoc comments
Change-Id: I828f9bdf0c2b2205b9239c2ef5c85aadd83bb3f0
2016-08-12 14:57:37 -07:00
Yuta HIGUCHI
532eb21b36 Refresh pipeleiner cache with newly initialized Pipeliner
Change-Id: I149b450a6698fd0b0f4af719396fef83f8140549
2016-08-11 18:27:33 -07:00
Thomas Vachuska
bddbb25618 Added a temporary fix for out-of-order app activation event delivery.
Cleaning up app subsystem code a tiny bit as well.

Change-Id: I5df7d4c6d62d122653331474fb079648e779d595
2016-08-10 23:56:57 +00:00
Simon Hunt
f4fd2a2e47 Clean up handling of lat/long geo-coordinates.
Change-Id: I64fca56c7deb9a8baa6c68558365ec2a8c38168c
2016-08-10 16:31:11 -07:00
soumya
3e6f05e0bc Code changes to ensure ONOS has each IP address attached to only one host at a time
Change-Id: I1b4de39175d5bfd5ddf04c9087f4f3beff264594
2016-08-10 20:57:51 +00:00
Sho SHIMIZU
a09e1bbdbd Use Collection#forEach() instead of Stream#forEach() for simplicity
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
Sho SHIMIZU
ef835c9d46 Make ResourceService API more flexible in parameter
Change-Id: Ic8b803cc6ae3b2798de525bfd6545ac5c57e8fdd
2016-08-09 00:17:51 +00:00
Kavitha Alagesan
c69c66ae54 Merged master fixed conflict.
Change-Id: I1260048f4cc90c422ce6033d506c25ec38d6cc3a
2016-08-08 17:56:09 +00:00
Thomas Vachuska
0666f155b0 Cleaning-up shared executors use of metrics service.
Change-Id: I4293df87cd46e9f22cbdf03cfbced9a21ba85de7
2016-08-05 12:05:52 -07:00
Jonathan Hart
78613d2e16 Probe immediately when IPs are added to host monitor
rather than waiting for the next polling cycle.

Change-Id: Iffaf50f7a589b52be659b82b8a289e04a5de4ca6
2016-08-04 00:26:41 +00:00
Yuta HIGUCHI
d95d590b7e [ONOS-4513] Move optical Intent compilers out to optical-model (3/3)
- core/net is now optical clean
- reverting part of Change-Id: Ib8ddac6e93327ade9d42984d8eba66be7047d051
 which lead to loss of package import information, causing OSGi issue

Change-Id: Ie6b16abd3ecc872f0920d29c7577a10c44091af6
2016-08-03 18:54:43 +00:00
Yuta HIGUCHI
b9af6b79ef [ONOS-4691] Refactoring OpticalPortOperator (2/3)
- Define ConfigOperator for a Port
- Refactor OpticalPortOperator as PortConfigOperator
- Add plug-in mechanism for PortConfigOperator on DeviceManager
- Move OpticalPortConfig, OpticalPortOperator to optical-model bundle

Change-Id: I5d416305b0c1b0e31e0ad64baa92d126303548bc
2016-08-03 18:54:26 +00:00
HIGUCHI Yuta
f3ead25267 [ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00
Yuta HIGUCHI
90e12291f5 Fix NPE in AbstractPathService.
Was triggering NPE when used in plain PathManager

- implement PathService to inherit interface javadoc

Change-Id: I345ec84ed3e61a383574fd58679fb00291b4bba0
2016-08-03 10:18:15 -07:00
Claudine Chiu
45920ddeb8 ONOS-2184 - initial impl. of virtual network path service; move path related methods from PathManager to AbstractPathService (since they are reused for VirtualNetworkPathService).
Change-Id: Ib4211d69a15c23a50de420b771877bb659539c22
2016-08-02 21:31:37 +00:00
Brian Stanke
fb61df4c6a ONOS-2184 - Implementation of virtual network topology provider.
Change-Id: I846ba56c138187c6e5435692798e709b74a78020
2016-08-01 18:19:47 +00:00
Jon Hall
7a8bfc6caa [ONOS-4460] Relinquish device role when partitioned away from cluster
Change-Id: I578029614cced96a2d4503e4fe3052c927f051ab
2016-07-28 00:37:14 +00:00
Pier
1677f9f566 Fix PathCompiler in case of VLAN encapsulation
constraint and 1 hop.

Change-Id: Iea82fb4076c79bfa3770836459ffe5f25b5a79c1
2016-07-25 22:43:07 +00:00
Yuta HIGUCHI
1624df1f30 Assigning names to various threads
- specify nearby logger when possible

Change-Id: Ia8925ab1459c4d1da922becd0e201388d44d4294
2016-07-22 22:56:26 +00:00
Thomas Vachuska
e7ea688a60 Allowing driver loaders to refer to classes loaded by others.
Change-Id: Ife4e50758620d4c052a7bb81740d9b9305647317
2016-07-22 22:24:16 +00:00
Nicholas Dean
126b8afeeb ONOS-4802 sp2mp intents now apply treatment at the egress switch
Change-Id: Ibdd675f331e522c8b9f1d0e2e9fd5d6b93162fd1
2016-07-22 18:56:46 +00:00
Yuta HIGUCHI
0b5b82e51f BugFix for ONOS-4942.
- Was excluding EdgePort when trying to remove EdgePort...

Change-Id: I79da723da5b045e322ec9b9cdb5457a17f1aceb4
2016-07-21 23:52:59 +00:00
Yuta HIGUCHI
e50a56d64f Replace deprecated method usage.
Change-Id: I119450c40926fc1b60d5f201e3f904ebb4b97a9c
2016-07-21 23:33:23 +00:00
Yuta HIGUCHI
b440ef46cb EdgeManager fixes
- Edge point update should be triggered based on TopologyEvent.
  {Device, Link}Event can be triggered before TopologyEvent,
  which will result in use of the outdated Topology to determine
  if the port is an edge port leading to incorrect edge port set.
  (ONOS-4896)
- Ports on Edge Link should not be considered part of infrastructure,
  should be candidate for Edge point.

Change-Id: I7d69cc242ba7849996c1105ccd1956975db63480
2016-07-18 20:50:52 +00:00
Ray Milkey
9ef2223bc1 Fix STC crashes due to devices not found
Change-Id: I23f17b125498fbc5a615498815f862b3544bea34
2016-07-14 22:22:17 +00:00
Madan Jampani
0583387a45 Implementation of Hybrid Logical Clock Service.
Change-Id: I52e231433d044f9e6156db7e28bde9fd199118e8
2016-07-13 21:51:37 +00:00
helenyrwu
fd296b6142 [ONOS-4681] Enables device registration in GossipDeviceStore,
exposes availability, and polls NETCONF device reachability.

Change-Id: I5492c7b6109c3431d71555a9104c7e97fc6e75be
2016-07-13 10:02:10 +00:00
Brian O'Connor
406e264c5c ONOS-4383 Updating traffic selector for {MP2SP,SP2MP}IntentCompilers
Apply egress action to ingress selector for non-ingress devices

Change-Id: I98b4c591d09cc4b5d0e0ff89eaeac44ba07e6326
2016-07-06 19:05:09 +00:00
Brian Stanke
11f6d53693 ONOS-2184 - Initial implementation of Virtual network Intent service.
Change-Id: I03103b4eca797cd32480fbd0e3b4cf0385b50ef2
2016-07-06 17:28:30 +00:00
Madan Jampani
6a2923168e Make CoreEventDispatcher's listener processing time tracking thread-safe
Change-Id: Ib9f109e41fd1b78ce9771a2bb54e8bf3dda38d6c
2016-07-01 18:06:56 +00:00
Jon Hall
db2cf75d2c Fix for reading remote cluster metadata file
Log exceptions when trying to access metadata file
Close connections opened when checking file availability

Change-Id: Ibe89e66ba52dba1c47b559bb784fd7376a3319f2
2016-06-29 20:43:11 +00:00
Pier Luigi Ventre
51313bdcd8 Fix ONOS-4570
Changes:
- Adds RandomVLAN behavior as described in ONOS-4570;
- Adds a unit test for RandomVLAN;
- Fixes the VLAN rewriting;
- Updates the unit tests relative to VLAN encapsulation;

Change-Id: I52ab2f40a30f3be617606b2b0bb7a89d48414138
2016-06-28 02:47:00 +00:00
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