You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds support for the following vendor passthru methods:
- create_subscription
- delete_subscription
- get_subscription
- get_all_subscriptions
This methods are only supported by redfish implementations in ironic
that are using the vendor passthru.
// The desired subscription id on the baremetal node.
734
+
typeGetSubscriptionOptsstruct {
735
+
Idstring`json:"id"`
736
+
}
737
+
738
+
// ToGetSubscriptionMap assembles a query based on the contents of CallVendorPassthruOpts and a request body based on the contents of a GetSubscriptionOpts
// The desired subscription to be deleted from the baremetal node.
769
+
typeDeleteSubscriptionOptsstruct {
770
+
Idstring`json:"id"`
771
+
}
772
+
773
+
// ToDeleteSubscriptionMap assembles a query based on the contents of CallVendorPassthruOpts and a request body based on the contents of a DeleteSubscriptionOpts
// The desired subscription to be created from the baremetal node.
803
+
typeCreateSubscriptionOptsstruct {
804
+
Destinationstring`json:"Destination"`
805
+
EventTypes []string`json:"EventTypes,omitempty"`
806
+
Contextstring`json:"Context,omitempty"`
807
+
Protocolstring`json:"Protocol,omitempty"`
808
+
}
809
+
810
+
// ToCreateSubscriptionMap assembles a query based on the contents of CallVendorPassthruOpts and a request body based on the contents of a CreateSubscriptionOpts
0 commit comments