Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 1 | /* |
Ray Milkey | 34c9590 | 2015-04-15 09:47:53 -0700 | [diff] [blame] | 2 | * Copyright 2014-2015 Open Networking Laboratory |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
Sho SHIMIZU | 6c28f83 | 2015-02-20 16:12:19 -0800 | [diff] [blame] | 16 | package org.onosproject.net.intent.impl.compiler; |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 17 | |
Marc De Leenheer | 0b8b2ef | 2015-08-03 15:39:00 -0700 | [diff] [blame] | 18 | import com.google.common.collect.ImmutableList; |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 19 | import org.apache.felix.scr.annotations.Activate; |
| 20 | import org.apache.felix.scr.annotations.Component; |
| 21 | import org.apache.felix.scr.annotations.Deactivate; |
| 22 | import org.apache.felix.scr.annotations.Reference; |
| 23 | import org.apache.felix.scr.annotations.ReferenceCardinality; |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 24 | import org.onlab.util.Frequency; |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 25 | import org.onosproject.net.AnnotationKeys; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 26 | import org.onosproject.net.ConnectPoint; |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 27 | import org.onosproject.net.DeviceId; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 28 | import org.onosproject.net.Link; |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 29 | import org.onosproject.net.OchPort; |
| 30 | import org.onosproject.net.OchSignal; |
Marc De Leenheer | d24420f | 2015-05-27 09:40:59 -0700 | [diff] [blame] | 31 | import org.onosproject.net.OchSignalType; |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 32 | import org.onosproject.net.OmsPort; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 33 | import org.onosproject.net.Path; |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 34 | import org.onosproject.net.Port; |
| 35 | import org.onosproject.net.device.DeviceService; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 36 | import org.onosproject.net.intent.Intent; |
| 37 | import org.onosproject.net.intent.IntentCompiler; |
| 38 | import org.onosproject.net.intent.IntentExtensionService; |
| 39 | import org.onosproject.net.intent.OpticalConnectivityIntent; |
| 40 | import org.onosproject.net.intent.OpticalPathIntent; |
Marc De Leenheer | 8c2caac | 2015-05-28 16:37:33 -0700 | [diff] [blame] | 41 | import org.onosproject.net.intent.impl.IntentCompilationException; |
Sho SHIMIZU | 5c16df8 | 2015-09-29 12:52:07 -0700 | [diff] [blame] | 42 | import org.onosproject.net.newresource.ResourcePath; |
| 43 | import org.onosproject.net.newresource.ResourceService; |
Marc De Leenheer | 0b8b2ef | 2015-08-03 15:39:00 -0700 | [diff] [blame] | 44 | import org.onosproject.net.resource.ResourceType; |
Marc De Leenheer | 0b8b2ef | 2015-08-03 15:39:00 -0700 | [diff] [blame] | 45 | import org.onosproject.net.resource.link.DefaultLinkResourceRequest; |
Brian O'Connor | 6de2e20 | 2015-05-21 14:30:41 -0700 | [diff] [blame] | 46 | import org.onosproject.net.resource.link.LambdaResource; |
| 47 | import org.onosproject.net.resource.link.LambdaResourceAllocation; |
| 48 | import org.onosproject.net.resource.link.LinkResourceAllocations; |
| 49 | import org.onosproject.net.resource.link.LinkResourceRequest; |
| 50 | import org.onosproject.net.resource.link.LinkResourceService; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 51 | import org.onosproject.net.topology.LinkWeight; |
| 52 | import org.onosproject.net.topology.Topology; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 53 | import org.onosproject.net.topology.TopologyService; |
Marc De Leenheer | 8c2caac | 2015-05-28 16:37:33 -0700 | [diff] [blame] | 54 | import org.slf4j.Logger; |
| 55 | import org.slf4j.LoggerFactory; |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 56 | |
Marc De Leenheer | 0b8b2ef | 2015-08-03 15:39:00 -0700 | [diff] [blame] | 57 | import java.util.List; |
| 58 | import java.util.Set; |
Sho SHIMIZU | 280e791 | 2015-09-29 13:42:03 -0700 | [diff] [blame] | 59 | import java.util.stream.Collectors; |
Marc De Leenheer | 0b8b2ef | 2015-08-03 15:39:00 -0700 | [diff] [blame] | 60 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 61 | import static com.google.common.base.Preconditions.checkArgument; |
| 62 | |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 63 | /** |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 64 | * An intent compiler for {@link org.onosproject.net.intent.OpticalConnectivityIntent}. |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 65 | */ |
| 66 | @Component(immediate = true) |
| 67 | public class OpticalConnectivityIntentCompiler implements IntentCompiler<OpticalConnectivityIntent> { |
| 68 | |
Marc De Leenheer | 8c2caac | 2015-05-28 16:37:33 -0700 | [diff] [blame] | 69 | protected static final Logger log = LoggerFactory.getLogger(OpticalConnectivityIntentCompiler.class); |
| 70 | |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 71 | @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) |
| 72 | protected IntentExtensionService intentManager; |
| 73 | |
| 74 | @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) |
weibit | 7e58346 | 2014-10-23 10:14:05 -0700 | [diff] [blame] | 75 | protected TopologyService topologyService; |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 76 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 77 | @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) |
| 78 | protected DeviceService deviceService; |
| 79 | |
| 80 | @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) |
Sho SHIMIZU | 5c16df8 | 2015-09-29 12:52:07 -0700 | [diff] [blame] | 81 | protected ResourceService resourceService; |
| 82 | |
| 83 | @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 84 | protected LinkResourceService linkResourceService; |
| 85 | |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 86 | @Activate |
| 87 | public void activate() { |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 88 | intentManager.registerCompiler(OpticalConnectivityIntent.class, this); |
| 89 | } |
| 90 | |
| 91 | @Deactivate |
| 92 | public void deactivate() { |
| 93 | intentManager.unregisterCompiler(OpticalConnectivityIntent.class); |
| 94 | } |
| 95 | |
| 96 | @Override |
Brian O'Connor | fa81eae | 2014-10-30 13:20:05 -0700 | [diff] [blame] | 97 | public List<Intent> compile(OpticalConnectivityIntent intent, |
| 98 | List<Intent> installable, |
| 99 | Set<LinkResourceAllocations> resources) { |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 100 | // Check if source and destination are optical OCh ports |
| 101 | ConnectPoint src = intent.getSrc(); |
| 102 | ConnectPoint dst = intent.getDst(); |
| 103 | Port srcPort = deviceService.getPort(src.deviceId(), src.port()); |
| 104 | Port dstPort = deviceService.getPort(dst.deviceId(), dst.port()); |
| 105 | checkArgument(srcPort instanceof OchPort); |
| 106 | checkArgument(dstPort instanceof OchPort); |
| 107 | |
Marc De Leenheer | 8c2caac | 2015-05-28 16:37:33 -0700 | [diff] [blame] | 108 | log.debug("Compiling optical connectivity intent between {} and {}", src, dst); |
| 109 | |
| 110 | // Reserve OCh ports |
Sho SHIMIZU | 5c16df8 | 2015-09-29 12:52:07 -0700 | [diff] [blame] | 111 | ResourcePath srcPortPath = new ResourcePath(src.deviceId(), src.port()); |
| 112 | ResourcePath dstPortPath = new ResourcePath(dst.deviceId(), dst.port()); |
| 113 | List<org.onosproject.net.newresource.ResourceAllocation> allocation = |
| 114 | resourceService.allocate(intent.id(), srcPortPath, dstPortPath); |
| 115 | if (allocation.isEmpty()) { |
Marc De Leenheer | 8c2caac | 2015-05-28 16:37:33 -0700 | [diff] [blame] | 116 | throw new IntentCompilationException("Unable to reserve ports for intent " + intent); |
| 117 | } |
| 118 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 119 | // Calculate available light paths |
| 120 | Set<Path> paths = getOpticalPaths(intent); |
| 121 | |
| 122 | // Use first path that can be successfully reserved |
| 123 | for (Path path : paths) { |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 124 | |
| 125 | // Static or dynamic lambda allocation |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 126 | String staticLambda = srcPort.annotations().value(AnnotationKeys.STATIC_LAMBDA); |
Marc De Leenheer | c973308 | 2015-06-04 12:22:38 -0700 | [diff] [blame] | 127 | OchPort srcOchPort = (OchPort) srcPort; |
| 128 | OchPort dstOchPort = (OchPort) dstPort; |
| 129 | OchSignal ochSignal; |
| 130 | |
| 131 | // FIXME: need to actually reserve the lambda for static lambda's |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 132 | if (staticLambda != null) { |
HIGUCHI Yuta | 4a6a70a | 2015-09-04 14:42:10 -0700 | [diff] [blame] | 133 | ochSignal = new OchSignal(Frequency.ofHz(Long.parseLong(staticLambda)), |
Marc De Leenheer | c973308 | 2015-06-04 12:22:38 -0700 | [diff] [blame] | 134 | srcOchPort.lambda().channelSpacing(), |
| 135 | srcOchPort.lambda().slotGranularity()); |
| 136 | } else if (!srcOchPort.isTunable() || !dstOchPort.isTunable()) { |
| 137 | // FIXME: also check OCh port |
| 138 | ochSignal = srcOchPort.lambda(); |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 139 | } else { |
| 140 | // Request and reserve lambda on path |
| 141 | LinkResourceAllocations linkAllocs = assignWavelength(intent, path); |
| 142 | if (linkAllocs == null) { |
| 143 | continue; |
| 144 | } |
Marc De Leenheer | c973308 | 2015-06-04 12:22:38 -0700 | [diff] [blame] | 145 | LambdaResourceAllocation lambdaAlloc = getWavelength(path, linkAllocs); |
| 146 | OmsPort omsPort = (OmsPort) deviceService.getPort(path.src().deviceId(), path.src().port()); |
Marc De Leenheer | 0b8b2ef | 2015-08-03 15:39:00 -0700 | [diff] [blame] | 147 | ochSignal = new OchSignal(lambdaAlloc.lambda().toInt(), omsPort.maxFrequency(), omsPort.grid()); |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 148 | } |
| 149 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 150 | // Create installable optical path intent |
Marc De Leenheer | d24420f | 2015-05-27 09:40:59 -0700 | [diff] [blame] | 151 | // Only support fixed grid for now |
| 152 | OchSignalType signalType = OchSignalType.FIXED_GRID; |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 153 | |
| 154 | Intent newIntent = OpticalPathIntent.builder() |
| 155 | .appId(intent.appId()) |
| 156 | .src(intent.getSrc()) |
| 157 | .dst(intent.getDst()) |
| 158 | .path(path) |
| 159 | .lambda(ochSignal) |
Marc De Leenheer | d24420f | 2015-05-27 09:40:59 -0700 | [diff] [blame] | 160 | .signalType(signalType) |
Marc De Leenheer | 4a1c1fa | 2015-06-01 18:08:56 -0700 | [diff] [blame] | 161 | .bidirectional(intent.isBidirectional()) |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 162 | .build(); |
| 163 | |
| 164 | return ImmutableList.of(newIntent); |
| 165 | } |
| 166 | |
Marc De Leenheer | 8c2caac | 2015-05-28 16:37:33 -0700 | [diff] [blame] | 167 | // Release port allocations if unsuccessful |
Sho SHIMIZU | 5c16df8 | 2015-09-29 12:52:07 -0700 | [diff] [blame] | 168 | resourceService.release(intent.id()); |
Marc De Leenheer | 8c2caac | 2015-05-28 16:37:33 -0700 | [diff] [blame] | 169 | |
| 170 | throw new IntentCompilationException("Unable to find suitable lightpath for intent " + intent); |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 171 | } |
| 172 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 173 | /** |
| 174 | * Find the lambda allocated to the path. |
| 175 | * |
| 176 | * @param path the path |
| 177 | * @param linkAllocs the link allocations |
Sho SHIMIZU | 5a6e2e5 | 2015-09-09 15:04:12 -0700 | [diff] [blame] | 178 | * @return lambda allocated to the given path |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 179 | */ |
| 180 | private LambdaResourceAllocation getWavelength(Path path, LinkResourceAllocations linkAllocs) { |
Sho SHIMIZU | 280e791 | 2015-09-29 13:42:03 -0700 | [diff] [blame] | 181 | return path.links().stream() |
| 182 | .flatMap(x -> linkAllocs.getResourceAllocation(x).stream()) |
| 183 | .filter(x -> x.type() == ResourceType.LAMBDA) |
| 184 | .findFirst() |
| 185 | .map(x -> (LambdaResourceAllocation) x) |
| 186 | .orElse(null); |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 187 | } |
| 188 | |
| 189 | /** |
| 190 | * Request and reserve first available wavelength across path. |
| 191 | * |
| 192 | * @param path path in WDM topology |
| 193 | * @return first available lambda resource allocation |
| 194 | */ |
| 195 | private LinkResourceAllocations assignWavelength(Intent intent, Path path) { |
| 196 | LinkResourceRequest.Builder request = |
| 197 | DefaultLinkResourceRequest.builder(intent.id(), path.links()) |
| 198 | .addLambdaRequest(); |
| 199 | |
| 200 | LinkResourceAllocations allocations = linkResourceService.requestResources(request.build()); |
| 201 | |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 202 | if (!checkWavelengthContinuity(allocations, path)) { |
| 203 | linkResourceService.releaseResources(allocations); |
| 204 | return null; |
| 205 | } |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 206 | |
| 207 | return allocations; |
| 208 | } |
| 209 | |
| 210 | /** |
| 211 | * Checks wavelength continuity constraint across path, i.e., an identical lambda is used on all links. |
| 212 | * @return true if wavelength continuity is met, false otherwise |
| 213 | */ |
| 214 | private boolean checkWavelengthContinuity(LinkResourceAllocations allocations, Path path) { |
| 215 | if (allocations == null) { |
| 216 | return false; |
| 217 | } |
| 218 | |
Sho SHIMIZU | 280e791 | 2015-09-29 13:42:03 -0700 | [diff] [blame] | 219 | List<LambdaResource> lambdas = path.links().stream() |
| 220 | .flatMap(x -> allocations.getResourceAllocation(x).stream()) |
| 221 | .filter(x -> x.type() == ResourceType.LAMBDA) |
| 222 | .map(x -> ((LambdaResourceAllocation) x).lambda()) |
| 223 | .collect(Collectors.toList()); |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 224 | |
Sho SHIMIZU | 280e791 | 2015-09-29 13:42:03 -0700 | [diff] [blame] | 225 | LambdaResource lambda = null; |
| 226 | for (LambdaResource nextLambda: lambdas) { |
| 227 | if (nextLambda == null) { |
| 228 | return false; |
| 229 | } |
| 230 | if (lambda == null) { |
| 231 | lambda = nextLambda; |
| 232 | continue; |
| 233 | } |
| 234 | if (!lambda.equals(nextLambda)) { |
| 235 | return false; |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 236 | } |
| 237 | } |
| 238 | |
| 239 | return true; |
| 240 | } |
| 241 | |
Marc De Leenheer | 723f553 | 2015-06-03 20:16:17 -0700 | [diff] [blame] | 242 | private ConnectPoint staticPort(ConnectPoint connectPoint) { |
| 243 | Port port = deviceService.getPort(connectPoint.deviceId(), connectPoint.port()); |
| 244 | |
| 245 | String staticPort = port.annotations().value(AnnotationKeys.STATIC_PORT); |
| 246 | |
| 247 | // FIXME: need a better way to match the port |
| 248 | if (staticPort != null) { |
| 249 | for (Port p : deviceService.getPorts(connectPoint.deviceId())) { |
| 250 | if (staticPort.equals(p.number().name())) { |
| 251 | return new ConnectPoint(p.element().id(), p.number()); |
| 252 | } |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | return null; |
| 257 | } |
| 258 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 259 | /** |
| 260 | * Calculates optical paths in WDM topology. |
| 261 | * |
| 262 | * @param intent optical connectivity intent |
| 263 | * @return set of paths in WDM topology |
| 264 | */ |
| 265 | private Set<Path> getOpticalPaths(OpticalConnectivityIntent intent) { |
| 266 | // Route in WDM topology |
weibit | 7e58346 | 2014-10-23 10:14:05 -0700 | [diff] [blame] | 267 | Topology topology = topologyService.currentTopology(); |
Sho SHIMIZU | 7462641 | 2015-09-11 11:46:27 -0700 | [diff] [blame] | 268 | LinkWeight weight = edge -> { |
| 269 | // Disregard inactive or non-optical links |
| 270 | if (edge.link().state() == Link.State.INACTIVE) { |
| 271 | return -1; |
weibit | 7e58346 | 2014-10-23 10:14:05 -0700 | [diff] [blame] | 272 | } |
Sho SHIMIZU | 7462641 | 2015-09-11 11:46:27 -0700 | [diff] [blame] | 273 | if (edge.link().type() != Link.Type.OPTICAL) { |
| 274 | return -1; |
| 275 | } |
| 276 | // Adhere to static port mappings |
| 277 | DeviceId srcDeviceId = edge.link().src().deviceId(); |
| 278 | if (srcDeviceId.equals(intent.getSrc().deviceId())) { |
| 279 | ConnectPoint srcStaticPort = staticPort(intent.getSrc()); |
| 280 | if (srcStaticPort != null) { |
| 281 | return srcStaticPort.equals(edge.link().src()) ? 1 : -1; |
| 282 | } |
| 283 | } |
| 284 | DeviceId dstDeviceId = edge.link().dst().deviceId(); |
| 285 | if (dstDeviceId.equals(intent.getDst().deviceId())) { |
| 286 | ConnectPoint dstStaticPort = staticPort(intent.getDst()); |
| 287 | if (dstStaticPort != null) { |
| 288 | return dstStaticPort.equals(edge.link().dst()) ? 1 : -1; |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | return 1; |
weibit | 7e58346 | 2014-10-23 10:14:05 -0700 | [diff] [blame] | 293 | }; |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 294 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 295 | ConnectPoint start = intent.getSrc(); |
| 296 | ConnectPoint end = intent.getDst(); |
Thomas Vachuska | 425a2d7 | 2014-10-29 11:28:28 -0700 | [diff] [blame] | 297 | Set<Path> paths = topologyService.getPaths(topology, start.deviceId(), |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 298 | end.deviceId(), weight); |
weibit | 7e58346 | 2014-10-23 10:14:05 -0700 | [diff] [blame] | 299 | |
Marc De Leenheer | 1afa2a0 | 2015-05-13 09:18:07 -0700 | [diff] [blame] | 300 | return paths; |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 301 | } |
weibit | f32383b | 2014-10-22 10:17:31 -0700 | [diff] [blame] | 302 | } |