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.openconfig.routing.policy.spi;
10 import javax.annotation.Nonnull;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev180329.ClusterIdentifier;
15 * Contains basic attributes of route entry (AS / originator id / cluster id).
17 public interface RouteEntryBaseAttributes {
26 * Returns originator id.
28 * @return originator Id
31 Ipv4Address getOriginatorId();
34 * Returns cluster identifier.
36 * @return Cluster Identifier
39 ClusterIdentifier getClusterId();