2 * Copyright (c) 2016 Cisco Systems, Inc. and others. 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
9 package org.opendaylight.protocol.bgp.mode.api;
11 import com.google.common.primitives.UnsignedInteger;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.rib.rev171207.PeerId;
13 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
15 public interface BestPath {
20 * @return the routerId (UnsignedInteger)
22 UnsignedInteger getRouterId();
27 * @return the routerId (UnsignedInteger) converted to a PeerId
34 * @return the path attributes
36 ContainerNode getAttributes();