Git Product home page Git Product logo

Comments (5)

jcleung5549 avatar jcleung5549 commented on August 22, 2024

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.

jcleung5549 avatar jcleung5549 commented on August 22, 2024

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.

jcleung5549 avatar jcleung5549 commented on August 22, 2024

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.

jcleung5549 avatar jcleung5549 commented on August 22, 2024

Attaching output from running Travis

output.txt

from yang-to-redfish-converter.

jcleung5549 avatar jcleung5549 commented on August 22, 2024

Using the branch yang-2019 , this error is no longer seen.

from yang-to-redfish-converter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.