Node Vendor Passthru Methods¶
| Method | Description | 
|---|---|
| 
 | Create a new subscription on the Node | 
| 
 | Delete a subscription of a Node | 
| 
 | List all subscriptions of a Node | 
| 
 | Show a single subscription of a Node | 
| 
 | Eject attached virtual media from a Node | 
Create Subscription¶
| Name | In | Type | Description | 
|---|---|---|---|
| Destination | body | string | The URI of the destination Event Service | 
| EventTypes (optional) | body | array | List of types of events that shall be sent to the destination | 
| Context (optional) | body | string | A client-supplied string that is stored with the event destination subscription | 
| Protocol (optional) | body | string | The protocol type that the event will use for sending the event to the destination | 
Example JSON to use in create_subscription:
{
    "Destination": "https://someurl",
    "EventTypes": ["Alert"],
    "Context": "MyProtocol",
    "args": "Redfish"
}
Delete Subscription¶
| Name | In | Type | Description | 
|---|---|---|---|
| id | body | string | The Id of the subscription generated by the BMC | 
Example JSON to use in delete_subscription:
{
    "id": "<id of the subscription generated by the BMC>"
}
Get Subscription¶
| Name | In | Type | Description | 
|---|---|---|---|
| id | body | string | The Id of the subscription generated by the BMC | 
Example JSON to use in get_subscription:
{
    "id": "<id of the subscription generated by the BMC>"
}
Get All Subscriptions¶
The get_all_subscriptions doesn’t require any parameters.
Eject Virtual Media¶
| Name | In | Type | Description | 
|---|---|---|---|
| boot_device (optional) | body | string | Type of the device to eject (all devices by default) | 
