public Vertigo deployNetwork(String cluster, final String name, final Handler<AsyncResult<ActiveNetwork>> doneHandler) {
    getCluster(cluster, new Handler<AsyncResult<Cluster>>() {
      @Override
      public void handle(AsyncResult<Cluster> result) {
        if (result.failed()) {
          new DefaultFutureResult<ActiveNetwork>(result.cause()).setHandler(doneHandler);
        } else {
          result.result().deployNetwork(name, doneHandler);
        }
      }
    });
    return this;
  }
public Vertigo deployNetwork ( String cluster , final String name , final Handler < AsyncResult < ActiveNetwork > > doneHandler ) { getCluster ( cluster , new Handler < AsyncResult < Cluster > > ( ) { @ Override public void handle ( AsyncResult < Cluster > result ) { if ( result . failed ( ) ) { new DefaultFutureResult < ActiveNetwork > ( result . cause ( ) ) . setHandler ( doneHandler ) ; } else { result . result ( ) . deployNetwork ( name , doneHandler ) ; } } } ) ; return this ; }
Deploys a bare network to a specific cluster.<p>

The network will be deployed with no components and no connections. You
can add components and connections to the network with an {@link ActiveNetwork}
instance.

@param cluster The cluster to which to deploy the network.
@param name The name of the network to deploy.
@param doneHandler An asynchronous handler to be called once the network has
completed deployment. The handler will be called with an {@link ActiveNetwork}
instance which can be used to add or remove components and connections from
the network.
@return The Vertigo instance.