Open Kilda Java Documentation
org.openkilda.northbound.service.SwitchService Interface Reference
Inheritance diagram for org.openkilda.northbound.service.SwitchService:
org.openkilda.northbound.service.BasicService org.openkilda.northbound.service.impl.SwitchServiceImpl

Public Member Functions

List< SwitchDtogetSwitches ()
 
SwitchFlowEntries getRules (SwitchId switchId, Long cookie)
 
SwitchFlowEntries getRules (SwitchId switchId, Long cookie, String correlationId)
 
- Public Member Functions inherited from org.openkilda.northbound.service.BasicService
default InfoData validateInfoMessage (final Message requestMessage, final Message responseMessage, final String correlationId)
 

Additional Inherited Members

- Public Attributes inherited from org.openkilda.northbound.service.BasicService
Logger logger = LoggerFactory.getLogger(BasicService.class)
 

Detailed Description

Definition at line 33 of file SwitchService.java.

Member Function Documentation

◆ getRules() [1/2]

SwitchFlowEntries org.openkilda.northbound.service.SwitchService.getRules ( SwitchId  switchId,
Long  cookie 
)

Get all rules from the switch. If cookie is specified, then return just that cookie rule.

Parameters
switchIdthe switch
cookieif > 0, then filter the results based on that cookie
Returns
the list of rules

Implemented in org.openkilda.northbound.service.impl.SwitchServiceImpl.

◆ getRules() [2/2]

SwitchFlowEntries org.openkilda.northbound.service.SwitchService.getRules ( SwitchId  switchId,
Long  cookie,
String  correlationId 
)

Get all rules from the switch. If cookie is specified, then return just that cookie rule.

Parameters
switchIdthe switch
cookieif > 0, then filter the results based on that cookie
correlationIdpassed correlation id
Returns
the list of rules

Implemented in org.openkilda.northbound.service.impl.SwitchServiceImpl.

◆ getSwitches()

List<SwitchDto> org.openkilda.northbound.service.SwitchService.getSwitches ( )

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