Comments (4)
These look like issues with the YANG to CSDL converter.
- Redfish does not use Edm.Byte in any definitions, so the YANG converter should be changed accordingly to use a more appropriate type
- The Alias being used for "oc inet" is not correct. The top of the file aliases it as "oc-net", but it's being used as "oc_net" in some of the definitions.
- The "RedfishYang" reference should be fixed when PR #157 is merged
from yang-to-redfish-converter.
With latest HEAD, I still see the problem:
vsawal@flowmon1:~/dmtf/YANG-to-Redfish-Converter$ git rev-parse HEAD
fbd4b2fc4a76930f256a505ea3b65c5acea99f5f
Errors:
(py3-dmtf) vsawal@flowmon1:~/dmtf$ pyang --plugindir ~/dmtf/YANG-to-Redfish-Converter/YANG-to-Redfish-Plugin --path ~/openconfig/public/release/models/ --format redfish --target_dir ~/dmtf/gen-yang-to-csdl/ ~/openconfig/public/release/models/interfaces/openconfig-if-ip.yang
We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement
new TYPE:: ip-address-origin
new TYPE:: neighbor-origin
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_common_global_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_common_counters_state.counters_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_common_counters_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_global_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_address_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_neighbor_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_address_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_neighbor_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_global_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_address_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_address_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_neighbor_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_neighbor_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_ipv6_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_ipv6_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_tracking_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_tracking_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_tracking_top_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_groupCollection_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top.vrrp_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ip_vrrp_top_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_ra_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_proxy_arp_config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.addresses.address.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.addresses.address.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.addresses.addressCollection_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.addresses.address_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.addresses_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.proxy_arp.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.proxy_arp.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.proxy_arp_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.neighbors.neighborCollection_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.neighbors_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.state.counters_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.unnumbered.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.unnumbered.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.unnumbered.interface_ref.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.unnumbered.interface_ref.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.unnumbered.interface_ref_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4.unnumbered_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top.ipv4_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv4_top_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.addresses.address.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.addresses.address.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.addresses.addressCollection_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.addresses.address_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.addresses_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.router_advertisement.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.router_advertisement.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.router_advertisement_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.neighbors.neighborCollection_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.neighbors_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.state.counters_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.unnumbered.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.unnumbered.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.unnumbered.interface_ref.config_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.unnumbered.interface_ref.state_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.unnumbered.interface_ref_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6.unnumbered_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top.ipv6_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip.ipv6_top_v1.xml
Success writing file to disk: /home/vsawal/dmtf/gen-yang-to-csdl//openconfig_if_ip_v1.xml
(py3-dmtf) vsawal@flowmon1:~/dmtf$ rm gen-csdl-to-json/*
(py3-dmtf) vsawal@flowmon1:~/dmtf$ python Redfish-Tools/csdl-to-json-convertor/csdl-to-json.py --input gen-yang-to-csdl/ --output gen-csdl-to-json/
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.unnumbered.config_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking.state_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking.state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.neighbors.neighborCollection_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.unnumbered.interface_ref.config_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.unnumbered.interface_ref.state_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.addresses.address.state_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv4_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.ip_address_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_top.ipv4.addresses.address.state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_address_config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv6_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_address_config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_global_config_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking.state_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking.state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ip_vrrp_tracking_state_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_ipv6_config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ip_address"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_ipv6_config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.neighbors_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_groupCollection_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.unnumbered_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.unnumbered.interface_ref.state_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.unnumbered.interface_ref_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_ipv6_state_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ip_address"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_ipv6_state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_neighbor_state_v1.xml
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.neighbor_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_neighbor_state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.state_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor.config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv6_address"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.phys_address"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor.config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_proxy_arp_config_v1.xml
Generating JSON for: openconfig_if_ip.ip_common_global_config_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.proxy_arp.state_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.proxy_arp_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.router_advertisement_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_address_config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv4_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_address_config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ip_vrrp_tracking_top_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking.config_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_tracking_top.interface_tracking.config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.router_advertisement.config_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.state_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ip_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ip_common_counters_state_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_tracking_config_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_tracking_config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.unnumbered.interface_ref.config_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.unnumbered.interface_ref_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.unnumbered.config_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_state_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.addresses.addressCollection_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.state.counters_v1.xml
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_top.ipv6.state.counters.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.state.counters_v1.xml
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_top.ipv4.state.counters.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor.config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv4_address"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.phys_address"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor.config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.addresses.address.config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv4_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_top.ipv4.addresses.address.config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_address_state_v1.xml
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.ip_address_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_address_state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking.config_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.interface_tracking.config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.addresses.address.config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv6_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_top.ipv6.addresses.address.config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.addresses.address_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.neighbors.neighborCollection_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.addresses.address_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.config_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ip_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_top.vrrp.vrrp_group.config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_neighbor_state_v1.xml
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.neighbor_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_neighbor_state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor.state_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv6_address"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.phys_address"
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.neighbor_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor.state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_neighbor_config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv4_address"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.phys_address"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_neighbor_config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_ra_config_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_neighbor_config_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv6_address"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.phys_address"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_neighbor_config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.addresses_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.neighbors_v1.xml
Generating JSON for: openconfig_if_ip.ip_common_counters_state.counters_v1.xml
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.counter64"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_common_counters_state.counters.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.neighbors.neighbor_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.config_v1.xml
Generating JSON for: openconfig_if_ip.ip_vrrp_config_v1.xml
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ip_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ip_vrrp_config.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.router_advertisement.state_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.addresses.addressCollection_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.unnumbered_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.addresses.address.state_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv6_address"
-- ERROR: Could not resolve reference to "Edm" for "Edm.Byte"
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.ip_address_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv6_top.ipv6.addresses.address.state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.addresses_v1.xml
Generating JSON for: openconfig_if_ip.ipv6_top.ipv6.unnumbered.state_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.state_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.config_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor.state_v1.xml
-- ERROR: Could not resolve reference to "oc_inet" for "oc_inet.ipv4_address"
-- ERROR: Could not resolve reference to "oc_yang" for "oc_yang.phys_address"
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.neighbor_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_top.ipv4.neighbors.neighbor.state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_global_config_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_address_state_v1.xml
-- ERROR: Could not resolve reference to "oc_ip" for "oc_ip.ip_address_origin"
-- Errors detected while generating gen-csdl-to-json//openconfig_if_ip.ipv4_address_state.v1_0_0.json; not creating file
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.proxy_arp.config_v1.xml
Generating JSON for: openconfig_if_ip.ipv4_top.ipv4.unnumbered.state_v1.xml
(py3-dmtf) vsawal@flowmon1:~/dmtf$
from yang-to-redfish-converter.
I'll be taking a look at this today. I hadn't picked up on the Edm.Byte issue since the beginning of the issue, but what would it be, would a fine substitute be an Integer between 0-255?...
from yang-to-redfish-converter.
Resolved in latest PR
from yang-to-redfish-converter.
Related Issues (20)
- 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
- 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.