public class CoeUtils extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableBiMap<org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.NetworkAttributes.NetworkType,Class<? extends SegmentTypeBase>> |
NETWORK_MAP |
Constructor and Description |
---|
CoeUtils() |
Modifier and Type | Method and Description |
---|---|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> |
buildVlanInterfaceIdentifier(String interfaceName) |
static ElanInstance |
createElanInstanceForTheFirstPodInTheNetwork(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface podInterface,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction wrtConfigTxn,
org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
static void |
createElanInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface podInterface,
String name,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction wrtConfigTxn) |
static String |
createOfPortInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface podInterface,
org.opendaylight.controller.md.sal.binding.api.WriteTransaction wrtConfigTxn,
org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
static Class<? extends SegmentTypeBase> |
getSegmentTypeFromNetwork(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface elanInterface) |
public static final com.google.common.collect.ImmutableBiMap<org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.NetworkAttributes.NetworkType,Class<? extends SegmentTypeBase>> NETWORK_MAP
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface> buildVlanInterfaceIdentifier(String interfaceName)
public static void createElanInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface podInterface, String name, org.opendaylight.controller.md.sal.binding.api.WriteTransaction wrtConfigTxn)
public static String createOfPortInterface(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface podInterface, org.opendaylight.controller.md.sal.binding.api.WriteTransaction wrtConfigTxn, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
public static Class<? extends SegmentTypeBase> getSegmentTypeFromNetwork(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface elanInterface)
public static ElanInstance createElanInstanceForTheFirstPodInTheNetwork(org.opendaylight.yang.gen.v1.urn.opendaylight.coe.northbound.pod.rev170611.pod_attributes.Interface podInterface, org.opendaylight.controller.md.sal.binding.api.WriteTransaction wrtConfigTxn, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
Copyright © 2018 OpenDaylight. All rights reserved.