> +
> +/**
> + * Tests parsing and Guice wiring of RouterApi
> + */
> +@Test(groups = "live", testName = "SecurityGroupApiLiveTest")
> +public class SecurityGroupApiLiveTest extends BaseNeutronApiLiveTest {
> +
> +   /**
> +    * Smoke test for the Security Group extension for Neutron
> +    */
> +   public void testCreateUpdateAndDeleteSecurityGroup() {
> +      for (String region : api.getConfiguredRegions()) {
> +         SecurityGroupApi sgApi = api.getSecurityGroupApi(region).get();
> +
> +         SecurityGroup securityGroup = sgApi.create(
> +               
> SecurityGroup.createOptions().name("jclouds-test").description("jclouds test 
> security group").build());

This seems to work fine - you can have the same name multiple times, I think.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/132/files#r17031383

Reply via email to