Thomas Vachuska | 83e090e | 2014-10-22 14:25:35 -0700 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2014-present Open Networking Laboratory |
Thomas Vachuska | 83e090e | 2014-10-22 14:25:35 -0700 | [diff] [blame] | 3 | * |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 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 |
Thomas Vachuska | 83e090e | 2014-10-22 14:25:35 -0700 | [diff] [blame] | 7 | * |
Thomas Vachuska | 4f1a60c | 2014-10-28 13:39:07 -0700 | [diff] [blame] | 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. |
Thomas Vachuska | 83e090e | 2014-10-22 14:25:35 -0700 | [diff] [blame] | 15 | */ |
Pier Ventre | 647138f | 2016-08-26 17:32:44 -0700 | [diff] [blame] | 16 | |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 17 | package org.onosproject.net.intent; |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 18 | |
Yuta HIGUCHI | 051be02 | 2017-01-13 18:11:33 -0800 | [diff] [blame] | 19 | import java.util.Collection; |
Pier Ventre | 27d4257 | 2016-08-29 17:37:08 -0700 | [diff] [blame] | 20 | import java.util.List; |
Pier Ventre | 27d4257 | 2016-08-29 17:37:08 -0700 | [diff] [blame] | 21 | import java.util.Set; |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 22 | import java.util.stream.Collectors; |
Pier Ventre | 27d4257 | 2016-08-29 17:37:08 -0700 | [diff] [blame] | 23 | |
Brian O'Connor | 9476fa1 | 2015-06-25 15:17:17 -0400 | [diff] [blame] | 24 | import com.google.common.annotations.Beta; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 25 | import org.onosproject.core.ApplicationId; |
| 26 | import org.onosproject.net.ConnectPoint; |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 27 | import org.onosproject.net.FilteredConnectPoint; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 28 | import org.onosproject.net.Link; |
Yuta HIGUCHI | 051be02 | 2017-01-13 18:11:33 -0800 | [diff] [blame] | 29 | import org.onosproject.net.NetworkResource; |
Brian O'Connor | abafb50 | 2014-12-02 22:26:20 -0800 | [diff] [blame] | 30 | import org.onosproject.net.flow.TrafficSelector; |
| 31 | import org.onosproject.net.flow.TrafficTreatment; |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 32 | |
Pier Ventre | 27d4257 | 2016-08-29 17:37:08 -0700 | [diff] [blame] | 33 | import com.google.common.base.MoreObjects; |
| 34 | import com.google.common.collect.ImmutableSet; |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 35 | import org.slf4j.Logger; |
| 36 | |
| 37 | import static org.slf4j.LoggerFactory.getLogger; |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 38 | |
| 39 | /** |
| 40 | * Abstraction of a connectivity intent that is implemented by a set of path |
| 41 | * segments. |
| 42 | */ |
Brian O'Connor | 9476fa1 | 2015-06-25 15:17:17 -0400 | [diff] [blame] | 43 | @Beta |
Thomas Vachuska | c96058a | 2014-10-20 23:00:16 -0700 | [diff] [blame] | 44 | public final class LinkCollectionIntent extends ConnectivityIntent { |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 45 | |
| 46 | private final Set<Link> links; |
| 47 | |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 48 | private final Set<FilteredConnectPoint> ingressPoints; |
| 49 | private final Set<FilteredConnectPoint> egressPoints; |
Pier Ventre | 27d4257 | 2016-08-29 17:37:08 -0700 | [diff] [blame] | 50 | private final boolean egressTreatmentFlag; |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 51 | private final double cost; |
| 52 | private static final int DEFAULT_COST = 1; |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 53 | |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 54 | /** |
| 55 | * Creates a new actionable intent capable of funneling the selected |
| 56 | * traffic along the specified convergent tree and out the given egress |
| 57 | * point satisfying the specified constraints. |
| 58 | * |
| 59 | * @param appId application identifier |
| 60 | * @param key key to use for the intent |
| 61 | * @param selector traffic match |
| 62 | * @param treatment action |
| 63 | * @param links traversed links |
| 64 | * @param ingressPoints filtered ingress points |
| 65 | * @param egressPoints filtered egress points |
| 66 | * @param constraints optional list of constraints |
| 67 | * @param priority priority to use for the flows generated by this intent |
| 68 | * @param egressTreatment true if treatment should be applied by the egress device |
| 69 | * @param cost the cost of the links |
| 70 | * @throws NullPointerException {@code path} is null |
| 71 | */ |
| 72 | private LinkCollectionIntent(ApplicationId appId, |
| 73 | Key key, |
| 74 | TrafficSelector selector, |
| 75 | TrafficTreatment treatment, |
Yuta HIGUCHI | 051be02 | 2017-01-13 18:11:33 -0800 | [diff] [blame] | 76 | Collection<NetworkResource> resources, |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 77 | Set<Link> links, |
| 78 | Set<FilteredConnectPoint> ingressPoints, |
| 79 | Set<FilteredConnectPoint> egressPoints, |
| 80 | List<Constraint> constraints, |
| 81 | int priority, |
| 82 | boolean egressTreatment, |
| 83 | double cost) { |
Yuta HIGUCHI | 051be02 | 2017-01-13 18:11:33 -0800 | [diff] [blame] | 84 | super(appId, key, resources(resources, links), selector, treatment, constraints, priority); |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 85 | this.links = links; |
| 86 | this.ingressPoints = ingressPoints; |
| 87 | this.egressPoints = egressPoints; |
| 88 | this.egressTreatmentFlag = egressTreatment; |
| 89 | this.cost = cost; |
| 90 | } |
Jonathan Hart | 6b2ffc3 | 2014-10-18 02:09:22 -0700 | [diff] [blame] | 91 | |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 92 | /** |
Thomas Vachuska | c96058a | 2014-10-20 23:00:16 -0700 | [diff] [blame] | 93 | * Constructor for serializer. |
| 94 | */ |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 95 | protected LinkCollectionIntent() { |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 96 | this.links = null; |
Pavlin Radoslavov | 2811c40 | 2015-02-25 14:30:17 -0800 | [diff] [blame] | 97 | this.ingressPoints = null; |
Michele Santuari | 4a33807 | 2014-11-05 18:38:55 +0100 | [diff] [blame] | 98 | this.egressPoints = null; |
Nicholas Dean | 126b8af | 2016-07-18 14:43:13 -0700 | [diff] [blame] | 99 | this.egressTreatmentFlag = false; |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 100 | this.cost = DEFAULT_COST; |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 101 | } |
| 102 | |
Ray Milkey | e668408 | 2014-10-16 16:59:47 -0700 | [diff] [blame] | 103 | /** |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 104 | * Returns a new link collection intent builder. The application id, |
| 105 | * ingress point and egress points are required fields. If they are |
| 106 | * not set by calls to the appropriate methods, an exception will |
| 107 | * be thrown. |
| 108 | * |
| 109 | * @return single point to multi point builder |
| 110 | */ |
| 111 | public static Builder builder() { |
| 112 | return new Builder(); |
| 113 | } |
| 114 | |
| 115 | /** |
| 116 | * Builder of a single point to multi point intent. |
| 117 | */ |
| 118 | public static final class Builder extends ConnectivityIntent.Builder { |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 119 | private final Logger log = getLogger(getClass()); |
| 120 | private Set<Link> links; |
| 121 | private Set<FilteredConnectPoint> ingressPoints; |
| 122 | private Set<FilteredConnectPoint> egressPoints; |
| 123 | private boolean egressTreatmentFlag; |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 124 | private double cost; |
| 125 | |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 126 | |
| 127 | private Builder() { |
| 128 | // Hide constructor |
| 129 | } |
| 130 | |
| 131 | @Override |
| 132 | public Builder appId(ApplicationId appId) { |
| 133 | return (Builder) super.appId(appId); |
| 134 | } |
| 135 | |
| 136 | @Override |
| 137 | public Builder key(Key key) { |
| 138 | return (Builder) super.key(key); |
| 139 | } |
| 140 | |
| 141 | @Override |
| 142 | public Builder selector(TrafficSelector selector) { |
| 143 | return (Builder) super.selector(selector); |
| 144 | } |
| 145 | |
| 146 | @Override |
| 147 | public Builder treatment(TrafficTreatment treatment) { |
| 148 | return (Builder) super.treatment(treatment); |
| 149 | } |
| 150 | |
| 151 | @Override |
| 152 | public Builder constraints(List<Constraint> constraints) { |
| 153 | return (Builder) super.constraints(constraints); |
| 154 | } |
| 155 | |
| 156 | @Override |
| 157 | public Builder priority(int priority) { |
| 158 | return (Builder) super.priority(priority); |
| 159 | } |
| 160 | |
Yuta HIGUCHI | 051be02 | 2017-01-13 18:11:33 -0800 | [diff] [blame] | 161 | @Override |
| 162 | public Builder resources(Collection<NetworkResource> resources) { |
| 163 | return (Builder) super.resources(resources); |
| 164 | } |
| 165 | |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 166 | /** |
| 167 | * Sets the ingress point of the single point to multi point intent |
| 168 | * that will be built. |
| 169 | * |
| 170 | * @param ingressPoints ingress connect points |
| 171 | * @return this builder |
| 172 | */ |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 173 | @Deprecated |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 174 | public Builder ingressPoints(Set<ConnectPoint> ingressPoints) { |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 175 | if (this.ingressPoints != null) { |
| 176 | log.warn("Ingress points are already set, " + |
| 177 | "this will override original ingress points."); |
| 178 | } |
| 179 | this.ingressPoints = ingressPoints.stream() |
| 180 | .map(FilteredConnectPoint::new) |
| 181 | .collect(Collectors.toSet()); |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 182 | return this; |
| 183 | } |
| 184 | |
| 185 | /** |
| 186 | * Sets the egress points of the single point to multi point intent |
| 187 | * that will be built. |
| 188 | * |
| 189 | * @param egressPoints egress connect points |
| 190 | * @return this builder |
| 191 | */ |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 192 | @Deprecated |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 193 | public Builder egressPoints(Set<ConnectPoint> egressPoints) { |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 194 | if (this.egressPoints != null) { |
| 195 | log.warn("Egress points are already set, " + |
| 196 | "this will override original egress points."); |
| 197 | } |
| 198 | this.egressPoints = egressPoints.stream() |
| 199 | .map(FilteredConnectPoint::new) |
| 200 | .collect(Collectors.toSet()); |
| 201 | return this; |
| 202 | } |
| 203 | |
| 204 | /** |
| 205 | * Sets the filtered ingress point of the single point to multi point intent |
| 206 | * that will be built. |
| 207 | * |
| 208 | * @param ingressPoints ingress connect points |
| 209 | * @return this builder |
| 210 | */ |
| 211 | public Builder filteredIngressPoints(Set<FilteredConnectPoint> ingressPoints) { |
| 212 | this.ingressPoints = ImmutableSet.copyOf(ingressPoints); |
| 213 | return this; |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * Sets the filtered egress points of the single point to multi point intent |
| 218 | * that will be built. |
| 219 | * |
| 220 | * @param egressPoints egress connect points |
| 221 | * @return this builder |
| 222 | */ |
| 223 | public Builder filteredEgressPoints(Set<FilteredConnectPoint> egressPoints) { |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 224 | this.egressPoints = ImmutableSet.copyOf(egressPoints); |
| 225 | return this; |
| 226 | } |
| 227 | |
| 228 | /** |
| 229 | * Sets the links of the link collection intent |
| 230 | * that will be built. |
| 231 | * |
| 232 | * @param links links for the intent |
| 233 | * @return this builder |
| 234 | */ |
| 235 | public Builder links(Set<Link> links) { |
| 236 | this.links = ImmutableSet.copyOf(links); |
| 237 | return this; |
| 238 | } |
| 239 | |
Nicholas Dean | 126b8af | 2016-07-18 14:43:13 -0700 | [diff] [blame] | 240 | /** |
| 241 | * Sets the intent to apply treatment at the egress rather than the |
| 242 | * ingress. |
| 243 | * |
| 244 | * @param treatmentOnEgress true applies treatment on egress device |
| 245 | * @return this builder |
| 246 | */ |
| 247 | public Builder applyTreatmentOnEgress(boolean treatmentOnEgress) { |
| 248 | this.egressTreatmentFlag = treatmentOnEgress; |
| 249 | return this; |
| 250 | } |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 251 | |
| 252 | /** |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 253 | * Sets the cost for the links of the Intent. |
| 254 | * |
| 255 | * @param cost the cost of the links |
| 256 | * @return this builder |
| 257 | */ |
| 258 | public Builder cost(double cost) { |
| 259 | this.cost = cost; |
| 260 | return this; |
| 261 | } |
| 262 | |
| 263 | /** |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 264 | * Builds a single point to multi point intent from the |
| 265 | * accumulated parameters. |
| 266 | * |
| 267 | * @return point to point intent |
| 268 | */ |
| 269 | public LinkCollectionIntent build() { |
| 270 | |
| 271 | return new LinkCollectionIntent( |
| 272 | appId, |
| 273 | key, |
| 274 | selector, |
| 275 | treatment, |
Yuta HIGUCHI | 051be02 | 2017-01-13 18:11:33 -0800 | [diff] [blame] | 276 | resources, |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 277 | links, |
| 278 | ingressPoints, |
| 279 | egressPoints, |
| 280 | constraints, |
Nicholas Dean | 126b8af | 2016-07-18 14:43:13 -0700 | [diff] [blame] | 281 | priority, |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 282 | egressTreatmentFlag, |
| 283 | cost |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 284 | ); |
| 285 | } |
| 286 | } |
| 287 | |
Ray Milkey | ebc5d22 | 2015-03-18 15:45:36 -0700 | [diff] [blame] | 288 | /** |
Ray Milkey | e668408 | 2014-10-16 16:59:47 -0700 | [diff] [blame] | 289 | * Returns the set of links that represent the network connections needed |
| 290 | * by this intent. |
| 291 | * |
| 292 | * @return Set of links for the network hops needed by this intent |
| 293 | */ |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 294 | public Set<Link> links() { |
| 295 | return links; |
| 296 | } |
| 297 | |
Jonathan Hart | 6b2ffc3 | 2014-10-18 02:09:22 -0700 | [diff] [blame] | 298 | /** |
Pavlin Radoslavov | 2811c40 | 2015-02-25 14:30:17 -0800 | [diff] [blame] | 299 | * Returns the ingress points of the intent. |
Jonathan Hart | 6b2ffc3 | 2014-10-18 02:09:22 -0700 | [diff] [blame] | 300 | * |
Pavlin Radoslavov | 2811c40 | 2015-02-25 14:30:17 -0800 | [diff] [blame] | 301 | * @return the ingress points |
| 302 | */ |
| 303 | public Set<ConnectPoint> ingressPoints() { |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 304 | if (this.ingressPoints == null) { |
| 305 | return null; |
| 306 | } |
| 307 | return ingressPoints.stream() |
| 308 | .map(FilteredConnectPoint::connectPoint) |
| 309 | .collect(Collectors.toSet()); |
Pavlin Radoslavov | 2811c40 | 2015-02-25 14:30:17 -0800 | [diff] [blame] | 310 | } |
| 311 | |
| 312 | /** |
| 313 | * Returns the egress points of the intent. |
| 314 | * |
| 315 | * @return the egress points |
Jonathan Hart | 6b2ffc3 | 2014-10-18 02:09:22 -0700 | [diff] [blame] | 316 | */ |
Michele Santuari | 4a33807 | 2014-11-05 18:38:55 +0100 | [diff] [blame] | 317 | public Set<ConnectPoint> egressPoints() { |
Yi Tseng | 2a81c9d | 2016-09-14 10:14:24 -0700 | [diff] [blame] | 318 | if (this.egressPoints == null) { |
| 319 | return null; |
| 320 | } |
| 321 | return egressPoints.stream() |
| 322 | .map(FilteredConnectPoint::connectPoint) |
| 323 | .collect(Collectors.toSet()); |
| 324 | } |
| 325 | |
| 326 | /** |
| 327 | * Returns the filtered ingress points of the intent. |
| 328 | * |
| 329 | * @return the ingress points |
| 330 | */ |
| 331 | public Set<FilteredConnectPoint> filteredIngressPoints() { |
| 332 | return ingressPoints; |
| 333 | } |
| 334 | |
| 335 | /** |
| 336 | * Returns the egress points of the intent. |
| 337 | * |
| 338 | * @return the egress points |
| 339 | */ |
| 340 | public Set<FilteredConnectPoint> filteredEgressPoints() { |
Michele Santuari | 4a33807 | 2014-11-05 18:38:55 +0100 | [diff] [blame] | 341 | return egressPoints; |
Jonathan Hart | 6b2ffc3 | 2014-10-18 02:09:22 -0700 | [diff] [blame] | 342 | } |
| 343 | |
Nicholas Dean | 126b8af | 2016-07-18 14:43:13 -0700 | [diff] [blame] | 344 | /** |
| 345 | * Returns whether treatment should be applied on egress. |
| 346 | * |
| 347 | * @return the egress treatment flag |
| 348 | */ |
| 349 | public boolean applyTreatmentOnEgress() { |
| 350 | return egressTreatmentFlag; |
| 351 | } |
| 352 | |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 353 | /** |
| 354 | * Returns the cost of the links of this intent. |
| 355 | * |
| 356 | * @return the cost of the links |
| 357 | */ |
| 358 | public double cost() { |
| 359 | return cost; |
| 360 | } |
| 361 | |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 362 | @Override |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 363 | public String toString() { |
| 364 | return MoreObjects.toStringHelper(getClass()) |
| 365 | .add("id", id()) |
Ray Milkey | c357381 | 2015-02-09 09:18:34 -0800 | [diff] [blame] | 366 | .add("key", key()) |
Thomas Vachuska | e291c84 | 2014-10-21 02:52:38 -0700 | [diff] [blame] | 367 | .add("appId", appId()) |
Ray Milkey | c24cde3 | 2015-03-10 18:20:18 -0700 | [diff] [blame] | 368 | .add("priority", priority()) |
Jonathan Hart | 23b5a76 | 2015-01-26 14:47:33 -0800 | [diff] [blame] | 369 | .add("resources", resources()) |
Thomas Vachuska | e291c84 | 2014-10-21 02:52:38 -0700 | [diff] [blame] | 370 | .add("selector", selector()) |
| 371 | .add("treatment", treatment()) |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 372 | .add("links", links()) |
Pavlin Radoslavov | 2811c40 | 2015-02-25 14:30:17 -0800 | [diff] [blame] | 373 | .add("ingress", ingressPoints()) |
Michele Santuari | 4a33807 | 2014-11-05 18:38:55 +0100 | [diff] [blame] | 374 | .add("egress", egressPoints()) |
Pier Ventre | 27d4257 | 2016-08-29 17:37:08 -0700 | [diff] [blame] | 375 | .add("treatementOnEgress", applyTreatmentOnEgress()) |
Pier Ventre | ffe88d6 | 2016-10-13 14:34:40 -0700 | [diff] [blame] | 376 | .add("cost", cost()) |
Ray Milkey | 0742ec9 | 2014-10-13 08:39:55 -0700 | [diff] [blame] | 377 | .toString(); |
| 378 | } |
Pier Ventre | 647138f | 2016-08-26 17:32:44 -0700 | [diff] [blame] | 379 | } |