Class NeutronEvpnUtils
- java.lang.Object
-
- org.opendaylight.netvirt.neutronvpn.evpn.utils.NeutronEvpnUtils
-
public class NeutronEvpnUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NeutronEvpnUtils.Operation
-
Constructor Summary
Constructors Constructor Description NeutronEvpnUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, IVpnManager vpnManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.binding.InstanceIdentifier<EvpnRdToNetwork>
getRdToNetworkIdentifier(java.lang.String vrfId)
boolean
isVpnAssociatedWithNetwork(VpnInstance vpnInstance)
void
updateElanAndVpn(VpnInstance vpnInstance, java.lang.String subnetVpn, NeutronEvpnUtils.Operation operation)
void
updateElanWithVpnInfo(java.lang.String elanInstanceName, VpnInstance vpnInstance, NeutronEvpnUtils.Operation operation)
void
updateVpnWithElanInfo(VpnInstance vpnInstance, java.lang.String elanInstanceName, NeutronEvpnUtils.Operation operation)
-
-
-
Constructor Detail
-
NeutronEvpnUtils
public NeutronEvpnUtils(org.opendaylight.controller.md.sal.binding.api.DataBroker broker, IVpnManager vpnManager, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator)
-
-
Method Detail
-
isVpnAssociatedWithNetwork
public boolean isVpnAssociatedWithNetwork(VpnInstance vpnInstance) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
-
getRdToNetworkIdentifier
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<EvpnRdToNetwork> getRdToNetworkIdentifier(java.lang.String vrfId)
-
updateElanWithVpnInfo
public void updateElanWithVpnInfo(java.lang.String elanInstanceName, VpnInstance vpnInstance, NeutronEvpnUtils.Operation operation)
-
updateVpnWithElanInfo
public void updateVpnWithElanInfo(VpnInstance vpnInstance, java.lang.String elanInstanceName, NeutronEvpnUtils.Operation operation)
-
updateElanAndVpn
public void updateElanAndVpn(VpnInstance vpnInstance, java.lang.String subnetVpn, NeutronEvpnUtils.Operation operation)
-
-