> +               Rule.createOptions(RuleDirection.EGRESS, 
> securityGroup.getId())
> +                     .ethertype(RuleEthertype.IPV6)
> +                     .portRangeMax(90)
> +                     .portRangeMin(80)
> +                     .protocol(RuleProtocol.TCP)
> +                     .build());
> +
> +         assertNotNull(rule);
> +
> +         // Refresh
> +         securityGroup = sgApi.getSecurityGroup(securityGroup.getId());
> +
> +         assertEquals(securityGroup.getName(), "jclouds-test");
> +         assertEquals(securityGroup.getDescription(), "jclouds test security 
> group");
> +
> +         assertEquals(securityGroup.getRules().size(), 3, "Expected 2 
> default rules");

Do we need this message - it looks like it's less descriptive than the default 
(apart from being wrong ;-))

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

Reply via email to