[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Get IP Prefix Sequences

Description

Get the sequences of network addresses which can be generated from an IP Prefix. “startingPrefixIpAddress”, “prefixLength” and “prefixCount” filters are required. For Example: An IP Prefix with startingPrefixIpAddress 192.168.0.0 and prefixLength 30 and prefixCount 3 will result in generation of 3 sequences each with 4 IP addresses as: 192.168.0.0/30, 192.168.0.4/30 and 192.168.0.8/30 Filter example:(filter=startingPrefixIpAddress==192.168.0.0;prefixLength==30;prefixCount==3)

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/ipSpaces/ipPrefixSequences
Copy

Query Parameters

Query Parameters

string
filter Optional

Filter for a query. FIQL format.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns IpPrefixSequenceList of type(s) application/json;version=37.2
{
	"lastSequence": "string",
	"sequences": [
		"string"
	]
}
string
lastSequence Optional

Last sequence which can be generated based on input values for IP Prefix.


array of string
sequences Optional

Ordered list of IP prefix sequences which can be generated. Number of sequences will be limited to the first 10 sequences if specified prefixCount is greater than 10.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/ipSpaces/ipPrefixSequences


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?