![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
| ModelAndView | flowList (final HttpServletRequest request) |
| ModelAndView | flowDetails (final HttpServletRequest request) |
| Collection< FlowCount > | getFlowCount () |
| List< FlowInfo > | getFlows () |
| FlowPayload | getFlowPath (@PathVariable final String flowId) |
| FlowPath | rerouteFlow (@PathVariable final String flowId) |
| String | validateFlow (@PathVariable final String flowId) |
| Flow | getFlowById (@PathVariable final String flowId) |
| FlowStatus | getFlowStatusById (@PathVariable final String flowId) |
| Flow | createFlow (@RequestBody final Flow flow) |
| Flow | updateFlow (@PathVariable("flowId") final String flowId, @RequestBody final Flow flow) |
| Flow | deleteFlow (@RequestBody final UserInfo userInfo, @PathVariable("flowId") final String flowId) |
Public Member Functions inherited from org.openkilda.controller.BaseController | |
| ModelAndView | validateAndRedirect (final HttpServletRequest request, final String viewName) |
| ModelAndView | error (final Model model) |
| String | getErrorPath () |
Additional Inherited Members | |
Protected Member Functions inherited from org.openkilda.controller.BaseController | |
| UserInfo | getLoggedInUser (final HttpServletRequest request) |
| boolean | isUserLoggedIn () |
The Class FlowController.
Definition at line 44 of file FlowController.java.
Creates the flow.
| flow | the flow |
Definition at line 184 of file FlowController.java.
| Flow org.openkilda.controller.FlowController.deleteFlow | ( | @RequestBody final UserInfo | userInfo, |
| @PathVariable("flowId") final String | flowId | ||
| ) |
Delete flow.
| userInfo | the user info |
| flowId | the flow id |
Definition at line 214 of file FlowController.java.
| ModelAndView org.openkilda.controller.FlowController.flowDetails | ( | final HttpServletRequest | request | ) |
Return to flow details view.
| request | is HttpServletRequest with request information |
Definition at line 76 of file FlowController.java.
| ModelAndView org.openkilda.controller.FlowController.flowList | ( | final HttpServletRequest | request | ) |
Return to flows view.
| request | is HttpServletRequest with request information |
Definition at line 65 of file FlowController.java.
| Flow org.openkilda.controller.FlowController.getFlowById | ( | @PathVariable final String | flowId | ) |
Get flow by Id
| flowId | id of flow requested. |
Definition at line 157 of file FlowController.java.
| Collection<FlowCount> org.openkilda.controller.FlowController.getFlowCount | ( | ) |
Returns information of no of flow between any two switches.
Definition at line 88 of file FlowController.java.
| FlowPayload org.openkilda.controller.FlowController.getFlowPath | ( | @PathVariable final String | flowId | ) |
Returns flow path with all nodes/switches exists in provided flow.
| flowId | id of flow path requested. |
Definition at line 116 of file FlowController.java.
| List<FlowInfo> org.openkilda.controller.FlowController.getFlows | ( | ) |
Returns all flows exists in the system.
Definition at line 104 of file FlowController.java.
| FlowStatus org.openkilda.controller.FlowController.getFlowStatusById | ( | @PathVariable final String | flowId | ) |
Get flow Status by Id
| flowId | id of flow requested. |
Definition at line 170 of file FlowController.java.
| FlowPath org.openkilda.controller.FlowController.rerouteFlow | ( | @PathVariable final String | flowId | ) |
Re route the flow and returns flow path with all nodes/switches exists in provided flow.
| flowId | id of reroute requested. |
Definition at line 129 of file FlowController.java.
| Flow org.openkilda.controller.FlowController.updateFlow | ( | @PathVariable("flowId") final String | flowId, |
| @RequestBody final Flow | flow | ||
| ) |
Update flow.
| flowId | the flow id |
| flow | the flow |
Definition at line 199 of file FlowController.java.
| String org.openkilda.controller.FlowController.validateFlow | ( | @PathVariable final String | flowId | ) |
Validate the flow
| flowId | id of validate flow requested. |
Definition at line 143 of file FlowController.java.