Interface ServerCreate

    • Method Detail

      • getName

        String getName()
        The descriptive name for the Server
        Returns:
        the name of the server
      • getAdminPass

        String getAdminPass()
        Returns:
        the administrative password
      • getImageRef

        String getImageRef()
        A reference to the boot Image
        Returns:
        the image identifier
      • getFlavorRef

        String getFlavorRef()
        The resources/flavor to be assigned
        Returns:
        the flavor identifier
      • getAccessIPv4

        String getAccessIPv4()
        Returns:
        the accessible IPV4 address
      • getAccessIPv6

        String getAccessIPv6()
        Returns:
        the accessible IPV6 address
      • getMin

        Integer getMin()
        Returns:
        the min
      • getMax

        Integer getMax()
        Gets the max.
        Returns:
        the max
      • getDiskConfig

        Server.DiskConfig getDiskConfig()
        Controls how the disk is partitioned
        Returns:
        the disk configuration
      • getKeyName

        String getKeyName()
        name of keypair to inject into the instance
        Returns:
        the keypair name
      • getUserData

        String getUserData()
        Gets the user data.
        Returns:
        the user data
      • isConfigDrive

        boolean isConfigDrive()
        The value for config drive
        Returns:
        true, if this is a config based drive
      • getMetaData

        Map<String,​String> getMetaData()
        Gets the meta data.
        Returns:
        the meta data
      • getPersonality

        List<Personality> getPersonality()
        Personality is a list of Files which will be injected onto the server.
        Returns:
        the personality
        See Also:
        Personality
      • getSecurityGroups

        List<? extends SecurityGroup> getSecurityGroups()
        Gets the security groups.
        Returns:
        the security groups
      • getAvailabilityZone

        String getAvailabilityZone()
        Gets the availability zone.
        Returns:
        the availability zone
      • getNetworks

        List<? extends NetworkCreate> getNetworks()
        Gets the networks.
        Returns:
        the networks
      • getSchedulerHints

        Map<String,​Object> getSchedulerHints()
        A Map of Key and Value used for scheduler hints on bootup
        Returns:
        scheduler hints or null
      • addPersonality

        void addPersonality​(String path,
                            String contents)
        Adds the personality.
        Parameters:
        path - the path
        contents - the contents
      • addSecurityGroup

        void addSecurityGroup​(String name)
        Adds the security group.
        Parameters:
        name - the name
      • addNetwork

        void addNetwork​(String id,
                        String fixedIP)
        Adds the network.
        Parameters:
        id - the id
        fixedIP - the fixed ip
      • addNetworkPort

        void addNetworkPort​(String id)
        Adds network port
        Parameters:
        id - id of a premade neutron port