Class EvpnMacVrfUtils


  • @Singleton
    public class EvpnMacVrfUtils
    extends java.lang.Object
    • Constructor Detail

      • EvpnMacVrfUtils

        @Inject
        public EvpnMacVrfUtils​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                               org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.IdManagerService idManager,
                               ElanEvpnFlowUtils elanEvpnFlowUtils,
                               org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager,
                               EvpnUtils evpnUtils,
                               org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator,
                               ElanUtils elanUtils,
                               ElanInstanceCache elanInstanceCache)
    • Method Detail

      • getElanNameByMacvrfiid

        public java.lang.String getElanNameByMacvrfiid​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier)
      • getMacVrfEntryIid

        public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> getMacVrfEntryIid​(java.lang.String rd,
                                                                                                         MacVrfEntry macVrfEntry)
      • updateEvpnDmacFlows

        public void updateEvpnDmacFlows​(ElanInstance elanInstance,
                                        boolean install)
      • checkEvpnAttachedToNet

        public boolean checkEvpnAttachedToNet​(java.lang.String elanName)
      • addEvpnDmacFlow

        public void addEvpnDmacFlow​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier,
                                    MacVrfEntry macVrfEntry)
      • removeEvpnDmacFlow

        public void removeEvpnDmacFlow​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier,
                                       MacVrfEntry macVrfEntry)
      • addEvpnDmacFlowOnAttach

        public void addEvpnDmacFlowOnAttach​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier,
                                            MacVrfEntry macVrfEntry,
                                            ElanInstance elanInstance)
      • getRoutePathNexthopIp

        public @Nullable java.lang.String getRoutePathNexthopIp​(MacVrfEntry macVrfEntry)
      • removeEvpnDmacFlowOnDetach

        public void removeEvpnDmacFlowOnDetach​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MacVrfEntry> instanceIdentifier,
                                               MacVrfEntry macVrfEntry,
                                               ElanInstance elanInstance)