Class SimpleMacvlanConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class SimpleMacvlanConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<SimpleMacvlanConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    SimpleMacvlanConfig contains configurations for macvlan interface.
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleMacvlanConfig

        public SimpleMacvlanConfig()
        No args constructor for use in serialization
    • Method Detail

      • getIpamConfig

        public IPAMConfig getIpamConfig()
        SimpleMacvlanConfig contains configurations for macvlan interface.
      • setIpamConfig

        public void setIpamConfig​(IPAMConfig ipamConfig)
        SimpleMacvlanConfig contains configurations for macvlan interface.
      • getMaster

        public String getMaster()
        master is the host interface to create the macvlan interface from. If not specified, it will be default route interface
      • setMaster

        public void setMaster​(String master)
        master is the host interface to create the macvlan interface from. If not specified, it will be default route interface
      • getMode

        public String getMode()
        mode is the macvlan mode: bridge, private, vepa, passthru. The default is bridge
      • setMode

        public void setMode​(String mode)
        mode is the macvlan mode: bridge, private, vepa, passthru. The default is bridge
      • getMtu

        public Long getMtu()
        mtu is the mtu to use for the macvlan interface. if unset, host's kernel will select the value.
      • setMtu

        public void setMtu​(Long mtu)
        mtu is the mtu to use for the macvlan interface. if unset, host's kernel will select the value.
      • getAdditionalProperties

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

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

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