![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
| List< SwitchInfo > | getSwitches () |
| String | customSwitchName (Map< String, String > csNames, String switchId) |
| List< IslLinkInfo > | getIslLinks () |
| List< IslLink > | getIslLinkPortsInfo () |
| List< LinkProps > | getIslLinkProps (LinkProps keys) |
| Map< String, String > | getCustomSwitchNameFromFile () |
| String | updateIslLinkProps (List< LinkProps > keys) |
| String | getSwitchRules (String switchId) |
| ConfiguredPort | configurePort (String switchId, String port, PortConfiguration configuration) |
The Class SwitchIntegrationService.
Definition at line 47 of file SwitchIntegrationService.java.
| ConfiguredPort org.openkilda.integration.service.SwitchIntegrationService.configurePort | ( | String | switchId, |
| String | port, | ||
| PortConfiguration | configuration | ||
| ) |
Configure port.
| switchId | the switch id |
| port | the port |
| configuration | the configuration |
Definition at line 305 of file SwitchIntegrationService.java.
| String org.openkilda.integration.service.SwitchIntegrationService.customSwitchName | ( | Map< String, String > | csNames, |
| String | switchId | ||
| ) |
This Method is used to set custom Switch name.
| csNames | |
| switchId |
Definition at line 110 of file SwitchIntegrationService.java.
| Map<String, String> org.openkilda.integration.service.SwitchIntegrationService.getCustomSwitchNameFromFile | ( | ) |
Get custom switch name from file.
Definition at line 207 of file SwitchIntegrationService.java.
| List<IslLink> org.openkilda.integration.service.SwitchIntegrationService.getIslLinkPortsInfo | ( | ) |
Gets the isl links port info.
Definition at line 144 of file SwitchIntegrationService.java.
| List<LinkProps> org.openkilda.integration.service.SwitchIntegrationService.getIslLinkProps | ( | LinkProps | keys | ) |
Gets the isl link cost.
Definition at line 178 of file SwitchIntegrationService.java.
| List<IslLinkInfo> org.openkilda.integration.service.SwitchIntegrationService.getIslLinks | ( | ) |
Gets the isl links.
Definition at line 131 of file SwitchIntegrationService.java.
| List<SwitchInfo> org.openkilda.integration.service.SwitchIntegrationService.getSwitches | ( | ) |
Gets the switches.
| IntegrationException |
Definition at line 72 of file SwitchIntegrationService.java.
| String org.openkilda.integration.service.SwitchIntegrationService.getSwitchRules | ( | String | switchId | ) |
This Method is used to get switch rules.
| switchId |
Definition at line 282 of file SwitchIntegrationService.java.
| String org.openkilda.integration.service.SwitchIntegrationService.updateIslLinkProps | ( | List< LinkProps > | keys | ) |
Update isl link props.
| keys |
| JsonProcessingException |
Definition at line 237 of file SwitchIntegrationService.java.