Package org.onosproject.routing.config
Class RoutersConfig.Router
- java.lang.Object
-
- org.onosproject.routing.config.RoutersConfig.Router
-
- Enclosing class:
- RoutersConfig
public static class RoutersConfig.Router extends java.lang.Object
Router configuration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPoint
controlPlaneConnectPoint()
Returns the routing control plane connect point.java.util.Set<java.lang.String>
interfaces()
Returns the set of interfaces enabled on this router.boolean
isOspfEnabled()
Returns whether OSPF is enabled on this router.
-
-
-
Method Detail
-
controlPlaneConnectPoint
public ConnectPoint controlPlaneConnectPoint()
Returns the routing control plane connect point.- Returns:
- control plane connect point
-
isOspfEnabled
public boolean isOspfEnabled()
Returns whether OSPF is enabled on this router.- Returns:
- true if OSPF is enabled, otherwise false
-
interfaces
public java.util.Set<java.lang.String> interfaces()
Returns the set of interfaces enabled on this router.- Returns:
- set of interface names that are enabled, or an empty list if all available interfaces should be used
-
-