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