Revert "BUG-47 : unfinished PCEP migration to generated DTOs."
[bgpcep.git] / pcep / api / src / main / java / org / opendaylight / protocol / pcep / concepts / ExtendedTunnelIdentifier.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 package org.opendaylight.protocol.pcep.concepts;
9
10 import org.opendaylight.protocol.concepts.Identifier;
11 import org.opendaylight.protocol.concepts.NetworkAddress;
12
13 /**
14  * Interface grouping Extended Tunnel Identifiers.
15  *
16  * @see <a
17  *      href="http://tools.ietf.org/html/draft-crabbe-pce-stateful-pce-02#section-7.2.2">LSP
18  *      Identifiers TLVs</a>
19  * @param <T> IPv4 or IPv6 address that is wrapped in this tunnel
20  */
21 public interface ExtendedTunnelIdentifier<T extends NetworkAddress<T>> extends Identifier {
22
23         /**
24          * Getter for Identifier of Extended Tunnel.
25          *
26          * @return T IPv4 or IPv6 address
27          */
28         public T getIdentifier();
29 }