API Guide

"DesignNode": "Switch-B",
"PhysicalNode": "DPM4XC2"
}
],
"Switches@odata.navigationLink": "/api/NetworkService/
Fabrics('0bebadec-b61b-4b16-b354-5196396a4a18')/Switches",
"Servers@odata.navigationLink": "/api/NetworkService/Fabrics('0bebadec-
b61b-4b16-b354-5196396a4a18')/Servers",
"FabricDesign":
{
"@odata.id": "/api/NetworkService/Fabrics('0bebadec-b61b-4b16-
b354-5196396a4a18')/FabricDesign"
},
"ValidationErrors@odata.navigationLink": "/api/NetworkService/
Fabrics('0bebadec-b61b-4b16-b354-5196396a4a18')/ValidationErrors",
"Uplinks@odata.navigationLink": "/api/NetworkService/Fabrics('0bebadec-
b61b-4b16-b354-5196396a4a18')/Uplinks",
"Topology":
{
"@odata.id": "/api/NetworkService/Fabrics('0bebadec-b61b-4b16-
b354-5196396a4a18')/Topology"
},
"ISLLinks@odata.navigationLink": "/api/NetworkService/
Fabrics('0bebadec-b61b-4b16-b354-5196396a4a18')/ISLLinks"
}
]
}
POST method for Fabrics
This method creates a fabric and returns the fabric ID.
Description
Creates a fabric.
Privilege FABRIC_MANAGEMENT
HTTP response
codes
200
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.
316
APIs specific to OpenManage Enterprise - Modular Edition