demobox commented on this pull request.

> +   .overrides(neutronProperties)
+   .modules(ImmutableSet.of(new SLF4JLoggingModule()))
+   .build();
+// Create the connection to OpenStack nova and link it to Neutron
+NovaApi nova = ContextBuilder.newBuilder("openstack-nova")
+   .endpoint("http://localhost/identity/v3/";)
+   .credentials("domain:user", "password")
+   .overrides(novaProperties)
+   .modules(ImmutableSet.of(
+               ContextLinking.linkContext(neutronCtx),
+               new SLF4JLoggingModule()))
+   .buildApi(NovaApi.class);
+{% endhighlight %}
+With this configuration the `nova` API is configured to use the linked 
`neutron` for all networking operations.

> I'd prefer to see comments on the blog posts asking for more clarity rather 
> than try to come up with the perfect sentence :)

A fair point, although of course we are unlikely to know how many people are 
confused but do *not* leave comments ;-)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:

Reply via email to