Merge "Randomize port to allow concurrent execution"
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / tlv / LSPIdentifiersTlv.java
1 /*
2  * Copyright (c) 2013 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.pcep.tlv;
10
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;
16
17 /**
18  * Interface defining basic LSPIdentifiersTLV.
19  * 
20  * @see <a
21  *      href="http://tools.ietf.org/html/draft-crabbe-pce-stateful-pce-02#section-7.2.2">LSP
22  *      Identifiers TLVs</a>
23  * @param <T>
24  */
25 public interface LSPIdentifiersTlv<T extends NetworkAddress<T>> extends PCEPTlv {
26
27         /**
28          * Gets specific senders {@link NetworkAddress}.
29          * 
30          * @return T sender network address
31          */
32         public T getSenderAddress();
33
34         /**
35          * Gets {@link LSPIdentifier}.
36          * 
37          * @return LSPIdentifier
38          */
39         public LSPIdentifier getLspID();
40
41         /**
42          * Gets {@link TunnelIdentifier}.
43          * 
44          * @return TunnelIdentifier
45          */
46         public TunnelIdentifier getTunnelID();
47
48         /**
49          * Gets specific {@link ExtendedTunnelIdentifier}.
50          * 
51          * 
52          * @return ExtendedTunnelIdentifier
53          */
54         public ExtendedTunnelIdentifier<T> getExtendedTunnelID();
55 }