Package org.onosproject.routing
Class InterfaceProvisionRequest
- java.lang.Object
-
- org.onosproject.routing.InterfaceProvisionRequest
-
public final class InterfaceProvisionRequest extends java.lang.Object
Encapsulates information needed to provision a router interface.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPoint
controlPlaneConnectPoint()
Retrieves the router's control plane connect point.RouterInfo
info()
Retrieves the router configuration info.Interface
intf()
Retrieves the interface to be (un)provisioned.static InterfaceProvisionRequest
of(RouterInfo info, Interface intf)
Creates a new provision request from a router configuration and an interface.
-
-
-
Method Detail
-
controlPlaneConnectPoint
public ConnectPoint controlPlaneConnectPoint()
Retrieves the router's control plane connect point.- Returns:
- connect point
-
info
public RouterInfo info()
Retrieves the router configuration info.- Returns:
- router configuration info
-
intf
public Interface intf()
Retrieves the interface to be (un)provisioned.- Returns:
- interface
-
of
public static InterfaceProvisionRequest of(RouterInfo info, Interface intf)
Creates a new provision request from a router configuration and an interface.- Parameters:
info
- router configuration infointf
- interface- Returns:
- provision request
-
-