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

Public Member Functions

List< LinkDtogetLinks ()
 
List< LinkPropsDtogetLinkProps (SwitchId srcSwitch, Integer srcPort, SwitchId dstSwitch, Integer dstPort)
 
BatchResults setLinkProps (List< LinkPropsDto > linkPropsList)
 
BatchResults delLinkProps (List< LinkPropsDto > linkPropsList)
 
- 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 25 of file LinkService.java.

Member Function Documentation

◆ delLinkProps()

BatchResults org.openkilda.northbound.service.LinkService.delLinkProps ( List< LinkPropsDto linkPropsList)

All linkPropsList link properties will be deleted, and deleted from ISL links if they exist.

Parameters
linkPropsListthe list of link properties to delete
Returns
the number of successes (rows affected), failures, and any failure messages

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

◆ getLinkProps()

List<LinkPropsDto> org.openkilda.northbound.service.LinkService.getLinkProps ( SwitchId  srcSwitch,
Integer  srcPort,
SwitchId  dstSwitch,
Integer  dstPort 
)

These results are not related to the ISL links per se .. they are based on any link properties that have been uploaded through setLinkProps.

Parameters
srcSwitchsource switch dpid.
srcPortsource port number.
dstSwitchdestination switch dpid.
dstPortdestination port number.
Returns
one or more link properties from the static link_props table.

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

◆ getLinks()

List<LinkDto> org.openkilda.northbound.service.LinkService.getLinks ( )

Returns all links at the controller.

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

◆ setLinkProps()

BatchResults org.openkilda.northbound.service.LinkService.setLinkProps ( List< LinkPropsDto linkPropsList)

All linkPropsList link properties will be created/updated, and pushed to ISL links if they exit.

Parameters
linkPropsListthe list of link properties to create / update
Returns
the number of successes, failures, and any failure messages

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


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