Class RouterConfig


  • @Deprecated
    public class RouterConfig
    extends Config<ApplicationId>
    Deprecated.
    in Junco release. Use RoutersConfig instead.
    Routing configuration.
    • Constructor Detail

      • RouterConfig

        public RouterConfig()
        Deprecated.
    • Method Detail

      • getControlPlaneConnectPoint

        public ConnectPoint getControlPlaneConnectPoint()
        Deprecated.
        Returns the routing control plane connect point.
        Returns:
        control plane connect point
      • getOspfEnabled

        public boolean getOspfEnabled()
        Deprecated.
        Returns whether OSPF is enabled on this router.
        Returns:
        true if OSPF is enabled, otherwise false
      • pimEnabled

        public boolean pimEnabled()
        Deprecated.
        Returns whether PIM is enabled on this router.
        Returns:
        true if PIM is enabled, otherwise false
      • getInterfaces

        public java.util.List<java.lang.String> getInterfaces()
        Deprecated.
        Returns the list of interfaces enabled on this router.
        Returns:
        list of interface names that are enabled, or an empty list if all available interfaces should be used
      • isValid

        public boolean isValid()
        Deprecated.
        Description copied from class: Config
        Indicates whether or not the backing JSON node contains valid data.

        Default implementation returns true. Subclasses are expected to override this with their own validation. Implementations are free to throw a RuntimeException if data is invalid.

        Overrides:
        isValid in class Config<ApplicationId>
        Returns:
        true if the data is valid; false otherwise