Class NetworkDataLinkBond
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.NetworkDataLinkBond
-
- All Implemented Interfaces:
Editable<NetworkDataLinkBondBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkDataLinkBond extends Object implements Editable<NetworkDataLinkBondBuilder>, KubernetesResource
NetworkDataLinkBond represents a bond link object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkDataLinkBond()No args constructor for use in serializationNetworkDataLinkBond(List<String> bondLinks, String bondMode, String bondXmitHashPolicy, String id, NetworkLinkEthernetMac macAddress, Integer mtu, String name, Map<String,JsonNode> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkDataLinkBondBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getBondLinks()BondLinks is the list of links that are part of the bond.StringgetBondMode()BondMode is the mode of bond used.StringgetBondXmitHashPolicy()Selects the transmit hash policy used for port selection in balance-xor and 802.3ad modesStringgetId()Id is the ID of the interface (used for naming)NetworkLinkEthernetMacgetMacAddress()NetworkDataLinkBond represents a bond link object.IntegergetMtu()MTU is the MTU of the interfaceStringgetName()Name is the interface name to be used by cloud-init.Map<String,JsonNode>getParameters()params blob passed without any validation/modifications into cloud-init configvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBondLinks(List<String> bondLinks)BondLinks is the list of links that are part of the bond.voidsetBondMode(String bondMode)BondMode is the mode of bond used.voidsetBondXmitHashPolicy(String bondXmitHashPolicy)Selects the transmit hash policy used for port selection in balance-xor and 802.3ad modesvoidsetId(String id)Id is the ID of the interface (used for naming)voidsetMacAddress(NetworkLinkEthernetMac macAddress)NetworkDataLinkBond represents a bond link object.voidsetMtu(Integer mtu)MTU is the MTU of the interfacevoidsetName(String name)Name is the interface name to be used by cloud-init.voidsetParameters(Map<String,JsonNode> parameters)params blob passed without any validation/modifications into cloud-init configNetworkDataLinkBondBuildertoBuilder()
-
-
-
Method Detail
-
getBondLinks
public List<String> getBondLinks()
BondLinks is the list of links that are part of the bond.
-
setBondLinks
public void setBondLinks(List<String> bondLinks)
BondLinks is the list of links that are part of the bond.
-
getBondMode
public String getBondMode()
BondMode is the mode of bond used. It can be one of balance-rr, active-backup, balance-xor, broadcast, balance-tlb, balance-alb, 802.3ad
-
setBondMode
public void setBondMode(String bondMode)
BondMode is the mode of bond used. It can be one of balance-rr, active-backup, balance-xor, broadcast, balance-tlb, balance-alb, 802.3ad
-
getBondXmitHashPolicy
public String getBondXmitHashPolicy()
Selects the transmit hash policy used for port selection in balance-xor and 802.3ad modes
-
setBondXmitHashPolicy
public void setBondXmitHashPolicy(String bondXmitHashPolicy)
Selects the transmit hash policy used for port selection in balance-xor and 802.3ad modes
-
getId
public String getId()
Id is the ID of the interface (used for naming)
-
setId
public void setId(String id)
Id is the ID of the interface (used for naming)
-
getMacAddress
public NetworkLinkEthernetMac getMacAddress()
NetworkDataLinkBond represents a bond link object.
-
setMacAddress
public void setMacAddress(NetworkLinkEthernetMac macAddress)
NetworkDataLinkBond represents a bond link object.
-
getMtu
public Integer getMtu()
MTU is the MTU of the interface
-
setMtu
public void setMtu(Integer mtu)
MTU is the MTU of the interface
-
getName
public String getName()
Name is the interface name to be used by cloud-init. When combined with MACAddress, cloud-init will rename the interface matching the MAC to this name. When MACAddress is omitted, cloud-init will use this name directly.
-
setName
public void setName(String name)
Name is the interface name to be used by cloud-init. When combined with MACAddress, cloud-init will rename the interface matching the MAC to this name. When MACAddress is omitted, cloud-init will use this name directly.
-
getParameters
public Map<String,JsonNode> getParameters()
params blob passed without any validation/modifications into cloud-init config
-
setParameters
public void setParameters(Map<String,JsonNode> parameters)
params blob passed without any validation/modifications into cloud-init config
-
edit
public NetworkDataLinkBondBuilder edit()
- Specified by:
editin interfaceEditable<NetworkDataLinkBondBuilder>
-
toBuilder
public NetworkDataLinkBondBuilder toBuilder()
-
-