return false; if (!Objects.equals(_ebgpMultihop, other.getEbgpMultihop())) { return false;
public NeighborsBuilder(Neighbors base) { if (base.getKey() == null) { this._key = new NeighborsKey( base.getAddress() ); this._address = base.getAddress(); } else { this._key = base.getKey(); this._address = _key.getAddress(); } this._addressFamilies = base.getAddressFamilies(); this._ebgpMultihop = base.getEbgpMultihop(); this._remoteAs = base.getRemoteAs(); this._updateSource = base.getUpdateSource(); if (base instanceof NeighborsImpl) { NeighborsImpl impl = (NeighborsImpl) base; if (!impl.augmentation.isEmpty()) { this.augmentation = new HashMap<>(impl.augmentation); } } else if (base instanceof AugmentationHolder) { @SuppressWarnings("unchecked") AugmentationHolder<org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.Neighbors> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.ericsson.params.xml.ns.yang.ebgp.rev150901.bgp.Neighbors>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
ps.printf("\t%s\n\t\t%-16s %d\n", nbr.getAddress().getValue(), ASSTR, nbr.getRemoteAs().intValue()); EbgpMultihop en = nbr.getEbgpMultihop(); if (en != null) { ps.printf("\t\t%-16s %d\n", EBSTR, en.getNhops().intValue());
ps.printf("\t%s\n\t\t%-16s %d\n", nbr.getAddress().getValue(), ASSTR, nbr.getRemoteAs().intValue()); EbgpMultihop en = nbr.getEbgpMultihop(); if (en != null) { ps.printf("\t\t%-16s %d\n", EBSTR, en.getNhops().intValue());
continue; EbgpMultihop en = nbr.getEbgpMultihop(); if (en != null) { try {
continue; EbgpMultihop en = nbr.getEbgpMultihop(); if (en != null) { try {