Package org.onosproject.routing
Class InterfaceProvisionRequest
- java.lang.Object
-
- org.onosproject.routing.InterfaceProvisionRequest
-
public final class InterfaceProvisionRequest extends java.lang.ObjectEncapsulates information needed to provision a router interface.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectPointcontrolPlaneConnectPoint()Retrieves the router's control plane connect point.RouterInfoinfo()Retrieves the router configuration info.Interfaceintf()Retrieves the interface to be (un)provisioned.static InterfaceProvisionRequestof(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
-
-