import org.immutables.value.Value;
import org.opendaylight.genius.infra.OpenDaylightImmutableStyle;
+import org.opendaylight.yangtools.yang.common.Uint64;
@Value.Immutable
@OpenDaylightImmutableStyle
public interface TunnelEndPointInfo {
- String getSrcEndPointInfo();
+ Uint64 getSrcEndPointInfo();
- String getDstEndPointInfo();
+ Uint64 getDstEndPointInfo();
+
+ @Value.Lazy
+ default String getSrcEndPointName() {
+ return getSrcEndPointInfo().toString();
+ }
+
+ @Value.Lazy
+ default String getDstEndPointName() {
+ return getDstEndPointInfo().toString();
+ }
}