Comments (3)
These are not the v1_0_0 version namespace of the containers, just the base schema of it.
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="openconfig_acl.acl_set_top.acl_sets.acl_set.v1_0_0">
<Annotation Term="Redfish.OwningEntity" String="DMTF"/>
<Annotation Term="Redfish.Release" String="TBD"/>
<Annotation Term="RedfishYang.key" String="name type"/>
<Annotation Term="OData.Description" String="List of ACL sets, each comprising of a list of ACL entries."/>
<Annotation Term="OData.LongDescription" String="List of ACL sets, each comprising of a list of ACL entries."/>
<EntityType Name="acl_set" BaseType="openconfig_acl.acl_set_top.acl_sets.acl_set.acl_set">
<Annotation Term="RedfishYang.NodeType" EnumMember="RedfishYang.NodeTypes/list"/>
<Property Name="name" Type="Edm.String">
<Annotation Term="RedfishYang.NodeType" EnumMember="RedfishYang.NodeTypes/leaf"/>
<Annotation Term="RedfishYang.YangType" EnumMember="RedfishYang.YangTypes/leafref">
<Annotation Term="RedfishYang.path" String="../config/name"/>
</Annotation>
<Annotation Term="OData.Description" String="Reference to the name list key."/>
<Annotation Term="OData.LongDescription" String="Reference to the name list key."/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
</Property>
<Property Name="type" Type="Edm.String">
<Annotation Term="RedfishYang.NodeType" EnumMember="RedfishYang.NodeTypes/leaf"/>
<Annotation Term="RedfishYang.YangType" EnumMember="RedfishYang.YangTypes/leafref">
<Annotation Term="RedfishYang.path" String="../config/type"/>
</Annotation>
<Annotation Term="OData.Description" String="Reference to the type list key."/>
<Annotation Term="OData.LongDescription" String="Reference to the type list key."/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
</Property>
<NavigationProperty Name="configContainer" Type="config.config" ContainsTarget="true">
<Annotation Term="OData.Permissions" EnumMember="OData.Permissions/Read"/>
<Annotation Term="OData.Description" String="Navigation property that points to a resource of config."/>
<Annotation Term="OData.LongDescription" String="Automatically generated."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="stateContainer" Type="state.state" ContainsTarget="true">
<Annotation Term="OData.Permissions" EnumMember="OData.Permissions/Read"/>
<Annotation Term="OData.Description" String="Navigation property that points to a resource of state."/>
<Annotation Term="OData.LongDescription" String="Automatically generated."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
<NavigationProperty Name="acl_entriesContainer" Type="acl_entries.acl_entries" ContainsTarget="true">
<Annotation Term="OData.Permissions" EnumMember="OData.Permissions/Read"/>
<Annotation Term="OData.Description" String="Navigation property that points to a resource of acl_entries."/>
<Annotation Term="OData.LongDescription" String="Automatically generated."/>
<Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>
</EntityType>
</Schema>
@mraineri is having an unversioned namespace required in all this or should the above generated just point directly to Resource.v1_0_0.Resource. i.e. remove BaseType="openconfig_acl.acl_set_top.acl_sets.acl_set.acl_set">
and replace with <BaseType="Resource.v1_0_0.Resource">
from yang-to-redfish-converter.
There will need to be both versioned and unversioned namespaces. For example:
The unversioned openconfig_acl.acl_set_top.acl_sets
namespace will need to exist and contain the base entity type also named openconfig_acl.acl_set_top.acl_sets
, which inherits from Resource.v1_0_0.Resource
.
There will also need to be a openconfig_acl.acl_set_top.acl_sets.v1_0_0
namespace, which contains the entity openconfig_acl.acl_set_top.acl_sets.v1_0_0
, which inherits from openconfig_acl.acl_set_top.acl_sets.openconfig_acl.acl_set_top.acl_sets
.
from yang-to-redfish-converter.
Using the branch yang-2019, this is no longer an issue.
from yang-to-redfish-converter.
Related Issues (20)
- Unresolved reference error while converting OpenConfig Yang file CSDL to JSON HOT 4
- Would like to get the plugin branch to master HOT 1
- One CSDL file per module HOT 2
- The conversion from OpenConfig YANG generates more CSDL files HOT 1
- Travis - Unknown element name Collection HOT 4
- Collection element not recognized by Travis HOT 15
- Travis complains for <Annotation> elements HOT 8
- Broken type references HOT 1
- Unrecognized keyword - openconfig-extensions HOT 3
- Travis error - unexpected close tag HOT 5
- CSDLs are missing an Action HOT 4
- Travis errors in openconfig_acl_v1.xml HOT 2
- Travis errors on openconfig_if_aggregate_v1.xml HOT 3
- Travis error - Unknown attribute name Alias (3 times) HOT 3
- Travis warning - Complex Types Should Not have Permissions (5 times) HOT 1
- Travis error - Unable to locate type (6 times) HOT 1
- Travis error - Unable to locate annotation (5 times) HOT 1
- Travis error - RedfishYangExtensions.v1_0_0 needs OwningEntity and Release terms HOT 2
- RedfishYangExtension missing OwningEntity and Release annotations HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yang-to-redfish-converter.