Class NetworkStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.NetworkStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NetworkStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NetworkStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<NetworkStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NetworkStatus is the current network configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkStatus()No args constructor for use in serializationNetworkStatus(List<ClusterNetworkEntry> clusterNetwork, Integer clusterNetworkMTU, List<io.fabric8.kubernetes.api.model.Condition> conditions, NetworkMigration migration, String networkType, List<String> serviceNetwork)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<ClusterNetworkEntry>getClusterNetwork()IP address pool to use for pod IPs.IntegergetClusterNetworkMTU()clusterNetworkMTU is the MTU for inter-pod networking.List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions represents the observations of a network.config current state.NetworkMigrationgetMigration()NetworkStatus is the current network configuration.StringgetNetworkType()networkType is the plugin that is deployed (e.g.List<String>getServiceNetwork()IP address pool for services.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterNetwork(List<ClusterNetworkEntry> clusterNetwork)IP address pool to use for pod IPs.voidsetClusterNetworkMTU(Integer clusterNetworkMTU)clusterNetworkMTU is the MTU for inter-pod networking.voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions represents the observations of a network.config current state.voidsetMigration(NetworkMigration migration)NetworkStatus is the current network configuration.voidsetNetworkType(String networkType)networkType is the plugin that is deployed (e.g.voidsetServiceNetwork(List<String> serviceNetwork)IP address pool for services.NetworkStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
NetworkStatus
public NetworkStatus()
No args constructor for use in serialization
-
NetworkStatus
public NetworkStatus(List<ClusterNetworkEntry> clusterNetwork, Integer clusterNetworkMTU, List<io.fabric8.kubernetes.api.model.Condition> conditions, NetworkMigration migration, String networkType, List<String> serviceNetwork)
-
-
Method Detail
-
getClusterNetwork
public List<ClusterNetworkEntry> getClusterNetwork()
IP address pool to use for pod IPs.
-
setClusterNetwork
public void setClusterNetwork(List<ClusterNetworkEntry> clusterNetwork)
IP address pool to use for pod IPs.
-
getClusterNetworkMTU
public Integer getClusterNetworkMTU()
clusterNetworkMTU is the MTU for inter-pod networking.
-
setClusterNetworkMTU
public void setClusterNetworkMTU(Integer clusterNetworkMTU)
clusterNetworkMTU is the MTU for inter-pod networking.
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions represents the observations of a network.config current state. Known .status.conditions.type are: "NetworkDiagnosticsAvailable"
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions represents the observations of a network.config current state. Known .status.conditions.type are: "NetworkDiagnosticsAvailable"
-
getMigration
public NetworkMigration getMigration()
NetworkStatus is the current network configuration.
-
setMigration
public void setMigration(NetworkMigration migration)
NetworkStatus is the current network configuration.
-
getNetworkType
public String getNetworkType()
networkType is the plugin that is deployed (e.g. OVNKubernetes).
-
setNetworkType
public void setNetworkType(String networkType)
networkType is the plugin that is deployed (e.g. OVNKubernetes).
-
getServiceNetwork
public List<String> getServiceNetwork()
IP address pool for services. Currently, we only support a single entry here.
-
setServiceNetwork
public void setServiceNetwork(List<String> serviceNetwork)
IP address pool for services. Currently, we only support a single entry here.
-
edit
public NetworkStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NetworkStatusBuilder>
-
toBuilder
public NetworkStatusBuilder toBuilder()
-
-