Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 1 | /* |
Brian O'Connor | 5ab426f | 2016-04-09 01:19:45 -0700 | [diff] [blame] | 2 | * Copyright 2015-present Open Networking Laboratory |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [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 | */ |
| 16 | package org.onosproject.provider.pcep.tunnel.impl; |
| 17 | |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 18 | import static org.hamcrest.MatcherAssert.assertThat; |
| 19 | import static org.hamcrest.Matchers.nullValue; |
| 20 | import static org.hamcrest.core.Is.is; |
| 21 | import static org.hamcrest.core.IsNot.not; |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 22 | import static org.onosproject.net.DefaultAnnotations.EMPTY; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 23 | import static org.onosproject.provider.pcep.tunnel.impl.LspType.WITH_SIGNALLING; |
| 24 | import static org.onosproject.provider.pcep.tunnel.impl.LspType.SR_WITHOUT_SIGNALLING; |
| 25 | import static org.onosproject.provider.pcep.tunnel.impl.LspType.WITHOUT_SIGNALLING_AND_WITHOUT_SR; |
| 26 | import static org.onosproject.provider.pcep.tunnel.impl.PcepAnnotationKeys.LSP_SIG_TYPE; |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 27 | |
| 28 | import java.io.IOException; |
| 29 | import java.util.ArrayList; |
| 30 | import java.util.List; |
| 31 | |
| 32 | import org.junit.After; |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 33 | import org.junit.Before; |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 34 | import org.junit.Test; |
| 35 | import org.onlab.packet.IpAddress; |
chengfan | 2fff70f | 2015-08-24 18:20:19 -0500 | [diff] [blame] | 36 | import org.onosproject.cfg.ComponentConfigAdapter; |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 37 | import org.onosproject.core.DefaultGroupId; |
| 38 | import org.onosproject.incubator.net.tunnel.DefaultTunnel; |
| 39 | import org.onosproject.incubator.net.tunnel.IpTunnelEndPoint; |
| 40 | import org.onosproject.incubator.net.tunnel.Tunnel; |
| 41 | import org.onosproject.incubator.net.tunnel.TunnelId; |
| 42 | import org.onosproject.incubator.net.tunnel.TunnelName; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 43 | import org.onosproject.net.Annotations; |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 44 | import org.onosproject.net.ConnectPoint; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 45 | import org.onosproject.net.DefaultAnnotations; |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 46 | import org.onosproject.net.DefaultLink; |
| 47 | import org.onosproject.net.DefaultPath; |
| 48 | import org.onosproject.net.IpElementId; |
| 49 | import org.onosproject.net.Link; |
| 50 | import org.onosproject.net.Path; |
| 51 | import org.onosproject.net.PortNumber; |
| 52 | import org.onosproject.net.provider.ProviderId; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 53 | import org.onosproject.pcepio.types.StatefulIPv4LspIdentifiersTlv; |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 54 | |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 55 | /** |
| 56 | * Test for PCEP release tunnel. |
| 57 | */ |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 58 | public class PcepReleaseTunnelProviderTest { |
| 59 | |
Brian Stanke | 9a10897 | 2016-04-11 15:25:17 -0400 | [diff] [blame] | 60 | private static final String PROVIDER_ID = "org.onosproject.provider.tunnel.pcep"; |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 61 | private PcepTunnelProvider tunnelProvider = new PcepTunnelProvider(); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 62 | private final TunnelProviderRegistryAdapter registry = new TunnelProviderRegistryAdapter(); |
| 63 | private final PcepClientControllerAdapter controller = new PcepClientControllerAdapter(); |
| 64 | private final PcepControllerAdapter ctl = new PcepControllerAdapter(); |
| 65 | private final PcepTunnelApiMapper pcepTunnelAPIMapper = new PcepTunnelApiMapper(); |
chengfan | 2fff70f | 2015-08-24 18:20:19 -0500 | [diff] [blame] | 66 | private final TunnelServiceAdapter tunnelService = new TunnelServiceAdapter(); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 67 | |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 68 | @Before |
| 69 | public void setUp() throws IOException { |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 70 | tunnelProvider.tunnelProviderRegistry = registry; |
| 71 | tunnelProvider.pcepClientController = controller; |
| 72 | tunnelProvider.controller = ctl; |
chengfan | 2fff70f | 2015-08-24 18:20:19 -0500 | [diff] [blame] | 73 | tunnelProvider.tunnelService = tunnelService; |
Jonathan Hart | 51539b8 | 2015-10-29 09:53:04 -0700 | [diff] [blame] | 74 | tunnelProvider.pcepTunnelApiMapper = pcepTunnelAPIMapper; |
chengfan | 2fff70f | 2015-08-24 18:20:19 -0500 | [diff] [blame] | 75 | tunnelProvider.cfgService = new ComponentConfigAdapter(); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 76 | tunnelProvider.activate(); |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 77 | } |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 78 | |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 79 | /** |
| 80 | * Release tunnel with negotiated capability. |
| 81 | */ |
| 82 | @Test |
| 83 | public void testCasePcepReleaseTunnel() { |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 84 | Tunnel tunnel; |
| 85 | Path path; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 86 | List<Link> links = new ArrayList<>(); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 87 | |
| 88 | ProviderId pid = new ProviderId("pcep", PROVIDER_ID); |
| 89 | |
| 90 | IpAddress srcIp = IpAddress.valueOf(0xB6024E20); |
| 91 | IpElementId srcElementId = IpElementId.ipElement(srcIp); |
| 92 | |
| 93 | IpAddress dstIp = IpAddress.valueOf(0xB6024E21); |
| 94 | IpElementId dstElementId = IpElementId.ipElement(dstIp); |
| 95 | |
| 96 | IpTunnelEndPoint ipTunnelEndPointSrc; |
| 97 | ipTunnelEndPointSrc = IpTunnelEndPoint.ipTunnelPoint(srcIp); |
| 98 | |
| 99 | IpTunnelEndPoint ipTunnelEndPointDst; |
| 100 | ipTunnelEndPointDst = IpTunnelEndPoint.ipTunnelPoint(dstIp); |
| 101 | |
| 102 | ConnectPoint src = new ConnectPoint(srcElementId, PortNumber.portNumber(10023)); |
| 103 | |
| 104 | ConnectPoint dst = new ConnectPoint(dstElementId, PortNumber.portNumber(10023)); |
| 105 | |
Ray Milkey | 2693bda | 2016-01-22 16:08:14 -0800 | [diff] [blame] | 106 | Link link = DefaultLink.builder().providerId(pid).src(src).dst(dst) |
| 107 | .type(Link.Type.DIRECT).build(); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 108 | links.add(link); |
| 109 | |
| 110 | path = new DefaultPath(pid, links, 20, EMPTY); |
| 111 | |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 112 | Annotations annotations = DefaultAnnotations.builder() |
| 113 | .set(LSP_SIG_TYPE, WITH_SIGNALLING.name()) |
| 114 | .build(); |
| 115 | |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 116 | tunnel = new DefaultTunnel(pid, ipTunnelEndPointSrc, ipTunnelEndPointDst, Tunnel.Type.MPLS, |
Brian Stanke | 9a10897 | 2016-04-11 15:25:17 -0400 | [diff] [blame] | 117 | new DefaultGroupId(0), TunnelId.valueOf("1"), TunnelName.tunnelName("T123"), |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 118 | path, annotations); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 119 | |
| 120 | // for releasing tunnel tunnel should exist in db |
| 121 | PcepTunnelData pcepTunnelData = new PcepTunnelData(tunnel, path, RequestType.DELETE); |
| 122 | pcepTunnelData.setPlspId(1); |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 123 | StatefulIPv4LspIdentifiersTlv tlv = new StatefulIPv4LspIdentifiersTlv(0, (short) 1, (short) 2, 3, 4); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 124 | pcepTunnelData.setStatefulIpv4IndentifierTlv(tlv); |
Jonathan Hart | 51539b8 | 2015-10-29 09:53:04 -0700 | [diff] [blame] | 125 | tunnelProvider.pcepTunnelApiMapper.addToTunnelIdMap(pcepTunnelData); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 126 | |
Jonathan Hart | 51539b8 | 2015-10-29 09:53:04 -0700 | [diff] [blame] | 127 | tunnelProvider.pcepTunnelApiMapper.handleCreateTunnelRequestQueue(1, pcepTunnelData); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 128 | |
| 129 | tunnelProvider.releaseTunnel(tunnel); |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 130 | assertThat(tunnelProvider.pcepTunnelApiMapper, not(nullValue())); |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 131 | } |
| 132 | |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 133 | /** |
| 134 | * Doesn't send initiate message because PCC doesn't supports PCInitiate and stateful capability. |
| 135 | */ |
| 136 | @Test |
| 137 | public void testCasePcepReleaseTunnel2() { |
| 138 | Tunnel tunnel; |
| 139 | Path path; |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 140 | List<Link> links = new ArrayList<>(); |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 141 | |
| 142 | ProviderId pid = new ProviderId("pcep", PROVIDER_ID); |
| 143 | |
| 144 | IpAddress srcIp = IpAddress.valueOf(0xB6024E22); |
| 145 | IpElementId srcElementId = IpElementId.ipElement(srcIp); |
| 146 | |
| 147 | IpAddress dstIp = IpAddress.valueOf(0xB6024E21); |
| 148 | IpElementId dstElementId = IpElementId.ipElement(dstIp); |
| 149 | |
| 150 | IpTunnelEndPoint ipTunnelEndPointSrc; |
| 151 | ipTunnelEndPointSrc = IpTunnelEndPoint.ipTunnelPoint(srcIp); |
| 152 | |
| 153 | IpTunnelEndPoint ipTunnelEndPointDst; |
| 154 | ipTunnelEndPointDst = IpTunnelEndPoint.ipTunnelPoint(dstIp); |
| 155 | |
| 156 | ConnectPoint src = new ConnectPoint(srcElementId, PortNumber.portNumber(10023)); |
| 157 | |
| 158 | ConnectPoint dst = new ConnectPoint(dstElementId, PortNumber.portNumber(10023)); |
| 159 | |
| 160 | Link link = DefaultLink.builder().providerId(pid).src(src).dst(dst) |
| 161 | .type(Link.Type.DIRECT).build(); |
| 162 | links.add(link); |
| 163 | |
| 164 | path = new DefaultPath(pid, links, 20, EMPTY); |
| 165 | |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 166 | Annotations annotations = DefaultAnnotations.builder() |
| 167 | .set(LSP_SIG_TYPE, WITH_SIGNALLING.name()) |
| 168 | .build(); |
| 169 | |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 170 | tunnel = new DefaultTunnel(pid, ipTunnelEndPointSrc, ipTunnelEndPointDst, Tunnel.Type.MPLS, |
Brian Stanke | 9a10897 | 2016-04-11 15:25:17 -0400 | [diff] [blame] | 171 | new DefaultGroupId(0), TunnelId.valueOf("1"), TunnelName.tunnelName("T123"), |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 172 | path, annotations); |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 173 | |
| 174 | // for releasing tunnel tunnel should exist in db |
| 175 | PcepTunnelData pcepTunnelData = new PcepTunnelData(tunnel, path, RequestType.DELETE); |
| 176 | pcepTunnelData.setPlspId(1); |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 177 | StatefulIPv4LspIdentifiersTlv tlv = new StatefulIPv4LspIdentifiersTlv(0, (short) 1, (short) 2, 3, 4); |
Priyanka B | d2b2888 | 2016-04-04 16:57:04 +0530 | [diff] [blame] | 178 | pcepTunnelData.setStatefulIpv4IndentifierTlv(tlv); |
| 179 | tunnelProvider.pcepTunnelApiMapper.addToTunnelIdMap(pcepTunnelData); |
| 180 | |
| 181 | tunnelProvider.pcepTunnelApiMapper.handleCreateTunnelRequestQueue(1, pcepTunnelData); |
| 182 | |
| 183 | tunnelProvider.releaseTunnel(tunnel); |
| 184 | assertThat(tunnelProvider.pcepTunnelApiMapper.checkFromTunnelRequestQueue(1), is(false)); |
| 185 | } |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 186 | |
Avantika-Huawei | 56c1184 | 2016-04-28 00:56:56 +0530 | [diff] [blame] | 187 | /** |
| 188 | * Tests releasing SR based tunnel. |
| 189 | */ |
| 190 | @Test |
| 191 | public void testCasePcepReleaseSrTunnel() { |
| 192 | Tunnel tunnel; |
| 193 | Path path; |
| 194 | List<Link> links = new ArrayList<>(); |
| 195 | |
| 196 | ProviderId pid = new ProviderId("pcep", PROVIDER_ID); |
| 197 | |
| 198 | IpAddress srcIp = IpAddress.valueOf(0xB6024E20); |
| 199 | IpElementId srcElementId = IpElementId.ipElement(srcIp); |
| 200 | |
| 201 | IpAddress dstIp = IpAddress.valueOf(0xB6024E21); |
| 202 | IpElementId dstElementId = IpElementId.ipElement(dstIp); |
| 203 | |
| 204 | IpTunnelEndPoint ipTunnelEndPointSrc; |
| 205 | ipTunnelEndPointSrc = IpTunnelEndPoint.ipTunnelPoint(srcIp); |
| 206 | |
| 207 | IpTunnelEndPoint ipTunnelEndPointDst; |
| 208 | ipTunnelEndPointDst = IpTunnelEndPoint.ipTunnelPoint(dstIp); |
| 209 | |
| 210 | ConnectPoint src = new ConnectPoint(srcElementId, PortNumber.portNumber(10023)); |
| 211 | |
| 212 | ConnectPoint dst = new ConnectPoint(dstElementId, PortNumber.portNumber(10023)); |
| 213 | |
| 214 | Link link = DefaultLink.builder().providerId(pid).src(src).dst(dst) |
| 215 | .type(Link.Type.DIRECT).build(); |
| 216 | links.add(link); |
| 217 | |
| 218 | path = new DefaultPath(pid, links, 20, EMPTY); |
| 219 | |
| 220 | Annotations annotations = DefaultAnnotations.builder() |
| 221 | .set(LSP_SIG_TYPE, SR_WITHOUT_SIGNALLING.name()) |
| 222 | .build(); |
| 223 | |
| 224 | tunnel = new DefaultTunnel(pid, ipTunnelEndPointSrc, ipTunnelEndPointDst, Tunnel.Type.MPLS, |
| 225 | new DefaultGroupId(0), TunnelId.valueOf("1"), TunnelName.tunnelName("T123"), |
| 226 | path, annotations); |
| 227 | |
| 228 | // for releasing tunnel tunnel should exist in db |
| 229 | PcepTunnelData pcepTunnelData = new PcepTunnelData(tunnel, path, RequestType.DELETE); |
| 230 | pcepTunnelData.setPlspId(1); |
| 231 | StatefulIPv4LspIdentifiersTlv tlv = new StatefulIPv4LspIdentifiersTlv(0, (short) 1, (short) 2, 3, 4); |
| 232 | pcepTunnelData.setStatefulIpv4IndentifierTlv(tlv); |
| 233 | tunnelProvider.pcepTunnelApiMapper.addToTunnelIdMap(pcepTunnelData); |
| 234 | |
| 235 | tunnelProvider.pcepTunnelApiMapper.handleCreateTunnelRequestQueue(1, pcepTunnelData); |
| 236 | |
| 237 | tunnelProvider.releaseTunnel(tunnel); |
| 238 | assertThat(tunnelProvider.pcepTunnelApiMapper, not(nullValue())); |
| 239 | } |
| 240 | |
| 241 | /** |
| 242 | * Tests releasing tunnel without SR and without signalling. |
| 243 | */ |
| 244 | @Test |
| 245 | public void testCasePcepReleaseTunnelWithoutSigSr() { |
| 246 | Tunnel tunnel; |
| 247 | Path path; |
| 248 | List<Link> links = new ArrayList<>(); |
| 249 | |
| 250 | ProviderId pid = new ProviderId("pcep", PROVIDER_ID); |
| 251 | |
| 252 | IpAddress srcIp = IpAddress.valueOf(0xB6024E20); |
| 253 | IpElementId srcElementId = IpElementId.ipElement(srcIp); |
| 254 | |
| 255 | IpAddress dstIp = IpAddress.valueOf(0xB6024E21); |
| 256 | IpElementId dstElementId = IpElementId.ipElement(dstIp); |
| 257 | |
| 258 | IpTunnelEndPoint ipTunnelEndPointSrc; |
| 259 | ipTunnelEndPointSrc = IpTunnelEndPoint.ipTunnelPoint(srcIp); |
| 260 | |
| 261 | IpTunnelEndPoint ipTunnelEndPointDst; |
| 262 | ipTunnelEndPointDst = IpTunnelEndPoint.ipTunnelPoint(dstIp); |
| 263 | |
| 264 | ConnectPoint src = new ConnectPoint(srcElementId, PortNumber.portNumber(10023)); |
| 265 | |
| 266 | ConnectPoint dst = new ConnectPoint(dstElementId, PortNumber.portNumber(10023)); |
| 267 | |
| 268 | Link link = DefaultLink.builder().providerId(pid).src(src).dst(dst) |
| 269 | .type(Link.Type.DIRECT).build(); |
| 270 | links.add(link); |
| 271 | |
| 272 | path = new DefaultPath(pid, links, 20, EMPTY); |
| 273 | |
| 274 | Annotations annotations = DefaultAnnotations.builder() |
| 275 | .set(LSP_SIG_TYPE, WITHOUT_SIGNALLING_AND_WITHOUT_SR.name()) |
| 276 | .build(); |
| 277 | |
| 278 | tunnel = new DefaultTunnel(pid, ipTunnelEndPointSrc, ipTunnelEndPointDst, Tunnel.Type.MPLS, |
| 279 | new DefaultGroupId(0), TunnelId.valueOf("1"), TunnelName.tunnelName("T123"), |
| 280 | path, annotations); |
| 281 | |
| 282 | // for releasing tunnel tunnel should exist in db |
| 283 | PcepTunnelData pcepTunnelData = new PcepTunnelData(tunnel, path, RequestType.DELETE); |
| 284 | pcepTunnelData.setPlspId(1); |
| 285 | StatefulIPv4LspIdentifiersTlv tlv = new StatefulIPv4LspIdentifiersTlv(0, (short) 1, (short) 2, 3, 4); |
| 286 | pcepTunnelData.setStatefulIpv4IndentifierTlv(tlv); |
| 287 | tunnelProvider.pcepTunnelApiMapper.addToTunnelIdMap(pcepTunnelData); |
| 288 | |
| 289 | tunnelProvider.pcepTunnelApiMapper.handleCreateTunnelRequestQueue(1, pcepTunnelData); |
| 290 | |
| 291 | tunnelProvider.releaseTunnel(tunnel); |
| 292 | assertThat(tunnelProvider.pcepTunnelApiMapper, not(nullValue())); |
| 293 | } |
| 294 | |
Phanendra Manda | 972ee9e | 2015-08-21 19:08:20 +0530 | [diff] [blame] | 295 | @After |
| 296 | public void tearDown() throws IOException { |
| 297 | tunnelProvider.deactivate(); |
| 298 | tunnelProvider.controller = null; |
| 299 | tunnelProvider.pcepClientController = null; |
| 300 | tunnelProvider.tunnelProviderRegistry = null; |
| 301 | } |
| 302 | } |