![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
List< LinkDto > | getLinks () |
List< LinkPropsDto > | getLinkProps (@RequestParam(value="src_switch", required=false) SwitchId srcSwitch, @RequestParam(value="src_port", required=false) Integer srcPort, @RequestParam(value="dst_switch", required=false) SwitchId dstSwitch, @RequestParam(value="dst_port", required=false) Integer dstPort) |
BatchResults | putLinkProps ( @RequestBody List< LinkPropsDto > keysAndProps) |
BatchResults | delLinkProps ( @RequestBody List< LinkPropsDto > keysAndProps) |
REST Controller for links.
Definition at line 57 of file LinkController.java.
BatchResults org.openkilda.northbound.controller.LinkController.delLinkProps | ( | @RequestBody List< LinkPropsDto > | keysAndProps | ) |
Delete link properties from the static link properties table.
keysAndProps | if null, get all link props. Otherwise, the link props that much the primary keys. |
Definition at line 119 of file LinkController.java.
List<LinkPropsDto> org.openkilda.northbound.controller.LinkController.getLinkProps | ( | @RequestParam(value="src_switch", required=false) SwitchId | srcSwitch, |
@RequestParam(value="src_port", required=false) Integer | srcPort, | ||
@RequestParam(value="dst_switch", required=false) SwitchId | dstSwitch, | ||
@RequestParam(value="dst_port", required=false) Integer | dstPort | ||
) |
Get link properties from the static link properties table.
Definition at line 85 of file LinkController.java.
List<LinkDto> org.openkilda.northbound.controller.LinkController.getLinks | ( | ) |
BatchResults org.openkilda.northbound.controller.LinkController.putLinkProps | ( | @RequestBody List< LinkPropsDto > | keysAndProps | ) |
Create/Update link properties in the static link properties table.
keysAndProps | if null, get all link props. Otherwise, the link props that much the primary keys. |
Definition at line 103 of file LinkController.java.