|
Post by AMI_archerwen on Nov 19, 2021 6:56:46 GMT
According the schema as below,
"SubscriptionType": { "anyOf": [ { "$ref": "#/definitions/SubscriptionType" }, { "type": "null" } ], "description": "The subscription type for events.", "longDescription": "This property shall indicate the type of subscription for events. If this property is not present, the SubscriptionType shall be assumed to be RedfishEvent.", "readonly": true, "versionAdded": "v1_3_0" } }
As my understanding, "SubscriptionType" is not a required property in a request when we create a subscription. But like the example, If we want create a SNMP subscription, we need to change the "Protocol" as "SNMPv1" or "SNMPv2c"...etc. Do we need provide "SubscriptionType" in request?
Thanks, Archer.
|
|
|
Post by mraineri on Nov 19, 2021 13:50:14 GMT
That's correct. Redfish users are typically going to expect the Redfish eventing, which means they can reliably expect the subscription type to be "Redfish" when they do not provide the property in the POST request. Users who need to use legacy protocols like SNMP will need to explicitly call out that setting in order to set up that type of subscription.
|
|
|
Post by AMI_archerwen on Nov 24, 2021 7:06:43 GMT
Ok, Thanks for the reply.
|
|