Package kubevirt.io
Class V1Interface
java.lang.Object
kubevirt.io.V1Interface
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1Interface
extends Object
V1Interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Integerprivate V1InterfaceBridgeprivate V1DHCPOptionsprivate Stringprivate V1InterfaceMasqueradeprivate Stringprivate Stringprivate Stringprivate V1InterfaceSlirpprivate V1InterfaceSRIOV -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPortsItem(V1Port portsItem) bridge(V1InterfaceBridge bridge) dhcpOptions(V1DHCPOptions dhcpOptions) booleanBootOrder is an integer value > 0, used to determine ordering of boot devices.Get bridgeIf specified the network interface will pass additional DHCP options to the VMI +optionalInterface MAC address.Get masqueradegetModel()Interface model.getName()Logical name of the interface as well as a reference to the associated networks.If specified, the virtual network interface will be placed on the guests pci address with the specifed PCI address.getPorts()List of ports to be forwarded to the virtual machine.getSlirp()Get slirpgetSriov()Get sriovinthashCode()macAddress(String macAddress) masquerade(V1InterfaceMasquerade masquerade) pciAddress(String pciAddress) voidsetBootOrder(Integer bootOrder) voidsetBridge(V1InterfaceBridge bridge) voidsetDhcpOptions(V1DHCPOptions dhcpOptions) voidsetMacAddress(String macAddress) voidsetMasquerade(V1InterfaceMasquerade masquerade) voidvoidvoidsetPciAddress(String pciAddress) voidvoidsetSlirp(V1InterfaceSlirp slirp) voidsetSriov(V1InterfaceSRIOV sriov) slirp(V1InterfaceSlirp slirp) sriov(V1InterfaceSRIOV sriov) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
bootOrder
-
bridge
-
dhcpOptions
-
macAddress
-
masquerade
-
model
-
name
-
pciAddress
-
ports
-
slirp
-
sriov
-
-
Constructor Details
-
V1Interface
public V1Interface()
-
-
Method Details
-
bootOrder
-
getBootOrder
BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried. +optional- Returns:
- bootOrder
-
setBootOrder
-
bridge
-
getBridge
Get bridge- Returns:
- bridge
-
setBridge
-
dhcpOptions
-
getDhcpOptions
If specified the network interface will pass additional DHCP options to the VMI +optional- Returns:
- dhcpOptions
-
setDhcpOptions
-
macAddress
-
getMacAddress
Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF.- Returns:
- macAddress
-
setMacAddress
-
masquerade
-
getMasquerade
Get masquerade- Returns:
- masquerade
-
setMasquerade
-
model
-
getModel
Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.- Returns:
- model
-
setModel
-
name
-
getName
Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network.- Returns:
- name
-
setName
-
pciAddress
-
getPciAddress
If specified, the virtual network interface will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10 +optional- Returns:
- pciAddress
-
setPciAddress
-
ports
-
addPortsItem
-
getPorts
List of ports to be forwarded to the virtual machine.- Returns:
- ports
-
setPorts
-
slirp
-
getSlirp
Get slirp- Returns:
- slirp
-
setSlirp
-
sriov
-
getSriov
Get sriov- Returns:
- sriov
-
setSriov
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-