Move to 2020.3
Run the script update_schemas.py by pointing it to 2020.3
An overview of 2020.3 release can be found at:
https://www.dmtf.org/sites/default/files/Redfish_Release_2020.3_Overview.pdf
Tested: Loaded on a Witherspoon and Validator passed with the latest schemas
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Change-Id: I6c7a2e0cbdbe599930ba453a1d8c134c22136306
diff --git a/static/redfish/v1/schema/EventDestination_v1.xml b/static/redfish/v1/schema/EventDestination_v1.xml
index 0015251..e1fccec 100644
--- a/static/redfish/v1/schema/EventDestination_v1.xml
+++ b/static/redfish/v1/schema/EventDestination_v1.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################ -->
-<!--# Redfish Schema: EventDestination v1.8.1 -->
+<!--# Redfish Schema: EventDestination v1.9.0 -->
<!--# -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
<!--# available at http://www.dmtf.org/standards/redfish -->
@@ -31,6 +31,9 @@
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MetricReportDefinition_v1.xml">
<edmx:Include Namespace="MetricReportDefinition"/>
</edmx:Reference>
+ <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/CertificateCollection_v1.xml">
+ <edmx:Include Namespace="CertificateCollection"/>
+ </edmx:Reference>
<edmx:DataServices>
@@ -98,7 +101,7 @@
<Annotation Term="Redfish.RequiredOnCreate"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
<Annotation Term="OData.Description" String="The URI of the destination event receiver."/>
- <Annotation Term="OData.LongDescription" String="This property shall contain a URI to the destination where the events are sent. If Protocol is `SMTP`, the URI shall follow the RFC6068-described format. SNMP URIs shall be consistent with RFC4088. Specifically, for SNMPv3, if a username is specified in the SNMP URI, the SNMPv3 authentication and encryption configuration associated with that user shall be utilized in the SNMPv3 traps. For other URIs, such as HTTP or HTTPS, they shall be consistent with RFC3986."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain a URI to the destination where the events are sent. If Protocol is `SMTP`, the URI shall follow the RFC6068-described format. SNMP URIs shall be consistent with RFC4088. Specifically, for SNMPv3, if a username is specified in the SNMP URI, the SNMPv3 authentication and encryption configuration associated with that user shall be utilized in the SNMPv3 traps. Syslog URIs shall be consistent with RFC3986 and contain the scheme `syslog://`. For other URIs, such as HTTP or HTTPS, they shall be consistent with RFC3986."/>
<Annotation Term="OData.IsURL"/>
</Property>
<Property Name="EventTypes" Type="Collection(Event.EventType)" Nullable="false">
@@ -185,6 +188,66 @@
</Collection>
</Annotation>
</Member>
+ <Member Name="SyslogTLS">
+ <Annotation Term="OData.Description" String="The destination follows syslog TLS-based for event notifications."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the destination follows the TLS-based transport for syslog as defined in RFC5424."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="v1_9_0"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="SyslogTCP">
+ <Annotation Term="OData.Description" String="The destination follows syslog TCP-based for event notifications."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the destination follows the TCP-based transport for syslog as defined in RFC6587."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="v1_9_0"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="SyslogUDP">
+ <Annotation Term="OData.Description" String="The destination follows syslog UDP-based for event notifications."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the destination follows the UDP-based transport for syslog as defined in RFC5424."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="v1_9_0"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="SyslogRELP">
+ <Annotation Term="OData.Description" String="The destination follows syslog RELP for event notifications."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the destination follows the Reliable Event Logging Protocol (RELP) transport for syslog as defined by www.rsyslog.com."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="v1_9_0"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="OEM">
+ <Annotation Term="OData.Description" String="The destination follows an OEM protocol for event notifications."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate an OEM specific protocol. The OEMProtocol property shall contain the specific OEM event destination protocol."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="v1_9_0"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
</EnumType>
<ComplexType Name="HttpHeaderProperty">
@@ -382,7 +445,7 @@
</Member>
<Member Name="SNMPTrap">
<Annotation Term="OData.Description" String="The subscription follows the various versions of SNMP Traps for event notifications."/>
- <Annotation Term="OData.LongDescription" String="This value shall indicate the subscription follows the various versions of SNMP Traps for event notifications. EventDestinationProtocol shall specify the appropriate version of SNMP."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the subscription follows the various versions of SNMP Traps for event notifications. Protocol shall specify the appropriate version of SNMP."/>
<Annotation Term="Redfish.Revisions">
<Collection>
<Record>
@@ -394,7 +457,7 @@
</Member>
<Member Name="SNMPInform">
<Annotation Term="OData.Description" String="The subscription follows versions 2 and 3 of SNMP Inform for event notifications."/>
- <Annotation Term="OData.LongDescription" String="This value shall indicate the subscription follows versions 2 and 3 of SNMP Inform for event notifications. EventDestinationProtocol shall specify the appropriate version of SNMP."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the subscription follows versions 2 and 3 of SNMP Inform for event notifications. Protocol shall specify the appropriate version of SNMP."/>
<Annotation Term="Redfish.Revisions">
<Collection>
<Record>
@@ -404,6 +467,30 @@
</Collection>
</Annotation>
</Member>
+ <Member Name="Syslog">
+ <Annotation Term="OData.Description" String="The subscription sends Syslog messages for event notifications."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate the subscription forwards syslog messages to the event destination. Protocol shall specify the appropriate syslog protocol."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="v1_9_0"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
+ <Member Name="OEM">
+ <Annotation Term="OData.Description" String="The subscription is an OEM subscription."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate an OEM subscription type. The OEMSubscriptionType property shall contain the specific OEM subscription type."/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
+ <PropertyValue Property="Version" String="v1_9_0"/>
+ </Record>
+ </Collection>
+ </Annotation>
+ </Member>
</EnumType>
</Schema>
@@ -625,5 +712,163 @@
<EntityType Name="EventDestination" BaseType="EventDestination.v1_8_0.EventDestination"/>
</Schema>
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_9_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2020.3"/>
+
+ <EntityType Name="EventDestination" BaseType="EventDestination.v1_8_1.EventDestination">
+ <NavigationProperty Name="Certificates" Type="CertificateCollection.CertificateCollection" ContainsTarget="true" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The link to a collection of server certificates for the server referenced by the Destination property."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type CertificateCollection that represent the server certificates for the server referenced by the Destination property. If VerifyCertificate is `true`, services shall compare the certificates in this collection with the certificate obtained during handshaking with the event destination in order to verify the identify of the event destination prior to sending an event. If the server cannot be verified, the service shall not send the event. If VerifyCertificate is `false`, the service shall not perform certificate verification."/>
+ <Annotation Term="OData.AutoExpandReferences"/>
+ </NavigationProperty>
+ <Property Name="VerifyCertificate" Type="Edm.Boolean">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="An indication of whether the service will verify the certificate of the server referenced by the Destination property prior to sending the event."/>
+ <Annotation Term="OData.LongDescription" String="This property shall indicate whether whether the service will verify the certificate of the server referenced by the Destination property prior to sending the event."/>
+ </Property>
+ <Property Name="SyslogFilters" Type="Collection(EventDestination.v1_9_0.SyslogFilter)">
+ <Annotation Term="OData.Description" String="A list of syslog message filters to send to a remote syslog server."/>
+ <Annotation Term="OData.LongDescription" String="This property shall describe all desired syslog messages to send to a remote syslog server. If this property contains an empty array or is absent, all messages shall be sent."/>
+ </Property>
+ <Property Name="OEMProtocol" Type="Edm.String" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The OEM-defined protocol type of the event connection."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the protocol type that the event uses to send the event to the destination. This property shall be present if Protocol is `OEM`."/>
+ </Property>
+ <Property Name="OEMSubscriptionType" Type="Edm.String" Nullable="false">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="The OEM-defined subscription type for events."/>
+ <Annotation Term="OData.LongDescription" String="This property shall indicate the OEM-defined type of subscription for events. This property shall be present if SubscriptionType is `OEM`."/>
+ </Property>
+ </EntityType>
+
+ <EnumType Name="SyslogSeverity">
+ <Annotation Term="OData.Description" String="The syslog severity is an application-specific rating used to describe the urgency of the message."/>
+ <Annotation Term="OData.LongDescription" String="This type shall specify the syslog severity levels as an application-specific rating used to describe the urgency of the message. `Emergency` should be reserved for messages indicating the system is unusable and `Debug` should only be used when debugging a program. Severity values are described in RFC5424."/>
+ <Member Name="Emergency">
+ <Annotation Term="OData.Description" String="A panic condition."/>
+ </Member>
+ <Member Name="Alert">
+ <Annotation Term="OData.Description" String="A condition that should be corrected immediately, such as a corrupted system database."/>
+ </Member>
+ <Member Name="Critical">
+ <Annotation Term="OData.Description" String="Hard device errors."/>
+ </Member>
+ <Member Name="Error">
+ <Annotation Term="OData.Description" String="An Error."/>
+ </Member>
+ <Member Name="Warning">
+ <Annotation Term="OData.Description" String="A Warning."/>
+ </Member>
+ <Member Name="Notice">
+ <Annotation Term="OData.Description" String="Conditions that are not error conditions, but that may require special handling."/>
+ </Member>
+ <Member Name="Informational">
+ <Annotation Term="OData.Description" String="Informational only."/>
+ </Member>
+ <Member Name="Debug">
+ <Annotation Term="OData.Description" String="Messages that contain information normally of use only when debugging a program."/>
+ </Member>
+ <Member Name="All">
+ <Annotation Term="OData.Description" String="A message of any severity."/>
+ </Member>
+ </EnumType>
+
+ <EnumType Name="SyslogFacility">
+ <Annotation Term="OData.Description" String="The syslog facility code is an enumeration of program types."/>
+ <Annotation Term="OData.LongDescription" String="This type shall specify the syslog facility codes as program types. Facility values are described in the RFC5424."/>
+ <Member Name="Kern">
+ <Annotation Term="OData.Description" String="Kernel messages."/>
+ </Member>
+ <Member Name="User">
+ <Annotation Term="OData.Description" String="User-level messages."/>
+ </Member>
+ <Member Name="Mail">
+ <Annotation Term="OData.Description" String="Mail system."/>
+ </Member>
+ <Member Name="Daemon">
+ <Annotation Term="OData.Description" String="System daemons."/>
+ </Member>
+ <Member Name="Auth">
+ <Annotation Term="OData.Description" String="Security/authentication messages."/>
+ </Member>
+ <Member Name="Syslog">
+ <Annotation Term="OData.Description" String="Messages generated internally by syslogd."/>
+ </Member>
+ <Member Name="LPR">
+ <Annotation Term="OData.Description" String="Line printer subsystem."/>
+ </Member>
+ <Member Name="News">
+ <Annotation Term="OData.Description" String="Network news subsystem."/>
+ </Member>
+ <Member Name="UUCP">
+ <Annotation Term="OData.Description" String="UUCP subsystem."/>
+ </Member>
+ <Member Name="Cron">
+ <Annotation Term="OData.Description" String="Clock daemon."/>
+ </Member>
+ <Member Name="Authpriv">
+ <Annotation Term="OData.Description" String="Security/authentication messages."/>
+ </Member>
+ <Member Name="FTP">
+ <Annotation Term="OData.Description" String="FTP daemon."/>
+ </Member>
+ <Member Name="NTP">
+ <Annotation Term="OData.Description" String="NTP subsystem."/>
+ </Member>
+ <Member Name="Security">
+ <Annotation Term="OData.Description" String="Log audit."/>
+ </Member>
+ <Member Name="Console">
+ <Annotation Term="OData.Description" String="Log alert."/>
+ </Member>
+ <Member Name="SolarisCron">
+ <Annotation Term="OData.Description" String="Scheduling daemon."/>
+ </Member>
+ <Member Name="Local0">
+ <Annotation Term="OData.Description" String="Locally used facility 0."/>
+ </Member>
+ <Member Name="Local1">
+ <Annotation Term="OData.Description" String="Locally used facility 1."/>
+ </Member>
+ <Member Name="Local2">
+ <Annotation Term="OData.Description" String="Locally used facility 2."/>
+ </Member>
+ <Member Name="Local3">
+ <Annotation Term="OData.Description" String="Locally used facility 3."/>
+ </Member>
+ <Member Name="Local4">
+ <Annotation Term="OData.Description" String="Locally used facility 4."/>
+ </Member>
+ <Member Name="Local5">
+ <Annotation Term="OData.Description" String="Locally used facility 5."/>
+ </Member>
+ <Member Name="Local6">
+ <Annotation Term="OData.Description" String="Locally used facility 6."/>
+ </Member>
+ <Member Name="Local7">
+ <Annotation Term="OData.Description" String="Locally used facility 7."/>
+ </Member>
+ </EnumType>
+
+ <ComplexType Name="SyslogFilter">
+ <Annotation Term="OData.AdditionalProperties" Bool="false"/>
+ <Annotation Term="OData.Description" String="A syslog filter."/>
+ <Annotation Term="OData.LongDescription" String="This type shall contain the filter for a syslog message. The filter shall describe the desired syslog message to forward to a remote syslog server."/>
+ <Property Name="LowestSeverity" Type="EventDestination.v1_9_0.SyslogSeverity">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The lowest severity level message that will be forwarded."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the lowest syslog severity level that will be forwarded. The service shall forward all messages equal to or greater than the value in this property. The value `All` shall indicate all severities."/>
+ </Property>
+ <Property Name="LogFacilities" Type="Collection(EventDestination.v1_9_0.SyslogFacility)">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
+ <Annotation Term="OData.Description" String="The types of programs that can log messages."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the types of programs that can log messages. If this property contains an empty array or is absent, all facilities shall be indicated."/>
+ </Property>
+ </ComplexType>
+ </Schema>
+
</edmx:DataServices>
</edmx:Edmx>