Class NetworkDataLinkBond
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.NetworkDataLinkBond
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkBondBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkDataLinkBond extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkBondBuilder>, io.fabric8.kubernetes.api.model.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)
-
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 interfacevoidsetAdditionalProperties(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 interfaceNetworkDataLinkBondBuildertoBuilder()
-
-
-
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
-
edit
public NetworkDataLinkBondBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkDataLinkBondBuilder>
-
toBuilder
public NetworkDataLinkBondBuilder toBuilder()
-
-