2 * Copyright (c) 2017 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.pcep;
10 import javax.annotation.Nonnull;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.LocalPref;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.Messages;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.stats.rev171113.pcep.session.state.PeerPref;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.open.object.Open;
17 * Exposes Session state.
19 public interface PCEPSessionState {
21 * The statistics of PCEP received/sent messages from the PCE point of view.
25 @Nonnull Messages getMessages();
28 * The local (PCE) preferences.
30 * @return local preferences
32 @Nonnull LocalPref getLocalPref();
35 * The remote peer (PCC) preferences.
37 * @return peer preferences
39 @Nonnull PeerPref getPeerPref();
42 * The local (PCE) Open Message.
46 @Nonnull Open getLocalOpen();