2 * Copyright (c) 2013 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.pcep.tlv;
11 import org.opendaylight.protocol.concepts.NetworkAddress;
12 import org.opendaylight.protocol.pcep.PCEPTlv;
13 import org.opendaylight.protocol.pcep.concepts.ExtendedTunnelIdentifier;
14 import org.opendaylight.protocol.pcep.concepts.LSPIdentifier;
15 import org.opendaylight.protocol.pcep.concepts.TunnelIdentifier;
18 * Interface defining basic LSPIdentifiersTLV.
21 * href="http://tools.ietf.org/html/draft-crabbe-pce-stateful-pce-02#section-7.2.2">LSP
22 * Identifiers TLVs</a>
25 public interface LSPIdentifiersTlv<T extends NetworkAddress<T>> extends PCEPTlv {
28 * Gets specific senders {@link NetworkAddress}.
30 * @return T sender network address
32 public T getSenderAddress();
35 * Gets {@link LSPIdentifier}.
37 * @return LSPIdentifier
39 public LSPIdentifier getLspID();
42 * Gets {@link TunnelIdentifier}.
44 * @return TunnelIdentifier
46 public TunnelIdentifier getTunnelID();
49 * Gets specific {@link ExtendedTunnelIdentifier}.
52 * @return ExtendedTunnelIdentifier
54 public ExtendedTunnelIdentifier<T> getExtendedTunnelID();