Class MetaDataHostInterface

    • Constructor Detail

      • MetaDataHostInterface

        public MetaDataHostInterface()
        No args constructor for use in serialization
      • MetaDataHostInterface

        public MetaDataHostInterface​(Boolean fromBootMAC,
                                     String _interface,
                                     String key)
    • Method Detail

      • getFromBootMAC

        public Boolean getFromBootMAC()
        FromBootMAC will fetch the MAC address from the BareMetalHost Spec BootMACAddress field.
      • setFromBootMAC

        public void setFromBootMAC​(Boolean fromBootMAC)
        FromBootMAC will fetch the MAC address from the BareMetalHost Spec BootMACAddress field.
      • getInterface

        public String getInterface()
        Interface is the name of the interface in the BareMetalHost Status Hardware Details list of interfaces from which to fetch the MAC address.
      • setInterface

        public void setInterface​(String _interface)
        Interface is the name of the interface in the BareMetalHost Status Hardware Details list of interfaces from which to fetch the MAC address.
      • getKey

        public String getKey()
        Key will be used as the key to set in the metadata map for cloud-init
      • setKey

        public void setKey​(String key)
        Key will be used as the key to set in the metadata map for cloud-init
      • getAdditionalProperties

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

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

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