Open Kilda Java Documentation
org.openkilda.controller.SwitchController Class Reference
Inheritance diagram for org.openkilda.controller.SwitchController:
org.openkilda.controller.BaseController

Public Member Functions

ModelAndView switchList (final HttpServletRequest request)
 
ModelAndView switchDetails (final HttpServletRequest request)
 
ModelAndView portDetails (final HttpServletRequest request)
 
ModelAndView islList (final HttpServletRequest request)
 
ModelAndView islDetails (final HttpServletRequest request)
 
List< SwitchInfogetSwitchesDetail ()
 
List< IslLinkInfogetLinksDetail ()
 
LinkProps getLinkProps (final LinkProps keys)
 
String updateLinkProps (@RequestBody final List< LinkProps > keys)
 
String getSwitchRules (@PathVariable final String switchId)
 
ConfiguredPort configureSwitchPort (@RequestBody final PortConfiguration configuration, @PathVariable final String switchId, @PathVariable final String port)
 
- 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 ()
 

Detailed Description

The Class SwitchController.

Author
sumitpal.singh

Definition at line 37 of file SwitchController.java.

Member Function Documentation

◆ configureSwitchPort()

ConfiguredPort org.openkilda.controller.SwitchController.configureSwitchPort ( @RequestBody final PortConfiguration  configuration,
@PathVariable final String  switchId,
@PathVariable final String  port 
)

Configure switch port.

Parameters
configurationthe configuration
switchIdthe switch id
portthe port
Returns
the configuredPort

Definition at line 184 of file SwitchController.java.

◆ getLinkProps()

LinkProps org.openkilda.controller.SwitchController.getLinkProps ( final LinkProps  keys)

Get Link Props.

Parameters
keys
Returns

Definition at line 143 of file SwitchController.java.

◆ getLinksDetail()

List<IslLinkInfo> org.openkilda.controller.SwitchController.getLinksDetail ( )

Gets the links detail.

Returns
the links detail

Definition at line 131 of file SwitchController.java.

◆ getSwitchesDetail()

List<SwitchInfo> org.openkilda.controller.SwitchController.getSwitchesDetail ( )

Gets the switches detail.

Returns
the switches detail

Definition at line 119 of file SwitchController.java.

◆ getSwitchRules()

String org.openkilda.controller.SwitchController.getSwitchRules ( @PathVariable final String  switchId)

Get Switch Rules.

Parameters
switchId
Returns

Definition at line 168 of file SwitchController.java.

◆ islDetails()

ModelAndView org.openkilda.controller.SwitchController.islDetails ( final HttpServletRequest  request)

Isl details.

Parameters
modelthe model
requestthe request
Returns
the model and view

Definition at line 107 of file SwitchController.java.

◆ islList()

ModelAndView org.openkilda.controller.SwitchController.islList ( final HttpServletRequest  request)

Isl List.

Parameters
modelthe model
requestthe request
Returns
the model and view

Definition at line 95 of file SwitchController.java.

◆ portDetails()

ModelAndView org.openkilda.controller.SwitchController.portDetails ( final HttpServletRequest  request)

Port details.

Parameters
modelthe model
requestthe request
Returns
the model and view

Definition at line 81 of file SwitchController.java.

◆ switchDetails()

ModelAndView org.openkilda.controller.SwitchController.switchDetails ( final HttpServletRequest  request)

Switch details.

Parameters
modelthe model
requestthe request
Returns
the model and view

Definition at line 68 of file SwitchController.java.

◆ switchList()

ModelAndView org.openkilda.controller.SwitchController.switchList ( final HttpServletRequest  request)

Switch list.

Parameters
modelthe model
requestthe request
Returns
the model and view

Definition at line 55 of file SwitchController.java.

◆ updateLinkProps()

String org.openkilda.controller.SwitchController.updateLinkProps ( @RequestBody final List< LinkProps keys)

Get Link Props.

Parameters
keys
Returns

Definition at line 155 of file SwitchController.java.


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