<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bgp</artifactId>
+ <artifactId>features-bgp</artifactId>
<classifier>features</classifier>
<type>xml</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bmp</artifactId>
+ <artifactId>features-bmp</artifactId>
<classifier>features</classifier>
<type>xml</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bgpcep-extras</artifactId>
+ <artifactId>features-bgpcep-extras</artifactId>
<classifier>features</classifier>
<type>xml</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-pcep</artifactId>
+ <artifactId>features-pcep</artifactId>
<classifier>features</classifier>
<type>xml</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-rsvp</artifactId>
+ <artifactId>features-rsvp</artifactId>
<classifier>features</classifier>
<type>xml</type>
<version>${project.version}</version>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
this.util.create(10, -2);
fail("Semantics under range.");
} catch (final IllegalArgumentException e) {
- assertEquals("Invalid range: -2, expected: [[0‥65535]].", e.getMessage());
+ assertEquals("Invalid range: -2, expected: [[0..65535]].", e.getMessage());
}
try {
this.util.create(10, 65536);
fail("Semantics above range.");
} catch (final IllegalArgumentException e) {
- assertEquals("Invalid range: 65536, expected: [[0‥65535]].", e.getMessage());
+ assertEquals("Invalid range: 65536, expected: [[0..65535]].", e.getMessage());
}
}
@Test
public void testBGPPeerAcceptorImpl() throws Exception {
final InetSocketAddress inetServerAddress = InetSocketAddressUtil.getRandomLoopbackInetSocketAddress();
- final IpAddress serverIpAddress = new IpAddress(new Ipv4Address(InetSocketAddressUtil.toHostAndPort(inetServerAddress).getHostText()));
+ final IpAddress serverIpAddress = new IpAddress(new Ipv4Address(InetSocketAddressUtil.toHostAndPort(inetServerAddress).getHost()));
final PortNumber portNumber = new PortNumber(InetSocketAddressUtil.toHostAndPort(inetServerAddress).getPort());
this.registry.addPeer(serverIpAddress, this.serverListener, createPreferences(inetServerAddress));
bgpPeerAcceptor.close();
}
-}
\ No newline at end of file
+}
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
Mockito.doReturn(checkedFuture).when(this.domDW).submit();
Mockito.doReturn(null).when(checkedFuture).checkedGet();
Mockito.doReturn(null).when(checkedFuture).get();
+ Mockito.doReturn(true).when(checkedFuture).isDone();
Mockito.doReturn("checkedFuture").when(checkedFuture).toString();
Mockito.doAnswer(invocationOnMock->{
this.singletonService.closeServiceInstance();
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>bundle-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>karaf4-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath />
</parent>
<!-- Project local feautures -->
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bgp</artifactId>
+ <artifactId>features-bgp</artifactId>
<classifier>features</classifier>
<version>${project.version}</version>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bmp</artifactId>
+ <artifactId>features-bmp</artifactId>
<classifier>features</classifier>
<version>${project.version}</version>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bgpcep-extras</artifactId>
+ <artifactId>features-bgpcep-extras</artifactId>
<classifier>features</classifier>
<version>${project.version}</version>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-pcep</artifactId>
+ <artifactId>features-pcep</artifactId>
<classifier>features</classifier>
<version>${project.version}</version>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-rsvp</artifactId>
+ <artifactId>features-rsvp</artifactId>
<classifier>features</classifier>
<version>${project.version}</version>
<type>xml</type>
</dependency>
<dependency>
<groupId>org.opendaylight.netconf</groupId>
- <artifactId>features4-restconf</artifactId>
+ <artifactId>features-restconf</artifactId>
<classifier>features</classifier>
<version>${restconfVersion}</version>
<type>xml</type>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>feature-repo-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bgp</artifactId>
+ <artifactId>features-bgp</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>feature</packaging>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
</dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
- <artifactId>odl4-netty-4</artifactId>
+ <artifactId>odl-netty-4</artifactId>
<type>xml</type>
<classifier>features</classifier>
</dependency>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<packaging>pom</packaging>
<modules>
- <module>features4-bgp</module>
+ <module>features-bgp</module>
<module>odl-bgpcep-bgp</module>
<module>odl-bgpcep-bgp-dependencies</module>
<module>odl-bgpcep-config-files</module>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>feature-repo-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bgpcep-extras</artifactId>
+ <artifactId>features-bgpcep-extras</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>feature</packaging>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
</dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
- <artifactId>odl4-netty-4</artifactId>
+ <artifactId>odl-netty-4</artifactId>
<type>xml</type>
<classifier>features</classifier>
</dependency>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<packaging>pom</packaging>
<modules>
- <module>features4-bgpcep-extras</module>
+ <module>features-bgpcep-extras</module>
<module>odl-bgpcep-extras-dependencies</module>
<module>odl-bgpcep-data-change-counter</module>
</modules>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>feature-repo-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-bmp</artifactId>
+ <artifactId>features-bmp</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>feature</packaging>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<packaging>pom</packaging>
<modules>
- <module>features4-bmp</module>
+ <module>features-bmp</module>
<module>odl-bgpcep-bmp</module>
</modules>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>feature-repo-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-pcep</artifactId>
+ <artifactId>features-pcep</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>feature</packaging>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<packaging>pom</packaging>
<modules>
- <module>features4-pcep</module>
+ <module>features-pcep</module>
<module>odl-bgpcep-pcep</module>
<module>odl-bgpcep-pcep-dependencies</module>
<module>odl-bgpcep-pcep-api</module>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>feature-repo-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.bgpcep</groupId>
- <artifactId>features4-rsvp</artifactId>
+ <artifactId>features-rsvp</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>feature</packaging>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
</dependency>
<dependency>
<groupId>org.opendaylight.odlparent</groupId>
- <artifactId>odl4-netty-4</artifactId>
+ <artifactId>odl-netty-4</artifactId>
<type>xml</type>
<classifier>features</classifier>
</dependency>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>single-feature-parent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<packaging>pom</packaging>
<modules>
- <module>features4-rsvp</module>
+ <module>features-rsvp</module>
<module>odl-bgpcep-rsvp</module>
<module>odl-bgpcep-rsvp-dependencies</module>
</modules>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath></relativePath>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
final PCEPSessionProposalFactory proposal = new BasePCEPSessionProposalFactory((short) 120, (short) 30, caps);
final PCEPSessionNegotiatorFactory snf = new DefaultPCEPSessionNegotiatorFactory(proposal, 0);
final HostAndPort serverHostAndPort = HostAndPort.fromString(args[0]);
- final InetSocketAddress serverAddr = new InetSocketAddress(serverHostAndPort.getHostText(), serverHostAndPort
+ final InetSocketAddress serverAddr = new InetSocketAddress(serverHostAndPort.getHost(), serverHostAndPort
.getPortOrDefault(12345));
final InetSocketAddress clientAddr = InetSocketAddressUtil.getRandomLoopbackInetSocketAddress(0);
if (f == null) {
return OperationResults.createUnsent(PCEPErrors.LSP_INTERNAL_ERROR).future();
}
- return Futures.transform(f, new ResyncLspFunction(input));
+ return Futures.transformAsync(f, new ResyncLspFunction(input));
}
private ListenableFuture<OperationResult> triggerResyncronization(final TriggerSyncArgs input) {
if (f == null) {
return OperationResults.createUnsent(PCEPErrors.LSP_INTERNAL_ERROR).future();
}
- return Futures.transform(f, new AddFunction(input, lsp));
+ return Futures.transformAsync(f, new AddFunction(input, lsp));
}
@Override
if (f == null) {
return OperationResults.createUnsent(PCEPErrors.LSP_INTERNAL_ERROR).future();
}
- return Futures.transform(f, (AsyncFunction<Optional<ReportedLsp>, OperationResult>) rep -> {
+ return Futures.transformAsync(f, rep -> {
final Lsp reportedLsp = validateReportedLsp(rep, input);
if (reportedLsp == null) {
return OperationResults.createUnsent(PCEPErrors.UNKNOWN_PLSP_ID).future();
if (f == null) {
return OperationResults.createUnsent(PCEPErrors.LSP_INTERNAL_ERROR).future();
}
- return Futures.transform(f, new UpdateFunction(input));
+ return Futures.transformAsync(f, new UpdateFunction(input));
}
@Override
doNothing().when(this.rTxMock).close();
doReturn(this.listenableFutureMock).when(this.rTxMock)
.read(any(LogicalDatastoreType.class), any(InstanceIdentifier.class));
-
+ doReturn(true).when(this.listenableFutureMock).isDone();
doAnswer(invocation -> {
final Runnable runnable = (Runnable) invocation.getArguments()[0];
runnable.run();
}).when(listener).ensureLspOperational(Mockito.any(EnsureLspOperationalInput.class));
Mockito.doNothing().when(listener).close();
Mockito.doReturn(this.instruction).when(this.instructionFuture).get();
+ Mockito.doReturn(true).when(this.instructionFuture).isDone();
Mockito.doNothing().when(this.instruction).executionCompleted(Mockito.any(InstructionStatus.class), Mockito.any(Details.class));
Mockito.doReturn(this.instructionFuture).when(this.scheduler).scheduleInstruction(Mockito.any(SubmitInstructionInput.class));
this.topologyProgramming = new TopologyProgramming(this.scheduler, this.manager);
return TunnelProgrammingTest.this.futureRemoveLspOutput;
}).when(this.topologyService).removeLsp(Mockito.any(RemoveLspInput.class));
Mockito.doReturn(this.instruction).when(this.instructionFuture).get();
+ Mockito.doReturn(true).when(this.instructionFuture).isDone();
Mockito.doReturn(this.instructionFuture).when(this.scheduler).scheduleInstruction(Mockito.any(SubmitInstructionInput.class));
createInitialTopology();
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<!-- Common infra -->
<module>concepts</module>
+ <module>dependency-version-management</module>
<module>util</module>
<!-- Subsystems -->
<module>testtool-util</module>
<module>data-change-counter-controller-config</module>
- <module>distribution-karaf</module>
- <module>dependency-version-management</module>
-
+ <!-- FIXME: re-enable this:
+ <module>distribution-karaf</module-->
</modules>
<build>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>
public static InetSocketAddress getInetSocketAddress(final String hostPortString, final Integer defaultPort) {
final HostAndPort hostAndPort = HostAndPort.fromString(hostPortString);
if (defaultPort != null) {
- return new InetSocketAddress(hostAndPort.getHostText(), hostAndPort.getPortOrDefault(defaultPort));
+ return new InetSocketAddress(hostAndPort.getHost(), hostAndPort.getPortOrDefault(defaultPort));
}
- return new InetSocketAddress(hostAndPort.getHostText(), hostAndPort.getPort());
+ return new InetSocketAddress(hostAndPort.getHost(), hostAndPort.getPort());
}
public static InetSocketAddress getRandomLoopbackInetSocketAddress(final int port) {
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>odlparent-lite</artifactId>
- <version>1.9.0</version>
+ <version>2.0.0</version>
<relativePath/>
</parent>