sr-state

Resource URIs

URI Description
<base_URI>/operational-state/sr-state Displays SR operational information.

Usage Guidelines

Only GET operation is supported. Use of the Resource-Depth request header is recommended.

Examples

URI

The following example shows the complete cURL command and server response for the sr-state GET operation.

http://host:80/rest/operational-state/sr-state

curl -H "Accept: application/vnd.operational-state.resource+xml" -H "Resource-Depth: 6"  
-u "lab:Tester**"  http://10.20.229.40:80/rest/operational-state/sr-state
<data xmlns="http://brocade.com/ns/rest" xmlns:y="http://brocade.com/ns/rest" y:self="/rest/operational-state">
<sr-state xmlns="urn:brocade.com:mgmt:brocade-mpls-operational" y:self="/rest/operational-state/sr-state">
  <tunnels y:self="/rest/operational-state/sr-state/tunnels">
  </tunnels>
  <summary y:self="/rest/operational-state/sr-state/summary">
    <current-srgb-range y:self="/rest/operational-state/sr-state/summary/current-srgb-range">
    </current-srgb-range>
    <pending-srgb-range y:self="/rest/operational-state/sr-state/summary/pending-srgb-range">
    </pending-srgb-range>
  </summary>
</sr-state>
</data>

History

Release version History
18r.2.00 This API call was introduced.