API Guide

Table Of Contents
Example
Input:
{
"Name":"Fabric-1",
"Description":"This is a fabric.",
"FabricDesignMapping":
[
{
"DesignNode":"Switch-A",
"PhysicalNode":"DPM4XC1"
},
{
"DesignNode":"Switch-B",
"PhysicalNode":"DPM4XC2"
}
],
"FabricDesign":
{
"Name":"2xMX9116n_Fabric_Switching_Engines_in_same_chassis"
}
}
Output:
(Fabric-Id)
To get the value of FabricDesign.Name, use the /api/NetworkService/FabricDesigns API. The structure of
FabricDesignMapping changes depending on the fabric design. Within FabricDesignMapping, the value of PhysicalNode
must be set from the result of /api/NetworkService/FabricDesigns('DesiredDesign')/
NetworkService.GetApplicableNodes.
/api/NetworkService/FabricDesign
This URI represents the fabric designs.
GET method for FabricDesign
This method returns a list of the fabric designs.
Description
Returns a list of fabric designs.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "/api/
$metadata#Collection(NetworkService.FabricDesign)",
"@odata.count": 3,
"value":
[
{
"@odata.type": "#NetworkService.FabricDesign",
"@odata.id": "/api/NetworkService/
FabricDesigns('2xMX5108n_Ethernet_Switches_in_same_chassis')",
"Name": "2xMX5108n_Ethernet_Switches_in_same_chassis",
"NetworkLink":
[
{
"SourceNode": "Switch-A",
"SourceInterface": "ethernet1/1/10:1",
"DestinationNode": "Switch-B",
"DestinationInterface": "ethernet1/1/10:1"
308 APIs specific to OpenManage Enterprise - Modular Edition