API Guide
Host-networks
Host network objects within a fabric intent.
Topics:
• GET /fabrics-intents/{fabric-intent-id}/host-networks
• POST /fabrics-intents/{fabric-intent-id}/host-networks
• GET /fabrics-intents/{fabric-intent-id}/host-networks/{host-network-id}
• PUT /fabrics-intents/{fabric-intent-id}/host-networks/{host-network-id}
• DELETE /fabrics-intents/{fabric-intent-id}/host-networks/{host-network-id}
GET /fabrics-intents/{fabric-intent-id}/host-
networks
Retrieve all host network objects within a fabric intent.
API
GET /fabrics-intents/{fabric-intent-id}/host-networks
Description This API returns all host network objects within a fabric intent using the ID of the fabric intent.
Parameters
Table 40. API parameters
Filter name Description
fabric-intent-id
string
(path)
Unique identifier of the fabric intent. For example:
41:51776562459279527
Responses 200 — Response to get all host networks
{
"data": [
{
"vlan_id": 100,
"type": "WORKLOAD_VLAN",
"data": [
{
"switch_id_1": "2:51771176554102825",
"switch_id_2": "2:51771176554692670",
"svi_ip_1": "10.1.1.2/24",
"svi_ip_2": "10.1.1.3/24",
"vrrp_virtual_ip": "10.1.1.1/24"
}
],
"name": "100",
"description": "",
"id": "46:51776822585327789"
}
]
}
401 — You are not authorized to perform this operation
{
"new_object_id": "string",
"id": "string",
11
82 Host-networks










