Class OpenstackProviderSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<OpenstackProviderSpecBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class OpenstackProviderSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<OpenstackProviderSpecBuilder>, io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
    OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
    See Also:
    Serialized Form
    • Method Detail

      • getAdditionalBlockDevices

        public List<AdditionalBlockDevice> getAdditionalBlockDevices()
        additionalBlockDevices is a list of specifications for additional block devices to attach to the server instance
      • setAdditionalBlockDevices

        public void setAdditionalBlockDevices​(List<AdditionalBlockDevice> additionalBlockDevices)
        additionalBlockDevices is a list of specifications for additional block devices to attach to the server instance
      • getApiVersion

        public String getApiVersion()
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Specified by:
        getApiVersion in interface io.fabric8.kubernetes.api.model.HasMetadata
      • setApiVersion

        public void setApiVersion​(String apiVersion)
        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
        Specified by:
        setApiVersion in interface io.fabric8.kubernetes.api.model.HasMetadata
      • getAvailabilityZone

        public String getAvailabilityZone()
        The availability zone from which to launch the server.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)
        The availability zone from which to launch the server.
      • getCloudName

        public String getCloudName()
        The name of the cloud to use from the clouds secret
      • setCloudName

        public void setCloudName​(String cloudName)
        The name of the cloud to use from the clouds secret
      • getCloudsSecret

        public io.fabric8.kubernetes.api.model.SecretReference getCloudsSecret()
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
      • setCloudsSecret

        public void setCloudsSecret​(io.fabric8.kubernetes.api.model.SecretReference cloudsSecret)
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
      • getConfigDrive

        public Boolean getConfigDrive()
        Config Drive support
      • setConfigDrive

        public void setConfigDrive​(Boolean configDrive)
        Config Drive support
      • getFlavor

        public String getFlavor()
        The flavor reference for the flavor for your server instance.
      • setFlavor

        public void setFlavor​(String flavor)
        The flavor reference for the flavor for your server instance.
      • getFloatingIP

        public String getFloatingIP()
        floatingIP specifies a floating IP to be associated with the machine. Note that it is not safe to use this parameter in a MachineSet, as only one Machine may be assigned the same floating IP.


        Deprecated: floatingIP will be removed in a future release as it cannot be implemented correctly.

      • setFloatingIP

        public void setFloatingIP​(String floatingIP)
        floatingIP specifies a floating IP to be associated with the machine. Note that it is not safe to use this parameter in a MachineSet, as only one Machine may be assigned the same floating IP.


        Deprecated: floatingIP will be removed in a future release as it cannot be implemented correctly.

      • getImage

        public String getImage()
        The name of the image to use for your server instance. If the RootVolume is specified, this will be ignored and use rootVolume directly.
      • setImage

        public void setImage​(String image)
        The name of the image to use for your server instance. If the RootVolume is specified, this will be ignored and use rootVolume directly.
      • getKeyName

        public String getKeyName()
        The ssh key to inject in the instance
      • setKeyName

        public void setKeyName​(String keyName)
        The ssh key to inject in the instance
      • getKind

        public String getKind()
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
        Specified by:
        getKind in interface io.fabric8.kubernetes.api.model.HasMetadata
      • setKind

        public void setKind​(String kind)
        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
      • getMetadata

        public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
        Specified by:
        getMetadata in interface io.fabric8.kubernetes.api.model.HasMetadata
      • setMetadata

        public void setMetadata​(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
        Specified by:
        setMetadata in interface io.fabric8.kubernetes.api.model.HasMetadata
      • getNetworks

        public List<NetworkParam> getNetworks()
        A networks object. Required parameter when there are multiple networks defined for the tenant. When you do not specify the networks parameter, the server attaches to the only network created for the current tenant.
      • setNetworks

        public void setNetworks​(List<NetworkParam> networks)
        A networks object. Required parameter when there are multiple networks defined for the tenant. When you do not specify the networks parameter, the server attaches to the only network created for the current tenant.
      • getPorts

        public List<PortOpts> getPorts()
        Create and assign additional ports to instances
      • setPorts

        public void setPorts​(List<PortOpts> ports)
        Create and assign additional ports to instances
      • getPrimarySubnet

        public String getPrimarySubnet()
        The subnet that a set of machines will get ingress/egress traffic from Deprecated: primarySubnet is silently ignored. Use subnets instead.
      • setPrimarySubnet

        public void setPrimarySubnet​(String primarySubnet)
        The subnet that a set of machines will get ingress/egress traffic from Deprecated: primarySubnet is silently ignored. Use subnets instead.
      • getRootVolume

        public RootVolume getRootVolume()
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
      • setRootVolume

        public void setRootVolume​(RootVolume rootVolume)
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
      • getSecurityGroups

        public List<SecurityGroupParam> getSecurityGroups()
        The names of the security groups to assign to the instance
      • setSecurityGroups

        public void setSecurityGroups​(List<SecurityGroupParam> securityGroups)
        The names of the security groups to assign to the instance
      • getServerGroupID

        public String getServerGroupID()
        The server group to assign the machine to.
      • setServerGroupID

        public void setServerGroupID​(String serverGroupID)
        The server group to assign the machine to.
      • getServerGroupName

        public String getServerGroupName()
        The server group to assign the machine to. A server group with that name will be created if it does not exist. If both ServerGroupID and ServerGroupName are non-empty, they must refer to the same OpenStack resource.
      • setServerGroupName

        public void setServerGroupName​(String serverGroupName)
        The server group to assign the machine to. A server group with that name will be created if it does not exist. If both ServerGroupID and ServerGroupName are non-empty, they must refer to the same OpenStack resource.
      • getServerMetadata

        public Map<String,​String> getServerMetadata()
        Metadata mapping. Allows you to create a map of key value pairs to add to the server instance.
      • setServerMetadata

        public void setServerMetadata​(Map<String,​String> serverMetadata)
        Metadata mapping. Allows you to create a map of key value pairs to add to the server instance.
      • getSshUserName

        public String getSshUserName()
        The machine ssh username Deprecated: sshUserName is silently ignored.
      • setSshUserName

        public void setSshUserName​(String sshUserName)
        The machine ssh username Deprecated: sshUserName is silently ignored.
      • getTags

        public List<String> getTags()
        Machine tags Requires Nova api 2.52 minimum!
      • setTags

        public void setTags​(List<String> tags)
        Machine tags Requires Nova api 2.52 minimum!
      • getTrunk

        public Boolean getTrunk()
        Whether the server instance is created on a trunk port or not.
      • setTrunk

        public void setTrunk​(Boolean trunk)
        Whether the server instance is created on a trunk port or not.
      • getUserDataSecret

        public io.fabric8.kubernetes.api.model.SecretReference getUserDataSecret()
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
      • setUserDataSecret

        public void setUserDataSecret​(io.fabric8.kubernetes.api.model.SecretReference userDataSecret)
        OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)