Interface ICentralizedSwitchProvider

  • All Known Implementing Classes:
    CentralizedSwitchProvider

    public interface ICentralizedSwitchProvider
    ICentralizedSwitchProvider allows to create or interrogate centralized switch:router mappings.
    The centralized switch is currently implemented using NAPT switch models residing in natservice bundle. As the roles of centralized switch will grow beyond NAT use cases, the associated models and logic need to be renamed and moved to either vpnmanager or new bundle as part of Carbon model changes.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      @Nullable org.opendaylight.yangtools.yang.common.Uint64 getPrimarySwitchForRouter​(java.lang.String routerName)
      Get the primary switch selected for the router if it has previously been allocated.
    • Method Detail

      • getPrimarySwitchForRouter

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getPrimarySwitchForRouter​(java.lang.String routerName)
        Get the primary switch selected for the router if it has previously been allocated.
        Parameters:
        routerName - The router's name.
        Returns:
        The primary switch id.