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 SummaryAll 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- 
controlPlaneConnectPointpublic ConnectPoint controlPlaneConnectPoint() Retrieves the router's control plane connect point.- Returns:
- connect point
 
 - 
infopublic RouterInfo info() Retrieves the router configuration info.- Returns:
- router configuration info
 
 - 
intfpublic Interface intf() Retrieves the interface to be (un)provisioned.- Returns:
- interface
 
 - 
ofpublic static InterfaceProvisionRequest of(RouterInfo info, Interface intf) Creates a new provision request from a router configuration and an interface.- Parameters:
- info- router configuration info
- intf- interface
- Returns:
- provision request
 
 
- 
 
-