12 state change message bus, 13 developer tools in a web browser – HP OneView User Manual

Page 74

Advertising
background image

5.11 Querying resources using common REST API parameters

You can use a set of common parameters to customize the results returned from a GET operation,
such as sorting or filtering. Each REST API specification lists the set of available common parameters.

5.12 State Change Message Bus

The State-Change Message Bus (SCMB) is an interface that uses asynchronous messaging to notify
subscribers of changes to managed resources—both logical and physical. For example, you can
program applications to receive notifications when new server hardware is added to the managed
environment or when the health status of physical resources changes—without having to continuously
poll the appliance for status using the REST APIs. To learn more about receiving asynchronous
messages about changes in the appliance environment, see

“Using the State-Change Message

Bus (SCMB)” (page 185)

.

5.13 Developer tools in a web browser

You can use developer/debug tools in your web browser to view the REST API operations as they
happen in the UI. The UI uses REST APIs for all operations; therefore, anything you can do in the
UI can be done using REST API operations.

5.14 Using Python and Windows PowerShell commands (technical preview)

See the HP OneView forum at

http://www.hp.com/go/oneviewcommunity

for code samples and

a technical preview of PowerShell and Python libraries that contain command line tools to automate
and accelerate using REST APIs on the appliance to perform various administrative tasks.

74

Using the REST APIs and other programmatic interfaces

Advertising