jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zack Shoylev <notificati...@github.com>
Subject Re: [jclouds-labs-openstack] add FWaaS extension to openstack-neutron (#196)
Date Wed, 01 Jul 2015 16:09:37 GMT
> +   @SelectJson("firewall")
> +   @Fallback(NullOnNotFoundOr404.class)
> +   @Nullable
> +   Firewall get(@PathParam("id") String id);
> +
> +   /**
> +    * Create a new firewall
> +    *
> +    * @param firewall Options for creating a firewall
> +    * @return the newly created firewall
> +    */
> +   @Named("firewall:create")
> +   @POST
> +   @SelectJson("firewall")
> +   @Path("/firewalls")
> +   Firewall create(@WrapWith("firewall") Firewall firewall);

That's exactly right - similar to poppy.

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