Comments (5)
From Tomas:
So that particular error is part of a non-disclosed error by the npm test
scripts.
Basically, any particular file that isn't found in the metadata
folder is attempted to grab from the internet. "http://redfish.dmtf.org/schemas/v1/openconfig_lldp_v1.xml" is not a real file, so it gets a 404 document but still tries to verify it. I can look into how to surpress this exception.
from yang-to-redfish-converter.
Aug 2 meeting - Need to also convert the referenced files. In the above case, openconfig_lldp_types_v1.xml needs to be generated.
from yang-to-redfish-converter.
Output from converting all the referenced openconfig files. A couple of errors messages in front, then the remainder is as-expected.
$ pyang -p yangs --plugindir ./YANG-to-Redfish-Plugin --format redfish --target_dir output_dir --combine_all_nodes yangs/*
yangs/openconfig-network-instance-policy.yang:12: error: module "openconfig-routing-policy" not found in search path
yangs/openconfig-platform-transceiver.yang:14: error: module "openconfig-transport-types" not found in search path
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: aggregation-type
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: aggregation-type
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: ipv4-address
new TYPE:: ipv4-address-zoned
new TYPE:: ipv6-address
new TYPE:: ipv6-address-zoned
new TYPE:: ipv4-prefix
new TYPE:: ipv6-prefix
new TYPE:: ip-address
new TYPE:: ip-prefix
new TYPE:: ip-version
new TYPE:: domain-name
new TYPE:: host
new TYPE:: as-number
new TYPE:: dscp
new TYPE:: ipv6-flow-label
new TYPE:: port-number
new TYPE:: uri
new TYPE:: url
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: base-interface-ref
new TYPE:: interface-id
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: lacp-activity-type
new TYPE:: lacp-timeout-type
new TYPE:: lacp-synchronization-type
new TYPE:: lacp-period-type
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: chassis-id-type
new TYPE:: port-id-type
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: local-defined-next-hop
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: network-instance-ref
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: route-distinguisher
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: port-num-range
new TYPE:: ip-protocol-type
new TYPE:: ethertype-type
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: component-power-type
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: match-set-options-type
new TYPE:: match-set-options-restricted-type
new TYPE:: tag-type
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: queue-behavior
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: percentage
new TYPE:: std-regexp
new TYPE:: timeticks64
new TYPE:: ieeefloat32
new TYPE:: routing-password
new TYPE:: stat-interval
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: vlan-id
new TYPE:: vlan-range
new TYPE:: qinq-id
new TYPE:: qinq-id-range
new TYPE:: vlan-mode-type
new TYPE:: vlan-ref
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
Success writing file to disk: output_dir/openconfig_acl_v1.xml
Success writing file to disk: output_dir/openconfig_alarm_types_v1.xml
Success writing file to disk: output_dir/openconfig_extensions_v1.xml
Success writing file to disk: output_dir/openconfig_if_aggregate_v1.xml
Success writing file to disk: output_dir/openconfig_if_aggregate_v1.xml
Success writing file to disk: output_dir/openconfig_if_ethernet_v1.xml
Success writing file to disk: output_dir/openconfig_if_types_v1.xml
Success writing file to disk: output_dir/openconfig_inet_types_v1.xml
Success writing file to disk: output_dir/openconfig_interfaces_v1.xml
Success writing file to disk: output_dir/openconfig_lacp_v1.xml
Success writing file to disk: output_dir/openconfig_lldp_v1.xml
Success writing file to disk: output_dir/openconfig_lldp_types_v1.xml
Success writing file to disk: output_dir/openconfig_local_routing_v1.xml
Success writing file to disk: output_dir/openconfig_network_instance_v1.xml
Success writing file to disk: output_dir/openconfig_network_instance_l2_v1.xml
Success writing file to disk: output_dir/openconfig_network_instance_l2_v1.xml
Success writing file to disk: output_dir/openconfig_network_instance_l3_v1.xml
Success writing file to disk: output_dir/openconfig_network_instance_policy_v1.xml
Success writing file to disk: output_dir/openconfig_network_instance_types_v1.xml
Success writing file to disk: output_dir/openconfig_packet_match_v1.xml
Success writing file to disk: output_dir/openconfig_packet_match_types_v1.xml
Success writing file to disk: output_dir/openconfig_platform_v1.xml
Success writing file to disk: output_dir/openconfig_platform_cpu_v1.xml
Success writing file to disk: output_dir/openconfig_platform_ext_v1.xml
Success writing file to disk: output_dir/openconfig_platform_fan_v1.xml
Success writing file to disk: output_dir/openconfig_platform_linecard_v1.xml
Success writing file to disk: output_dir/openconfig_platform_port_v1.xml
Success writing file to disk: output_dir/openconfig_platform_psu_v1.xml
Success writing file to disk: output_dir/openconfig_platform_transceiver_v1.xml
Success writing file to disk: output_dir/openconfig_platform_types_v1.xml
Success writing file to disk: output_dir/openconfig_policy_types_v1.xml
Success writing file to disk: output_dir/openconfig_qos_v1.xml
Success writing file to disk: output_dir/openconfig_qos_elements_v1.xml
Success writing file to disk: output_dir/openconfig_qos_interfaces_v1.xml
Success writing file to disk: output_dir/openconfig_qos_types_v1.xml
Success writing file to disk: output_dir/openconfig_types_v1.xml
Success writing file to disk: output_dir/openconfig_vlan_v1.xml
Success writing file to disk: output_dir/openconfig_vlan_v1.xml
Success writing file to disk: output_dir/openconfig_vlan_types_v1.xml
Success writing file to disk: output_dir/openconfig_yang_types_v1.xml
Success writing file to disk: output_dir/iana_if_type_v1.xml
Success writing file to disk: output_dir/ietf_interfaces_v1.xml
Success writing file to disk: output_dir/ietf_ip_v1.xml
Success writing file to disk: output_dir/ietf_system_v1.xml
from yang-to-redfish-converter.
Attaching output from running Travis
from yang-to-redfish-converter.
Using the branch yang-2019 , this error is no longer seen.
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
- Unclear how to reference generated CSDL file HOT 3
- 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
- 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.