Class TransportZoneNotificationUtil
- java.lang.Object
-
- org.opendaylight.netvirt.elan.utils.TransportZoneNotificationUtil
-
@Singleton public class TransportZoneNotificationUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TransportZoneNotificationUtil(org.opendaylight.controller.md.sal.binding.api.DataBroker dbx, IElanService elanService, ElanConfig elanConfig, ElanBridgeManager elanBridgeManager, ElanInstanceCache elanInstanceCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteTransportZone(java.lang.String zoneNamePrefix, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
void
handleOvsdbNodeUpdate(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node origNode, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node updatedNode, java.lang.String managerNodeId)
Update transport zones based on local_ips TEP ips mapping to underlay networks.
Deleted local_ips will be removed from the VTEP list of the corresponding transport zones.
Added local_ips will be added to all transport zones currently associated with the TEP
local_ips for whom the underlay network mapping has been changed will be updated in the VTEP lists of the corresponding transport zones.boolean
shouldCreateVtep(java.util.List<VpnInterfaces> vpnInterfaces)
void
updateTransportZone(java.lang.String zoneNamePrefix, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
-
-
Constructor Detail
-
TransportZoneNotificationUtil
@Inject public TransportZoneNotificationUtil(org.opendaylight.controller.md.sal.binding.api.DataBroker dbx, IElanService elanService, ElanConfig elanConfig, ElanBridgeManager elanBridgeManager, ElanInstanceCache elanInstanceCache)
-
-
Method Detail
-
shouldCreateVtep
public boolean shouldCreateVtep(java.util.List<VpnInterfaces> vpnInterfaces)
-
updateTransportZone
public void updateTransportZone(java.lang.String zoneNamePrefix, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
deleteTransportZone
public void deleteTransportZone(java.lang.String zoneNamePrefix, org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
handleOvsdbNodeUpdate
public void handleOvsdbNodeUpdate(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node origNode, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node updatedNode, java.lang.String managerNodeId)
Update transport zones based on local_ips TEP ips mapping to underlay networks.
Deleted local_ips will be removed from the VTEP list of the corresponding transport zones.
Added local_ips will be added to all transport zones currently associated with the TEP
local_ips for whom the underlay network mapping has been changed will be updated in the VTEP lists of the corresponding transport zones.- Parameters:
origNode
- original OVS nodeupdatedNode
- updated OVS nodemanagerNodeId
- uuid of the OVS manager node
-
-