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

Public Member Functions

List< SwitchInfogetSwitches () throws IntegrationException
 
List< IslLinkInfogetIslLinks ()
 
LinkProps getLinkProps (LinkProps keys)
 
String updateLinkProps (List< LinkProps > keys)
 
String getSwitchRules (String switchId)
 
ConfiguredPort configurePort (String switchId, String port, PortConfiguration configuration)
 

Detailed Description

The Class ServiceSwitchImpl.

Author
Gaurav Chugh

Definition at line 21 of file SwitchService.java.

Member Function Documentation

◆ configurePort()

ConfiguredPort org.openkilda.service.SwitchService.configurePort ( String  switchId,
String  port,
PortConfiguration  configuration 
)

Configure port.

Parameters
switchIdthe switch id
portthe port
configurationthe configuration
Returns
the configuredPort

Definition at line 86 of file SwitchService.java.

◆ getIslLinks()

List<IslLinkInfo> org.openkilda.service.SwitchService.getIslLinks ( )

get All Links.

Returns
SwitchRelationData
Exceptions
IntegrationException

Definition at line 42 of file SwitchService.java.

◆ getLinkProps()

LinkProps org.openkilda.service.SwitchService.getLinkProps ( LinkProps  keys)

Get link props.

Parameters
keys
Returns

Definition at line 53 of file SwitchService.java.

◆ getSwitches()

List<SwitchInfo> org.openkilda.service.SwitchService.getSwitches ( ) throws IntegrationException

get All SwitchList.

Returns
SwitchRelationData
Exceptions
IntegrationException

Definition at line 32 of file SwitchService.java.

◆ getSwitchRules()

String org.openkilda.service.SwitchService.getSwitchRules ( String  switchId)

Get Switch Rules.

Parameters
switchId
Returns

Definition at line 74 of file SwitchService.java.

◆ updateLinkProps()

String org.openkilda.service.SwitchService.updateLinkProps ( List< LinkProps keys)

Update link props.

Parameters
keys
Returns

Definition at line 64 of file SwitchService.java.


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