NetworkConfiguration

class oci.ocvp.models.NetworkConfiguration(**kwargs)

Bases: object

The network configurations used by Cluster, including OCIDs of the management subnet and VLANs.

Methods:

__init__(**kwargs)

Initializes a new NetworkConfiguration object with values from keyword arguments.

Attributes:

hcx_vlan_id

Gets the hcx_vlan_id of this NetworkConfiguration.

nsx_edge_uplink1_vlan_id

Gets the nsx_edge_uplink1_vlan_id of this NetworkConfiguration.

nsx_edge_uplink2_vlan_id

Gets the nsx_edge_uplink2_vlan_id of this NetworkConfiguration.

nsx_edge_v_tep_vlan_id

[Required] Gets the nsx_edge_v_tep_vlan_id of this NetworkConfiguration.

nsx_v_tep_vlan_id

[Required] Gets the nsx_v_tep_vlan_id of this NetworkConfiguration.

provisioning_subnet_id

[Required] Gets the provisioning_subnet_id of this NetworkConfiguration.

provisioning_vlan_id

Gets the provisioning_vlan_id of this NetworkConfiguration.

replication_vlan_id

Gets the replication_vlan_id of this NetworkConfiguration.

vmotion_vlan_id

[Required] Gets the vmotion_vlan_id of this NetworkConfiguration.

vsan_vlan_id

[Required] Gets the vsan_vlan_id of this NetworkConfiguration.

vsphere_vlan_id

Gets the vsphere_vlan_id of this NetworkConfiguration.

__init__(**kwargs)

Initializes a new NetworkConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • provisioning_subnet_id (str) – The value to assign to the provisioning_subnet_id property of this NetworkConfiguration.

  • vsphere_vlan_id (str) – The value to assign to the vsphere_vlan_id property of this NetworkConfiguration.

  • vmotion_vlan_id (str) – The value to assign to the vmotion_vlan_id property of this NetworkConfiguration.

  • vsan_vlan_id (str) – The value to assign to the vsan_vlan_id property of this NetworkConfiguration.

  • nsx_v_tep_vlan_id (str) – The value to assign to the nsx_v_tep_vlan_id property of this NetworkConfiguration.

  • nsx_edge_v_tep_vlan_id (str) – The value to assign to the nsx_edge_v_tep_vlan_id property of this NetworkConfiguration.

  • nsx_edge_uplink1_vlan_id (str) – The value to assign to the nsx_edge_uplink1_vlan_id property of this NetworkConfiguration.

  • nsx_edge_uplink2_vlan_id (str) – The value to assign to the nsx_edge_uplink2_vlan_id property of this NetworkConfiguration.

  • replication_vlan_id (str) – The value to assign to the replication_vlan_id property of this NetworkConfiguration.

  • provisioning_vlan_id (str) – The value to assign to the provisioning_vlan_id property of this NetworkConfiguration.

  • hcx_vlan_id (str) – The value to assign to the hcx_vlan_id property of this NetworkConfiguration.

property hcx_vlan_id

Gets the hcx_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the SDDC for the HCX component of the VMware environment. This VLAN is a mandatory attribute for Management Cluster when HCX is enabled.

This attribute is not guaranteed to reflect the HCX VLAN currently used by the ESXi hosts in the SDDC. The purpose of this attribute is to show the HCX VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this SDDC in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the SDDC to use a different VLAN for the HCX component of the VMware environment, you should use update_sddc() to update the SDDC’s hcxVlanId with that new VLAN’s OCID.

Returns

The hcx_vlan_id of this NetworkConfiguration.

Return type

str

property nsx_edge_uplink1_vlan_id

Gets the nsx_edge_uplink1_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 1 component of the VMware environment. This VLAN is a mandatory attribute for Management Cluster.

This attribute is not guaranteed to reflect the NSX Edge Uplink 1 VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge Uplink 1 VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this Cluster in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge Uplink 1 component of the VMware environment, you should use update_cluster() to update the Cluster’s nsxEdgeUplink1VlanId with that new VLAN’s OCID.

