2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. 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
8 package org.opendaylight.genius.utils.hwvtep;
10 import com.google.common.collect.ImmutableBiMap;
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.EncapsulationTypeBase;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.hwvtep.rev150901.EncapsulationTypeVxlanOverIpv4;
14 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId;
16 // TODO (eperefr) Remove this class once it's been added to hwvtep-southbound
17 public interface HwvtepSouthboundConstants {
19 String HWVTEP_ENTITY_TYPE = "hwvtep";
21 ImmutableBiMap<Class<? extends EncapsulationTypeBase>, String> ENCAPS_TYPE_MAP
22 = new ImmutableBiMap.Builder<Class<? extends EncapsulationTypeBase>, String>()
23 .put(EncapsulationTypeVxlanOverIpv4.class, "vxlan_over_ipv4").build();
25 String ELAN_ENTITY_TYPE = "elan";
26 String ELAN_ENTITY_NAME = "elan";
27 String TEP_PREFIX = "vxlan_over_ipv4:";
28 String PSWITCH_URI_PREFIX = "physicalswitch";
29 TopologyId HWVTEP_TOPOLOGY_ID = new TopologyId(new Uri("hwvtep:1"));