Re: FWaaS examples

2016-10-26 Thread Ignasi Barrera
In your code, the "regionNow" variable is an array, not just a string. And you are passing that array serialized, as the region name, instead of just one element. On 26 October 2016 at 17:24, Ken wrote: > Hi , > > I have tried to get the example above to work using a basic

Re: FWaaS examples

2016-10-26 Thread Ken
Hi , I have tried to get the example above to work using a basic openstack installation. However, I get the error below : Exception in thread "main" java.lang.IllegalArgumentException: requested location [Ljava.lang.String;@2631f68c, which is not in the configured locations:

Re: FWaaS examples

2016-10-23 Thread Ken
Hi Andrea & Ignasi, Many thanks for quickly responding to my enquiries. Sorry, I didn't make it very clear that my focus was more in the direction of OpenStack yet Andrea provided an apt response. Also, the Ignasi's information about security groups is very useful because this equally falls

Re: FWaaS examples

2016-10-23 Thread Andrea Turli
Hi Ken, in addition to Ignasi' suggestions I can add also the following (hopefully) useful links for FWaaS API, presuming you are in the context of Openstack. Recently we add the support for those API to Openstack Neutron [4]. As usual you can create instantiate a NeutronApi with something like

Re: FWaaS examples

2016-10-23 Thread Ignasi Barrera
Hi Ken, Not all providers have an API to effectively manage firewalls, but most that do, implement the jclouds SecurityGroupExtension [1]. You can get it by calling: context.getComputeService().getSecurityGroupExtension(); That will return an optional that will be present if the extension is