Class NetworkParam
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1alpha1.NetworkParam
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkParamBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkParam extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkParamBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkParam()No args constructor for use in serializationNetworkParam(Filter filter, String fixedIp, Boolean noAllowedAddressPairs, Boolean portSecurity, List<String> portTags, Map<String,String> profile, List<SubnetParam> subnets, String uuid, String vnicType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkParamBuilderedit()Map<String,Object>getAdditionalProperties()FiltergetFilter()StringgetFixedIp()A fixed IPv4 address for the NIC.BooleangetNoAllowedAddressPairs()noAllowedAddressPairs disables creation of allowed address pairs for the network portsBooleangetPortSecurity()portSecurity optionally enables or disables security on ports managed by OpenStackList<String>getPortTags()portTags allows users to specify a list of tags to add to ports created in a given networkMap<String,String>getProfile()A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.List<SubnetParam>getSubnets()Subnet within a network to useStringgetUuid()The UUID of the network.StringgetVnicType()The virtual network interface card (vNIC) type that is bound to the neutron port.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFilter(Filter filter)voidsetFixedIp(String fixedIp)A fixed IPv4 address for the NIC.voidsetNoAllowedAddressPairs(Boolean noAllowedAddressPairs)noAllowedAddressPairs disables creation of allowed address pairs for the network portsvoidsetPortSecurity(Boolean portSecurity)portSecurity optionally enables or disables security on ports managed by OpenStackvoidsetPortTags(List<String> portTags)portTags allows users to specify a list of tags to add to ports created in a given networkvoidsetProfile(Map<String,String> profile)A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.voidsetSubnets(List<SubnetParam> subnets)Subnet within a network to usevoidsetUuid(String uuid)The UUID of the network.voidsetVnicType(String vnicType)The virtual network interface card (vNIC) type that is bound to the neutron port.NetworkParamBuildertoBuilder()
-
-
-
Method Detail
-
getFilter
public Filter getFilter()
-
setFilter
public void setFilter(Filter filter)
-
getFixedIp
public String getFixedIp()
A fixed IPv4 address for the NIC. Deprecated: fixedIP is silently ignored. Use subnets instead.
-
setFixedIp
public void setFixedIp(String fixedIp)
A fixed IPv4 address for the NIC. Deprecated: fixedIP is silently ignored. Use subnets instead.
-
getNoAllowedAddressPairs
public Boolean getNoAllowedAddressPairs()
noAllowedAddressPairs disables creation of allowed address pairs for the network ports
-
setNoAllowedAddressPairs
public void setNoAllowedAddressPairs(Boolean noAllowedAddressPairs)
noAllowedAddressPairs disables creation of allowed address pairs for the network ports
-
getPortSecurity
public Boolean getPortSecurity()
portSecurity optionally enables or disables security on ports managed by OpenStack
-
setPortSecurity
public void setPortSecurity(Boolean portSecurity)
portSecurity optionally enables or disables security on ports managed by OpenStack
-
getPortTags
public List<String> getPortTags()
portTags allows users to specify a list of tags to add to ports created in a given network
-
setPortTags
public void setPortTags(List<String> portTags)
portTags allows users to specify a list of tags to add to ports created in a given network
-
getProfile
public Map<String,String> getProfile()
A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.
-
setProfile
public void setProfile(Map<String,String> profile)
A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.
-
getSubnets
public List<SubnetParam> getSubnets()
Subnet within a network to use
-
setSubnets
public void setSubnets(List<SubnetParam> subnets)
Subnet within a network to use
-
getUuid
public String getUuid()
The UUID of the network. Required if you omit the port attribute.
-
setUuid
public void setUuid(String uuid)
The UUID of the network. Required if you omit the port attribute.
-
getVnicType
public String getVnicType()
The virtual network interface card (vNIC) type that is bound to the neutron port.
-
setVnicType
public void setVnicType(String vnicType)
The virtual network interface card (vNIC) type that is bound to the neutron port.
-
edit
public NetworkParamBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkParamBuilder>
-
toBuilder
public NetworkParamBuilder toBuilder()
-
-