![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
| List< LinkDto > | getLinks () |
| List< LinkPropsDto > | getLinkProps (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) |
Definition at line 25 of file LinkService.java.
| 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.
| linkPropsList | the list of link properties to delete |
Implemented in org.openkilda.northbound.service.impl.LinkServiceImpl.
| 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.
| srcSwitch | source switch dpid. |
| srcPort | source port number. |
| dstSwitch | destination switch dpid. |
| dstPort | destination port number. |
Implemented in org.openkilda.northbound.service.impl.LinkServiceImpl.
| List<LinkDto> org.openkilda.northbound.service.LinkService.getLinks | ( | ) |
Returns all links at the controller.
Implemented in org.openkilda.northbound.service.impl.LinkServiceImpl.
| 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.
| linkPropsList | the list of link properties to create / update |
Implemented in org.openkilda.northbound.service.impl.LinkServiceImpl.