2 * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.protocol.bgp.rib.spi.policy;
10 import javax.annotation.Nonnull;
11 import javax.annotation.Nullable;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.PeerId;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.PeerRole;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919.ClusterIdentifier;
17 * Contains Peer destiny information for import route entry.
19 public interface BGPRouteEntryImportParameters {
21 * Peer id of Peer route entry announcer.
23 * @return peer Role of announcer Peer
26 PeerRole getFromPeerRole();
29 * Peer id of Peer route entry announcer.
31 * @return peer Id of announcer Peer
34 PeerId getFromPeerId();
37 * Peer id of Peer route entry announcer.
39 * @return peer Id of announcer Peer
42 ClusterIdentifier getFromClusterId();