738fb56404b7aeca30f816fb2e5f3479a2089404
[bgpcep.git] / bgp / path-selection-mode / src / main / java / org / opendaylight / protocol / bgp / mode / api / BestPathState.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.protocol.bgp.mode.api;
10
11 import javax.annotation.Nonnull;
12 import javax.annotation.Nullable;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev171207.path.attributes.Attributes;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919.BgpOrigin;
15
16 public interface BestPathState {
17     @Nullable
18     Long getLocalPref();
19
20     @Nullable
21     Long getMultiExitDisc();
22
23     @Nullable
24     BgpOrigin getOrigin();
25
26     long getPeerAs();
27
28     int getAsPathLength();
29
30     @Nonnull
31     Attributes getAttributes();
32 }