diff options
| author | Gunnar Mills <gmills@us.ibm.com> | 2026-09-24 06:43:31 +0300 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2026-10-22 03:08:08 +0300 |
| commit | 0128851e733fa2cdc8af2c20ba90ef272d96422a (patch) | |
| tree | 26c24b6bd43f13964e68b2f47adc85a1500684f6 /redfish-core/schema/dmtf/csdl/PolicyCollection_v1.xml | |
| parent | e44732f264b7f81dabff30a5a5c316eda4264ce7 (diff) | |
| download | bmcweb-master.tar.xz | |
Like we do, one line change and rerun the script.
2026.2 includes new properties and schemas.
The overview is at [1].
[1]: https://www.dmtf.org/sites/default/files/Redfish_Release_2026.2_Overview.pdf
Tested: Inspection only.
Change-Id: I860c142a3685b5aa98dfe27b2c718f16b04bece7
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'redfish-core/schema/dmtf/csdl/PolicyCollection_v1.xml')
| -rw-r--r-- | redfish-core/schema/dmtf/csdl/PolicyCollection_v1.xml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/redfish-core/schema/dmtf/csdl/PolicyCollection_v1.xml b/redfish-core/schema/dmtf/csdl/PolicyCollection_v1.xml new file mode 100644 index 0000000000..37820a4731 --- /dev/null +++ b/redfish-core/schema/dmtf/csdl/PolicyCollection_v1.xml @@ -0,0 +1,71 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!----> +<!--################################################################################ --> +<!--# Redfish Schema: PolicyCollection --> +<!--# --> +<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> +<!--# available at http://www.dmtf.org/standards/redfish --> +<!--# Copyright 2014-2026 DMTF. --> +<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> +<!--################################################################################ --> +<!----> +<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> + + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> + <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> + </edmx:Reference> + <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> + <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> + <edmx:Include Namespace="Resource.v1_0_0"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> + <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> + </edmx:Reference> + <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Policy_v1.xml"> + <edmx:Include Namespace="Policy"/> + </edmx:Reference> + + <edmx:DataServices> + + <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="PolicyCollection"> + <Annotation Term="Redfish.OwningEntity" String="DMTF"/> + <Annotation Term="Redfish.Language" String="en"/> + + <EntityType Name="PolicyCollection" BaseType="Resource.v1_0_0.ResourceCollection"> + <Annotation Term="OData.Description" String="The collection of `Policy` resource instances."/> + <Annotation Term="OData.LongDescription" String="This resource shall represent a resource collection of `Policy` instances for a Redfish implementation."/> + <Annotation Term="Capabilities.InsertRestrictions"> + <Record> + <PropertyValue Property="Insertable" Bool="true"/> + <Annotation Term="OData.Description" String="Create policies through a `POST` to the policy collection."/> + </Record> + </Annotation> + <Annotation Term="Capabilities.UpdateRestrictions"> + <Record> + <PropertyValue Property="Updatable" Bool="false"/> + </Record> + </Annotation> + <Annotation Term="Capabilities.DeleteRestrictions"> + <Record> + <PropertyValue Property="Deletable" Bool="false"/> + </Record> + </Annotation> + <Annotation Term="Redfish.Uris"> + <Collection> + <String>/redfish/v1/PolicyService/Policies</String> + </Collection> + </Annotation> + <NavigationProperty Name="Members" Type="Collection(Policy.Policy)"> + <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> + <Annotation Term="OData.Description" String="The members of this collection."/> + <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the members of this collection."/> + <Annotation Term="OData.AutoExpandReferences"/> + <Annotation Term="Redfish.Required"/> + </NavigationProperty> + </EntityType> + </Schema> + + </edmx:DataServices> +</edmx:Edmx> |
