Open Kilda Java Documentation
org.openkilda.service.FlowService Class Reference

Public Member Functions

List< FlowInfogetAllFlows ()
 
Collection< FlowCountgetFlowsCount (final List< Flow > flows)
 
FlowPayload getFlowPath (final String flowId) throws IntegrationException
 
List< FlowgetAllFlowList ()
 
FlowPath rerouteFlow (String flowId)
 
String validateFlow (String flowId)
 
Flow getFlowById (String flowId)
 
FlowStatus getFlowStatusById (String flowId)
 
Flow createFlow (Flow flow)
 
Flow updateFlow (String flowId, Flow flow)
 
Flow deleteFlow (String flowId, UserInfo userInfo)
 

Detailed Description

The Class ServiceFlowImpl.

Author
Gaurav Chugh

Definition at line 30 of file FlowService.java.

Member Function Documentation

◆ createFlow()

Flow org.openkilda.service.FlowService.createFlow ( Flow  flow)

Creates the flow.

Parameters
flowthe flow
Returns
the flow

Definition at line 159 of file FlowService.java.

◆ deleteFlow()

Flow org.openkilda.service.FlowService.deleteFlow ( String  flowId,
UserInfo  userInfo 
)

Delete flow.

Parameters
flowIdthe flow id
userInfothe user info
Returns
the flow

Definition at line 181 of file FlowService.java.

◆ getAllFlowList()

List<Flow> org.openkilda.service.FlowService.getAllFlowList ( )

Gets the all flows list.

Returns
the all flow list

Definition at line 107 of file FlowService.java.

◆ getAllFlows()

List<FlowInfo> org.openkilda.service.FlowService.getAllFlows ( )

get All Flows.

Returns
SwitchRelationData

Definition at line 48 of file FlowService.java.

◆ getFlowById()

Flow org.openkilda.service.FlowService.getFlowById ( String  flowId)

Flow by flow id.

Parameters
flowIdthe flow id
Returns
the flow by id

Definition at line 137 of file FlowService.java.

◆ getFlowPath()

FlowPayload org.openkilda.service.FlowService.getFlowPath ( final String  flowId) throws IntegrationException

Gets the path link.

Parameters
flowIdthe flow id
Returns
the path link

Definition at line 98 of file FlowService.java.

◆ getFlowsCount()

Collection<FlowCount> org.openkilda.service.FlowService.getFlowsCount ( final List< Flow flows)

Gets the flow count.

Parameters
flowsthe flows
Returns
the flow count

Definition at line 59 of file FlowService.java.

◆ getFlowStatusById()

FlowStatus org.openkilda.service.FlowService.getFlowStatusById ( String  flowId)

Gets the flow status by id.

Parameters
flowIdthe flow id
Returns
the flow status by id

Definition at line 148 of file FlowService.java.

◆ rerouteFlow()

FlowPath org.openkilda.service.FlowService.rerouteFlow ( String  flowId)

Re route Flow by flow id.

Parameters
flowIdthe flow id
Returns
flow path

Definition at line 117 of file FlowService.java.

◆ updateFlow()

Flow org.openkilda.service.FlowService.updateFlow ( String  flowId,
Flow  flow 
)

Update flow.

Parameters
flowIdthe flow id
flowthe flow
Returns
the flow

Definition at line 170 of file FlowService.java.

◆ validateFlow()

String org.openkilda.service.FlowService.validateFlow ( String  flowId)

Validate Flow.

Parameters
flowIdthe flow id
Returns
the string

Definition at line 127 of file FlowService.java.


The documentation for this class was generated from the following file: