Class VSpherePlatformNodeNetworkingSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworkingSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VSpherePlatformNodeNetworkingSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VSpherePlatformNodeNetworkingSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<VSpherePlatformNodeNetworkingSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VSpherePlatformNodeNetworkingSpec holds the network CIDR(s) and port group name for including and excluding IP ranges in the cloud provider. This would be used for example when multiple network adapters are attached to a guest to help determine which IP address the cloud config manager should use for the external and internal node networking.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VSpherePlatformNodeNetworkingSpec()No args constructor for use in serializationVSpherePlatformNodeNetworkingSpec(List<String> excludeNetworkSubnetCidr, String network, List<String> networkSubnetCidr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VSpherePlatformNodeNetworkingSpecBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getExcludeNetworkSubnetCidr()excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting the IP address from the VirtualMachine's VM for use in the status.addresses fields.StringgetNetwork()network VirtualMachine's VM Network names that will be used to when searching for status.addresses fields.List<String>getNetworkSubnetCidr()networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs that will be used in respective status.addresses fields.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetExcludeNetworkSubnetCidr(List<String> excludeNetworkSubnetCidr)excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting the IP address from the VirtualMachine's VM for use in the status.addresses fields.voidsetNetwork(String network)network VirtualMachine's VM Network names that will be used to when searching for status.addresses fields.voidsetNetworkSubnetCidr(List<String> networkSubnetCidr)networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs that will be used in respective status.addresses fields.VSpherePlatformNodeNetworkingSpecBuildertoBuilder()
-
-
-
Method Detail
-
getExcludeNetworkSubnetCidr
public List<String> getExcludeNetworkSubnetCidr()
excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting the IP address from the VirtualMachine's VM for use in the status.addresses fields.
-
setExcludeNetworkSubnetCidr
public void setExcludeNetworkSubnetCidr(List<String> excludeNetworkSubnetCidr)
excludeNetworkSubnetCidr IP addresses in subnet ranges will be excluded when selecting the IP address from the VirtualMachine's VM for use in the status.addresses fields.
-
getNetwork
public String getNetwork()
network VirtualMachine's VM Network names that will be used to when searching for status.addresses fields. Note that if internal.networkSubnetCIDR and external.networkSubnetCIDR are not set, then the vNIC associated to this network must only have a single IP address assigned to it. The available networks (port groups) can be listed using `govc ls 'network/*'`
-
setNetwork
public void setNetwork(String network)
network VirtualMachine's VM Network names that will be used to when searching for status.addresses fields. Note that if internal.networkSubnetCIDR and external.networkSubnetCIDR are not set, then the vNIC associated to this network must only have a single IP address assigned to it. The available networks (port groups) can be listed using `govc ls 'network/*'`
-
getNetworkSubnetCidr
public List<String> getNetworkSubnetCidr()
networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs that will be used in respective status.addresses fields.
-
setNetworkSubnetCidr
public void setNetworkSubnetCidr(List<String> networkSubnetCidr)
networkSubnetCidr IP address on VirtualMachine's network interfaces included in the fields' CIDRs that will be used in respective status.addresses fields.
-
edit
public VSpherePlatformNodeNetworkingSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VSpherePlatformNodeNetworkingSpecBuilder>
-
toBuilder
public VSpherePlatformNodeNetworkingSpecBuilder toBuilder()
-
-