Class PortOpts

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PortOpts
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PortOptsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    See Also:
    Serialized Form
    • Method Detail

      • getAdminStateUp

        public Boolean getAdminStateUp()
        adminStateUp sets the administrative state of the created port to up (true), or down (false).
      • setAdminStateUp

        public void setAdminStateUp​(Boolean adminStateUp)
        adminStateUp sets the administrative state of the created port to up (true), or down (false).
      • getAllowedAddressPairs

        public List<AddressPair> getAllowedAddressPairs()
        allowedAddressPairs specifies a set of allowed address pairs to add to the port.
      • setAllowedAddressPairs

        public void setAllowedAddressPairs​(List<AddressPair> allowedAddressPairs)
        allowedAddressPairs specifies a set of allowed address pairs to add to the port.
      • getDescription

        public String getDescription()
        description specifies the description of the created port.
      • setDescription

        public void setDescription​(String description)
        description specifies the description of the created port.
      • getFixedIPs

        public List<FixedIPs> getFixedIPs()
        fixedIPs specifies a set of fixed IPs to assign to the port. They must all be valid for the port's network.
      • setFixedIPs

        public void setFixedIPs​(List<FixedIPs> fixedIPs)
        fixedIPs specifies a set of fixed IPs to assign to the port. They must all be valid for the port's network.
      • getHostID

        public String getHostID()
        The ID of the host where the port is allocated. Do not use this field: it cannot be used correctly. Deprecated: hostID is silently ignored. It will be removed with no replacement.
      • setHostID

        public void setHostID​(String hostID)
        The ID of the host where the port is allocated. Do not use this field: it cannot be used correctly. Deprecated: hostID is silently ignored. It will be removed with no replacement.
      • getMacAddress

        public String getMacAddress()
        macAddress specifies the MAC address of the created port.
      • setMacAddress

        public void setMacAddress​(String macAddress)
        macAddress specifies the MAC address of the created port.
      • getNameSuffix

        public String getNameSuffix()
        If nameSuffix is specified the created port will be named <machine name>-<nameSuffix>. If not specified the port will be named <machine-name>-<index of this port>.
      • setNameSuffix

        public void setNameSuffix​(String nameSuffix)
        If nameSuffix is specified the created port will be named <machine name>-<nameSuffix>. If not specified the port will be named <machine-name>-<index of this port>.
      • getNetworkID

        public String getNetworkID()
        networkID is the ID of the network the port will be created in. It is required.
      • setNetworkID

        public void setNetworkID​(String networkID)
        networkID is the ID of the network the port will be created in. It is required.
      • getPortSecurity

        public Boolean getPortSecurity()
        enable or disable security on a given port incompatible with securityGroups and allowedAddressPairs
      • setPortSecurity

        public void setPortSecurity​(Boolean portSecurity)
        enable or disable security on a given port incompatible with securityGroups and allowedAddressPairs
      • getProfile

        public Map<String,​String> getProfile()
        A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.
      • setProfile

        public void setProfile​(Map<String,​String> profile)
        A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.
      • getProjectID

        public String getProjectID()
        projectID specifies the project ID of the created port. Note that this requires OpenShift to have administrative permissions, which is typically not the case. Use of this field is not recommended. Deprecated: projectID is silently ignored.
      • setProjectID

        public void setProjectID​(String projectID)
        projectID specifies the project ID of the created port. Note that this requires OpenShift to have administrative permissions, which is typically not the case. Use of this field is not recommended. Deprecated: projectID is silently ignored.
      • getSecurityGroups

        public List<String> getSecurityGroups()
        securityGroups specifies a set of security group UUIDs to use instead of the machine's default security groups. The default security groups will be used if this is left empty or not specified.
      • setSecurityGroups

        public void setSecurityGroups​(List<String> securityGroups)
        securityGroups specifies a set of security group UUIDs to use instead of the machine's default security groups. The default security groups will be used if this is left empty or not specified.
      • getTags

        public List<String> getTags()
        tags species a set of tags to add to the port.
      • setTags

        public void setTags​(List<String> tags)
        tags species a set of tags to add to the port.
      • getTenantID

        public String getTenantID()
        tenantID specifies the tenant ID of the created port. Note that this requires OpenShift to have administrative permissions, which is typically not the case. Use of this field is not recommended. Deprecated: tenantID is silently ignored.
      • setTenantID

        public void setTenantID​(String tenantID)
        tenantID specifies the tenant ID of the created port. Note that this requires OpenShift to have administrative permissions, which is typically not the case. Use of this field is not recommended. Deprecated: tenantID is silently ignored.
      • getTrunk

        public Boolean getTrunk()
        Enables and disables trunk at port level. If not provided, openStackMachine.Spec.Trunk is inherited.
      • setTrunk

        public void setTrunk​(Boolean trunk)
        Enables and disables trunk at port level. If not provided, openStackMachine.Spec.Trunk is inherited.
      • getVnicType

        public String getVnicType()
        The virtual network interface card (vNIC) type that is bound to the neutron port.
      • setVnicType

        public void setVnicType​(String vnicType)
        The virtual network interface card (vNIC) type that is bound to the neutron port.
      • getAdditionalProperties

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

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

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