Returns

The nsx_edge_uplink1_vlan_id of this NetworkConfiguration.

Return type

str

property nsx_edge_uplink2_vlan_id

Gets the nsx_edge_uplink2_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the SDDC for the NSX Edge Uplink 2 component of the VMware environment. This VLAN is a mandatory attribute for Management Cluster.

This attribute is not guaranteed to reflect the NSX Edge Uplink 2 VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge Uplink 2 VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this Cluster in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge Uplink 2 component of the VMware environment, you should use update_cluster() to update the Cluster’s nsxEdgeUplink2VlanId with that new VLAN’s OCID.

Returns

The nsx_edge_uplink2_vlan_id of this NetworkConfiguration.

Return type

str

property nsx_edge_v_tep_vlan_id

[Required] Gets the nsx_edge_v_tep_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the Cluster for the NSX Edge VTEP component of the VMware environment.

This attribute is not guaranteed to reflect the NSX Edge VTEP VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX Edge VTEP VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this Cluster in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX Edge VTEP component of the VMware environment, you should use update_cluster() to update the Cluster’s nsxEdgeVTepVlanId with that new VLAN’s OCID.

Returns

The nsx_edge_v_tep_vlan_id of this NetworkConfiguration.

Return type

str

property nsx_v_tep_vlan_id

[Required] Gets the nsx_v_tep_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the Cluster for the NSX VTEP component of the VMware environment.

This attribute is not guaranteed to reflect the NSX VTEP VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the NSX VTEP VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this Cluster in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the NSX VTEP component of the VMware environment, you should use update_cluster() to update the Cluster’s nsxVTepVlanId with that new VLAN’s OCID.

Returns

The nsx_v_tep_vlan_id of this NetworkConfiguration.

Return type

str

property provisioning_subnet_id

[Required] Gets the provisioning_subnet_id of this NetworkConfiguration. The OCID of the management subnet used to provision the Cluster.

Returns

The provisioning_subnet_id of this NetworkConfiguration.

Return type

str

property provisioning_vlan_id

Gets the provisioning_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the Cluster for the Provisioning component of the VMware environment.

Returns

The provisioning_vlan_id of this NetworkConfiguration.

Return type

str

property replication_vlan_id

Gets the replication_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the Cluster for the vSphere Replication component of the VMware environment.

Returns

The replication_vlan_id of this NetworkConfiguration.

Return type

str

property vmotion_vlan_id

[Required] Gets the vmotion_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the Cluster for the vMotion component of the VMware environment.

This attribute is not guaranteed to reflect the vMotion VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vMotion VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this Cluster in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vMotion component of the VMware environment, you should use update_cluster() to update the Cluster’s vmotionVlanId with that new VLAN’s OCID.

Returns

The vmotion_vlan_id of this NetworkConfiguration.

Return type

str

property vsan_vlan_id

[Required] Gets the vsan_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the Cluster for the vSAN component of the VMware environment.

This attribute is not guaranteed to reflect the vSAN VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vSAN VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this Cluster in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vSAN component of the VMware environment, you should use update_cluster() to update the Cluster’s vsanVlanId with that new VLAN’s OCID.

Returns

The vsan_vlan_id of this NetworkConfiguration.

Return type

str

property vsphere_vlan_id

Gets the vsphere_vlan_id of this NetworkConfiguration. The OCID of the VLAN used by the SDDC for the vSphere component of the VMware environment. This VLAN is a mandatory attribute for Management Cluster.

This attribute is not guaranteed to reflect the vSphere VLAN currently used by the ESXi hosts in the Cluster. The purpose of this attribute is to show the vSphere VLAN that the Oracle Cloud VMware Solution will use for any new ESXi hosts that you add to this Cluster in the future with create_esxi_host().

Therefore, if you change the existing ESXi hosts in the Cluster to use a different VLAN for the vSphere component of the VMware environment, you should use update_sddc() to update the Cluster’s vsphereVlanId with that new VLAN’s OCID.

Returns

The vsphere_vlan_id of this NetworkConfiguration.

Return type

str