public void onInstanceCreate() {
if (appProvider != null) {
appProvider.writeConfiguration(new BGPAppPeerInstanceConfiguration(identifier, getApplicationRibId().getValue(),
- Rev130715Uitl.getIpv4Address(getBgpPeerId())));
+ Rev130715Util.getIpv4Address(getBgpPeerId())));
}
}
@Override
public void onInstanceCreate() {
if (neighborProvider != null) {
- neighborProvider.writeConfiguration(new BGPPeerInstanceConfiguration(identifier, Rev130715Uitl.getIpvAddress(getNormalizedHost()),
- Rev130715Uitl.getPort(getPort().getValue()), getHoldtimer(), getPeerRole(), getInitiateConnection(),
- getAdvertizedTableDependency(), Rev130715Uitl.getASNumber(getAsOrDefault(getRibDependency()).getValue()),
+ neighborProvider.writeConfiguration(new BGPPeerInstanceConfiguration(identifier, Rev130715Util.getIpvAddress(getNormalizedHost()),
+ Rev130715Util.getPort(getPort().getValue()), getHoldtimer(), getPeerRole(), getInitiateConnection(),
+ getAdvertizedTableDependency(), Rev130715Util.getASNumber(getAsOrDefault(getRibDependency()).getValue()),
getOptionaPassword(getPassword())));
}
}
public void onInstanceCreate() {
if (globalWriter != null) {
final List<BgpTableType> tableDependency = getLocalTableDependency();
- final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber as = Rev130715Uitl.getASNumber(getLocalAs());
- final Ipv4Address bgpRibId = Rev130715Uitl.getIpv4Address(getBgpRibId());
- final Ipv4Address clusterId = Rev130715Uitl.getIpv4Address(getClusterId());
+ final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.AsNumber as = Rev130715Util.getASNumber(getLocalAs());
+ final Ipv4Address bgpRibId = Rev130715Util.getIpv4Address(getBgpRibId());
+ final Ipv4Address clusterId = Rev130715Util.getIpv4Address(getClusterId());
final BGPRibInstanceConfiguration bgpRibConfig = new BGPRibInstanceConfiguration(identifier, as, bgpRibId, clusterId, tableDependency);
globalWriter.writeConfiguration(bgpRibConfig);
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber;
-public final class Rev130715Uitl {
+public final class Rev130715Util {
+ private Rev130715Util() {
+ throw new UnsupportedOperationException();
+ }
+
public static Ipv4Address getIpv4Address(final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Ipv4Address ipv4) {
if(ipv4 == null) {
return null;