API Guide

Configuration
Switch configuration based on fabric intent.
Topics:
GET /fabric-intents/{fabric-intent-id}/configuration/vlans
GET /fabric-intents/{fabric-intent-id}/
configuration/vlans
Retrieves host network information that is generated from the configuration for the specified fabric intent using the fabric intent ID.
API
GET /fabric-intents/{fabric-intent-id}/configuration/vlans
Description This API returns the generated configuration for host networks. This comprises VLANs , port channel and member
interfaces. The port channel information will be returned for the deployed fabric intents. This also return the lag id
for leaf pairs for the port channel.
Parameters
Table 19. API parameters
Filter name Description
fabric-intent-id
string
(path)
Unique identifier of the fabric intent.
Responses 200 — Success response to retrieve the VLAN configuration for fabric intent
{
"data": [
{
"vlan_id": 101,
"description": "VLAN 101 for business administration",
"type": "WORKLOAD_VLAN",
"switch_vlan_config": [
{
"vrrp": {
"ip_address": "xxx.x.x.x/xx"
},
"virtual_intfs": [
{
"switch_id": "2:51809586522226729",
"switch_name": "sc2-t5-s4148-l1",
"intf_name": "vlan101",
"ip_address": "xxx.x.x.x/xx"
},
{
"switch_id": "2:51809586522816572",
"switch_name": "sc2-t5-s4148-l2",
"intf_name": "vlan101",
"ip_address": "xxx.x.x.x/xx"
}
],
"port_channels": null
}
]
}
6
Configuration 41