URI | Description |
---|---|
<base_URI>/config/running/hardware | Hardware management configuration |
<base_URI>/config/running/hardware/connector | Connector. Refer to hardware/connector for information. |
<base_URI>/config/running/hardware/port-group | Port group. Refer to hardware/port-group for information. |
GET URIs | Description |
---|---|
/rest/config/running/hardware | Hardware Management configuration |
/rest/config/running/hardware/connector/(connectorName) | Configures a connector with the specified name |
/rest/config/running/hardware/connector/(connectorName)/breakout | Configures a breakout connector |
/rest/config/running/hardware/connector/(connectorName)/breakout/mode | Configures connector mode |
/rest/config/running/hardware/port-group/(portGroupName) | Configures a port-group in a specified name |
/rest/config/running/hardware/port-group/(portGroupName)/mode | Configures port-group mode |
POST URIs | Payload | Description |
---|---|---|
/rest/config/running | <hardware /> | Hardware management configuration |
/rest/config/running/hardware | <connector><name>(connectorName)</name></connector> | Configures a connector |
/rest/config/running/hardware/connector/(connectorName) | <breakout /> | Configures a breakout connector |
/rest/config/running/hardware | <port-group><name>(portGroupName)</name></port-group> | Configures a port-group |
PATCH URIs | Payload | Description |
---|---|---|
/rest/config/running/hardware/connector/(connectorName)/breakout | <breakout><mode>(mode)</mode></breakout> | Configures a breakout connector |
/rest/config/running/hardware/port-group/(portGroupName) | <port-group><mode>(mode)</mode></port-group> | Configures a port-group in a specified name |
DELETE URIs | Payload | Description |
---|---|---|
/rest/config/running/hardware/connector/(connectorName)/breakout | <breakout><mode>(mode)</mode></breakout> | Configures a breakout connector |
GET, POST, PUT, PATCH, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/hardware
None
<hardware xmlns="urn:brocade.com:mgmt:brocade-hardware" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/config/running/hardware"> <profile y:self="/rest/config/running/hardware/profile"> <tcam y:self="/rest/config/running/hardware/profile/tcam"> <tcam_profiletype>default</tcam_profiletype> </tcam> <lag y:self="/rest/config/running/hardware/profile/lag"> <lag_profiletype>default</lag_profiletype> </lag> <counters y:self="/rest/config/running/hardware/profile/counters"> <counters_profiletype>default</counters_profiletype> </counters> </profile> <port-group y:self="/rest/config/running/hardware/port-group/%221/4%22"> <name>1/4</name> <mode>100g</mode> </port-group> </hardware>