Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove SoftLayer patch after jclouds 1.9.2 update
Browse files Browse the repository at this point in the history
grkvlt committed Jan 13, 2016
1 parent b19965a commit 2425240
Showing 2 changed files with 1 addition and 2 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -672,8 +672,7 @@ protected void preStart() {
VirtualGuestApi api = ((JcloudsLocation) location).getComputeService().getContext().unwrapApi(SoftLayerApi.class).getVirtualGuestApi();
JcloudsSshMachineLocation machine = (JcloudsSshMachineLocation) getDriver().getLocation();
Long serverId = Long.parseLong(machine.getNode().getId());
// TODO getVirtualGuestFiltered(serverId, "primaryBackendNetworkComponent;primaryBackendNetworkComponent.networkVlan");
VirtualGuest guest = api.getVirtualGuest(serverId);
VirtualGuest guest = api.getVirtualGuestFiltered(serverId, "primaryBackendNetworkComponent;primaryBackendNetworkComponent.networkVlan");
vlanId = guest.getPrimaryBackendNetworkComponent().getNetworkVlan().getId();
Integer vlanNumber = guest.getPrimaryBackendNetworkComponent().getNetworkVlan().getVlanNumber();
((EntityInternal) sensors().get(DOCKER_INFRASTRUCTURE).sensors().get(DockerInfrastructure.SDN_PROVIDER)).sensors().set(SdnProvider.VLAN_ID, vlanId);

0 comments on commit 2425240

Please sign in to comment.