Class NovaTemplateOptions

  • All Implemented Interfaces:
    Cloneable

    public class NovaTemplateOptions
    extends TemplateOptions
    implements Cloneable
    Contains options supported in the ComputeService#runNode operation on the "openstack-nova" provider.

    Usage

    The recommended way to instantiate a NovaTemplateOptions object is to statically import NovaTemplateOptions.* and invoke a static creation method followed by an instance mutator (if needed):

    import static org.jclouds.aws.ec2.compute.options.NovaTemplateOptions.Builder.*;

    ComputeService api = // get connection templateBuilder.options(inboundPorts(22, 80, 8080, 443)); Set set = api.createNodesInGroup(tag, 2, templateBuilder.build());