You can update the IPoIB tenant vNet details such as the CIDR and IP range.
The following table describes the conditions to update vNet details, such as IP CIDR, IP Range, and Global IP Pool.
IP CIDR | IP Range | Global IP Pool |
---|---|---|
No IP addresses reserved in the vNet or assigned to an instance. |
Even if all the IP addresses in the range are reserved or in use, you can increase the number of IP addresses in the range. |
No IP addresses reserved in the vNet or assigned to an instance. |
Use the following command to update an IPoIB subnet:
oracle-compute update vnet name [--cidr] [--ipranges] [--gateway] [--description] [--global_ip_num]
If you precede the IP range by +, then the IP range that is specified is added to the current set of IP addresses. If you precede the IP range by -, then the IP range that is specified is deleted from the current set of IP addresses.
For more information, see CLI Reference for Oracle Compute Cloud Service.
To update an IPoIB tenant vNet using the API, use the PUT https://api.oc.example.com/vnet/name
method.
For more information, see REST API Reference for Oracle Compute Cloud Service.