trevorflanagan commented on this pull request.
> +{% endhighlight %} + +A Vlan deployment is an asynchronous process. We need to wait for it to complete. The Dimension Data provider has built in predicates that will block execution and check that the Vlan's State has moved from PENDING_ADD to NORMAL. + +Following is some example code that shows how the to use predicate suitable for asserting a Vlan state has transitioned to the NORMAL state. The predicate uses the Vlan Identifier we wish to check the state of. +{% highlight java %} + Injector injector = contextBuilder.buildInjector(); + Predicate<String> vlanNormalPredicate = injector.getInstance(Key.get(new TypeLiteral<Predicate<String>>() + { + }, Names.named("VLAN_NORMAL_PREDICATE"))); + vlanNormalPredicate.apply(vlanId); +{% endhighlight %} + +## <a id="how-to-list-available-os-images"></a>How to: List Os Images + +For more information on Os Images see [here](https://docs.mcp-services.net/display/CCD/Introduction+to+MCP+2.0+Data+Center+Locations#IntroductiontoMCP2.0DataCenterLocations-CloudImagesandServers) Done -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-site/pull/220#discussion_r224152402