We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snippet:
auto interfaces = std::make_unique<openconfig_interfaces::Interfaces>(); auto interfaces_interface = std::make_unique<openconfig_interfaces::Interfaces::Interface>(); interfaces_interface->parent = interfaces.get(); interfaces->interface.emplace_back(std::move(interfaces_interface)); interfaces->interface[0]->config->name = R"(s)"; interfaces->interface[0]->ethernet->config->auto_negotiate = true; interfaces->interface[0]->ethernet->config->duplex_mode = openconfig_interfaces::Interfaces::Interface::Ethernet::Config::DuplexModeEnum::HALF; interfaces->interface[0]->ethernet->config->enable_flow_control = false; interfaces->interface[0]->ethernet->config->mac_address = R"(17:be:ad:55:5a:73)"; interfaces->interface[0]->ethernet->config->port_speed = openconfig_if_ethernet::Speed_50GbIdentity(); interfaces->interface[0]->name = R"(J)"; interfaces->interface[0]->name = interfaces->interface[0]->config->name.get(); interfaces->interface[0]->ethernet->config->aggregate_id = interfaces->interface[0]->name.get();
Traceback:
[2017-01-03 11:24:38.571474] [0x00007fffc30cf3c0] [trace] Creating child aggregate-id of /openconfig-interfaces:interfaces/interface[name='s']/openconfig-if-ethernet:ethernet/config with value: "s", is_set: true [2017-01-03 11:24:38.571484] [0x00007fffc30cf3c0] [trace] Current path: /openconfig-if-ethernet:/openconfig-interfaces:interfaces/openconfig-interfaces:interface/ethernet-top/ethernet/config [2017-01-03 11:24:38.571488] [0x00007fffc30cf3c0] [trace] Top container path: openconfig-interfaces:interfaces [2017-01-03 11:24:38.571501] [0x00007fffc30cf3c0] [trace] Getting child schema with path 'aggregate-id' in config [2017-01-03 11:24:38.571517] [0x00007fffc30cf3c0] [error] Libyang ERROR: Schema node not found. Path: 'aggregate-id' [2017-01-03 11:24:38.571525] [0x00007fffc30cf3c0] [trace] Creating new data path 'aggregate-id', with value 's' in 'config' [2017-01-03 11:24:38.571534] [0x00007fffc30cf3c0] [error] Libyang ERROR: Schema node not found. Path: 'aggregate-id' [2017-01-03 11:24:38.571539] [0x00007fffc30cf3c0] [error] Invalid path: aggregate-id [2017-01-03 11:24:38.571952] [0x00007fffc30cf3c0] [debug] Disconnected from device /Users/saber/Cisco/xiaoqinz/gen-api/cpp/ydk/src/path/data_node.cpp:220: fatal error: in "virtual ydk::path::DataNode *ydk::path::DataNodeImpl::create_helper(const std::string &, const std::string &, bool)": boost::exception_detail::clone_impl<ydk::YCPPModelError>: Invalid path: aggregate-id /Users/saber/Cisco/cisco-devnet/gen-api/cpp/openconfig-bundle/ydk/tests/test_openconfig_interfaces.cpp:127: last checkpoint: "interfaces_interface_ethernet_config_test" entry.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Snippet:
Traceback:
The text was updated successfully, but these errors were encountered: