Class CentralizedSwitchProvider

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CentralizedSwitchProvider

        @Inject
        public CentralizedSwitchProvider​(VpnUtil vpnUtil)
    • Method Detail

      • getPrimarySwitchForRouter

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