[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Create Subnet Mapping
DescriptionCreate a new subnet mapping (CIDR to VLAN ID). Physical to physical flows (without the switches added as a data source) can be linked to a VLAN ID with to these mappings.
Request
URLURL
https://vrni.example.com/api/ni/settings/subnet-mappings
Request Body
Request Body
SubnetMappingRequest
of type(s) application/json
Required
{
"cidr": "string",
"vlan_id": 0
}
string
cidr
Optional
integer as int32
vlan_id
Optional
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
201 Created
Returns
SubnetMapping
of type(s) application/json
This response body class contains all of the following:
BaseEntity, InlineSubnetMapping1
Errors
ApiError
400
Bad Request
401
Unauthorized
403
Forbidden
500
Internal Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"cidr":"string","vlan_id":0}' https://vrni.example.com/api/ni/settings/subnet-mappings
[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
On This Page
Settings Operations
post
post
post
post
post
post
post
delete
delete
delete
delete
delete
delete
delete
delete
delete
delete
post
post
get
get
get
get
get
get
get
get
get
get
get
post
put