[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf

Add IP Pool To Network Of Network Pool

Description

Add an IP Pool to a Network of a Network Pool

Request

Request

URL

URL


post
https://sfo-vcf01.rainpole.io/v1/network-pools/{id}/networks/{networkId}/ip-pools
Copy

Path Parameters

Path Parameters

string
id Required

Id of the networkpoolk


string
networkId Required

Id of the network


Request Body

Request Body

IpPool of type(s) application/json Required

ipPool

{
	"end": "string",
	"start": "string"
}
string
end Optional

End IP address of the IP pool


string
start Optional

Start IP address of the IP pool

Response

Response

Response Body

Response Body

200 OK

Returns Network of type(s) application/json

Add the IP Pool associated with a Network of a Network Pool

{
	"freeIps": [
		"string"
	],
	"gateway": "string",
	"id": "string",
	"ipPools": [
		{
			"end": "string",
			"start": "string"
		}
	],
	"mask": "string",
	"mtu": 0,
	"subnet": "string",
	"type": "string",
	"usedIps": [
		"string"
	],
	"vlanId": 0
}
array of string
freeIps Optional

List of free IPs to use


string
gateway Optional

Gateway for the network


string
id Optional

The ID of the network


array of IpPool
ipPools Optional

List of IP pool ranges to use


string
mask Optional

Subnet mask for the subnet of the network


integer as int32
mtu Optional

MTU of the network


string
subnet Optional

Subnet associated with the network


string
type Optional

Network Type of the network


array of string
usedIps Optional

List of used IPs


integer as int32
vlanId Optional

VLAN ID associated with the network

Errors

Errors

Error
400

IP range validation failed error


Error
404

Either Network Pool ID or Network ID not found


Error
500

Unexpected error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"end":"string","start":"string"}' https://sfo-vcf01.rainpole.io/v1/network-pools/{id}/networks/{networkId}/ip-pools


[{"label":"Latest (5.0.0)","version":"latest"},{"version":"4.5.1"},{"version":"4.5.0"},{"version":"4.4.0"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1126/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1077/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1032/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1002/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/921/vmware-cloud-foundation","version":"4.0"},{"link":"https://developer.vmware.com/apis/925/vmware-cloud-foundation","version":"3.10"},{"link":"https://developer.vmware.com/apis/891/vmware-cloud-foundation","version":"3.9.1"},{"link":"https://developer.vmware.com/apis/723/vmware-cloud-foundation","version":"3.9.0"},{"link":"https://developer.vmware.com/apis/711/vmware-cloud-foundation","version":"3.8.1"},{"link":"https://developer.vmware.com/apis/685/vmware-cloud-foundation","version":"3.8"}]
vcf
Feedback

Was this page helpful?