jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs] CloudSigma2 ComputeService and SecurityGroupExtension (#70)
Date Sun, 21 Sep 2014 14:51:30 GMT
> +   protected Map<DriveStatus, Image.Status> provideImageStatusMap() {
> +      return driveStatusToImageStatus;
> +   }
> +
> +   @VisibleForTesting
> +   public static final Map<FirewallIpProtocol, IpProtocol> firewallIpProtocolToIpProtocol
= ImmutableMap
> +         .<FirewallIpProtocol, IpProtocol>builder().put(FirewallIpProtocol.TCP,
IpProtocol.TCP)
> +         .put(FirewallIpProtocol.UDP, IpProtocol.UDP).build();
> +
> +   @Provides
> +   @Singleton
> +   protected Map<FirewallIpProtocol, IpProtocol> provideIpProtocolMap() {
> +      return firewallIpProtocolToIpProtocol;
> +   }
> +
> +   public static final Map<IpProtocol, FirewallIpProtocol> ipProtocolToFirewallIpProtocol
= ImmutableMap

See comment above

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/70/files#r17825895
Mime
View raw message