YANG revision dates mass-update
[bgpcep.git] / bgp / rib-impl / src / main / java / org / opendaylight / protocol / bgp / rib / impl / BGPClientSessionNegotiator.java
index 625b93eabef036751e5db682916532624c0a4362..9295ab0432c8947567827ac51d8104664bff9eb4 100644 (file)
@@ -11,11 +11,11 @@ import io.netty.channel.Channel;
 import io.netty.util.concurrent.Promise;
 import org.opendaylight.protocol.bgp.rib.impl.spi.BGPPeerRegistry;
 import org.opendaylight.protocol.bgp.rib.impl.spi.BGPSessionPreferences;
-import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Ipv4Address;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.Open;
+import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.Open;
 
 /**
- * Client negotiator. Validates established connections using BGPClientSessionValidator
+ * Client negotiator. Validates established connections using BGPClientSessionValidator.
  */
 public final class BGPClientSessionNegotiator extends AbstractBGPSessionNegotiator {
 
@@ -25,12 +25,12 @@ public final class BGPClientSessionNegotiator extends AbstractBGPSessionNegotiat
     }
 
     @Override
-    protected Ipv4Address getDestinationId(final Open openMsg, final BGPSessionPreferences preferences) {
+    protected Ipv4AddressNoZone getDestinationId(final Open openMsg, final BGPSessionPreferences preferences) {
         return preferences.getBgpId();
     }
 
     @Override
-    protected Ipv4Address getSourceId(final Open openMsg, final BGPSessionPreferences preferences) {
+    protected Ipv4AddressNoZone getSourceId(final Open openMsg, final BGPSessionPreferences preferences) {
         return openMsg.getBgpIdentifier();
     }
 }