Closed ygorelik closed 2 years ago
Resolved in release 0.8.6.2. Added unit test:
TEST_CASE("test_url_path_value") {
std::string searchdir{TEST_HOME};
mock::MockSession sp{searchdir, test_openconfig, EncodingFormat::XML};
auto & schema = sp.get_root_schema();
ydk::path::Codec codec{};
auto & runner = schema.create_datanode("ydktest-sanity:runner", "");
runner.create_datanode("no-key-list[1]/test",
"sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500");
runner.create_datanode("no-key-list[2]/test", "tftp://10.105.227.199/ops/exec");
auto xml = codec.encode(runner, ydk::EncodingFormat::XML, true);
auto expected = R"(<runner xmlns="http://cisco.com/ns/yang/ydktest-sanity">
<no-key-list>
<test>sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500</test>
</no-key-list>
<no-key-list>
<test>tftp://10.105.227.199/ops/exec</test>
</no-key-list>
</runner>
)";
REQUIRE(xml== expected);
auto dn = codec.decode(schema, xml, ydk::EncodingFormat::XML);
REQUIRE(dn != nullptr);
auto real_dn = dn->get_children()[0];
REQUIRE(real_dn != nullptr);
auto xml_rt = codec.encode(*real_dn, ydk::EncodingFormat::XML, true);
REQUIRE(xml == xml_rt);
}
Opened on behalf of vmusalir
Expected Behavior
Leaf values containing substring 'sftp://' must be allowed.
Current Behavior
The request is going to device and response coming from the device. Still we are getting below exception. The 'sftp://' is considered as data model and giving error "YCodecError:Data model "sftp" not found.."
Leaf data name: "packagepath", value: "sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500", yfilter: "YFilter.not_set", is_set: "True"
Steps to Reproduce
Try to decode this RPC payload:
2022-01-22 12:13:21,677 - ydk - Debug--- - Trace: Writing message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:21,677 - ydk - Debug--- - Trace: Writing message (session 1474803731): <?xml version="1.0"?>
Trace: Writing message (session 1474803731): <?xml version="1.0"?>
Debug---:ydk:Trace: Writing message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:21,678 - ydk - Debug--- - NetconfSSHClient: NC session status: 1 2022-01-22 12:13:21,678 - ydk - Debug--- - NetconfSSHClient: NC session status: 1 NetconfSSHClient: NC session status: 1 Debug---:ydk:NetconfSSHClient: NC session status: 1 2022-01-22 12:13:21,678 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC 2022-01-22 12:13:21,678 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC Netconf SSH Client: receiving reply RPC Debug---:ydk:Netconf SSH Client: receiving reply RPC 2022-01-22 12:13:21,883 - ydk - Debug--- - Trace: Received message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:21,883 - ydk - Debug--- - Trace: Received message (session 1474803731): <?xml version="1.0"?>
Trace: Received message (session 1474803731): <?xml version="1.0"?>
Debug---:ydk:Trace: Received message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:21,884 - ydk - Debug--- - Netconf SSH Client: processing reply 2022-01-22 12:13:21,884 - ydk - Debug--- - Netconf SSH Client: processing reply Netconf SSH Client: processing reply Debug---:ydk:Netconf SSH Client: processing reply 2022-01-22 12:13:21,884 - ydk - Error--- - Cannot find model with module name 'sftp' 2022-01-22 12:13:21,884 - ydk - Error--- - Cannot find model with module name 'sftp' Cannot find model with module name 'sftp' Error---:ydk:Cannot find model with module name 'sftp' 2022-01-22 12:13:21,884 - ydk - Debug--- - [libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52. 2022-01-22 12:13:21,884 - ydk - Debug--- - [libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52. [libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52. Debug---:ydk:[libyang] Searching for "sftp" in /users/shreyash/.ydk/5.5.18.52. 2022-01-22 12:13:21,984 - ydk - Debug--- - [libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit. 2022-01-22 12:13:21,984 - ydk - Debug--- - [libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit. [libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit. Debug---:ydk:[libyang] Searching for "sftp" in /auto/cafy/release/development/cafykit. 2022-01-22 12:13:21,986 - ydk - Error--- - Data is invalid according to the yang model. Libyang error: Data model "sftp" not found. 2022-01-22 12:13:21,986 - ydk - Error--- - Data is invalid according to the yang model. Libyang error: Data model "sftp" not found. Data is invalid according to the yang model. Libyang error: Data model "sftp" not found. Error---:ydk:Data is invalid according to the yang model. Libyang error: Data model "sftp" not found. 2022-01-22 12:13:21,986 - ydk - Debug--- - Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' 2022-01-22 12:13:21,986 - ydk - Debug--- - Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' Debug---:ydk:Creating node 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' 2022-01-22 12:13:21,986 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,986 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add Current path: /Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Current path: /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,987 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,987 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add Top container path: Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Top container path: Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,987 - ydk - Debug--- - Populating schema for 'packagepath' 2022-01-22 12:13:21,987 - ydk - Debug--- - Populating schema for 'packagepath' Populating schema for 'packagepath' Debug---:ydk:Populating schema for 'packagepath' 2022-01-22 12:13:21,987 - ydk - Debug--- - Looking to populate schemas for 'packagepath' 2022-01-22 12:13:21,987 - ydk - Debug--- - Looking to populate schemas for 'packagepath' Looking to populate schemas for 'packagepath' Debug---:ydk:Looking to populate schemas for 'packagepath' 2022-01-22 12:13:21,987 - ydk - Debug--- - Getting new modules for path 'packagepath' 2022-01-22 12:13:21,987 - ydk - Debug--- - Getting new modules for path 'packagepath' Getting new modules for path 'packagepath' Debug---:ydk:Getting new modules for path 'packagepath' 2022-01-22 12:13:21,987 - ydk - Debug--- - Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,987 - ydk - Debug--- - Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Getting child schema with path 'packagepath' in /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,988 - ydk - Debug--- - Getting data nodes with path 'packagepath' 2022-01-22 12:13:21,988 - ydk - Debug--- - Getting data nodes with path 'packagepath' Getting data nodes with path 'packagepath' Debug---:ydk:Getting data nodes with path 'packagepath' 2022-01-22 12:13:21,988 - ydk - Debug--- - Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add' 2022-01-22 12:13:21,988 - ydk - Debug--- - Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add' Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add' Debug---:ydk:Creating new data path 'packagepath' with value 'sftp://root@5.12.17.1:/auto/cafy-ott/cafy_log/cafy3/22-1/cafy3-run-1213418/67/7_5_2_13I_NCS5500' in 'install-add' 2022-01-22 12:13:21,988 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input 2022-01-22 12:13:21,988 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input Debug---:ydk:Creating leaf 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input 2022-01-22 12:13:21,988 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,988 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,988 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,988 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,988 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,988 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,989 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' 2022-01-22 12:13:21,989 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' Debug---:ydk:Creating node 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' 2022-01-22 12:13:21,989 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,989 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add Current path: /Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Current path: /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,989 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,989 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add Top container path: Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Top container path: Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,989 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,989 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Populating schema for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,989 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,989 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,989 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,989 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,990 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,990 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Getting child schema with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,990 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,990 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Getting data nodes with path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,990 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' 2022-01-22 12:13:21,990 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' Debug---:ydk:Creating new data path 'packagename[.="ncs5500-iosxr-fwding-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' 2022-01-22 12:13:21,990 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input 2022-01-22 12:13:21,990 - ydk - Debug--- - Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input Debug---:ydk:Creating leaf 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in input 2022-01-22 12:13:21,990 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,990 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,991 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,991 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,991 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,991 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,991 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' 2022-01-22 12:13:21,991 - ydk - Debug--- - Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' Debug---:ydk:Creating node 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' 2022-01-22 12:13:21,991 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,991 - ydk - Debug--- - Current path: /Cisco-IOS-XR-spirit-install-act:install-add Current path: /Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Current path: /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,991 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,991 - ydk - Debug--- - Top container path: Cisco-IOS-XR-spirit-install-act:install-add Top container path: Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Top container path: Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,991 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,991 - ydk - Debug--- - Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Populating schema for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,992 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,992 - ydk - Debug--- - Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Looking to populate schemas for 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Getting new modules for path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add Debug---:ydk:Getting child schema with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' in /Cisco-IOS-XR-spirit-install-act:install-add 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' Debug---:ydk:Getting data nodes with path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' 2022-01-22 12:13:21,992 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' 2022-01-22 12:13:21,992 - ydk - Debug--- - Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' Debug---:ydk:Creating new data path 'packagename[.="ncs5500-infra-5.0.0.1-r75213I.CSCxr22222.x86_64.rpm"]' with value '' in 'install-add' 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'ydk:create' 2022-01-22 12:13:21,992 - ydk - Debug--- - Getting new modules for path 'ydk:create' Getting new modules for path 'ydk:create' Debug---:ydk:Getting new modules for path 'ydk:create' 2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision '' 2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision '' Loading module 'ydk', revision '' Debug---:ydk:Loading module 'ydk', revision '' 2022-01-22 12:13:21,993 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,993 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository The module 'ydk' schema has already been populated in YDK repository Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,993 - ydk - Debug--- - Getting new modules for path 'ydk:read' 2022-01-22 12:13:21,993 - ydk - Debug--- - Getting new modules for path 'ydk:read' Getting new modules for path 'ydk:read' Debug---:ydk:Getting new modules for path 'ydk:read' 2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision '' 2022-01-22 12:13:21,993 - ydk - Debug--- - Loading module 'ydk', revision '' Loading module 'ydk', revision '' Debug---:ydk:Loading module 'ydk', revision '' 2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository The module 'ydk' schema has already been populated in YDK repository Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:update' 2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:update' Getting new modules for path 'ydk:update' Debug---:ydk:Getting new modules for path 'ydk:update' 2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision '' 2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision '' Loading module 'ydk', revision '' Debug---:ydk:Loading module 'ydk', revision '' 2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,994 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository The module 'ydk' schema has already been populated in YDK repository Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:delete' 2022-01-22 12:13:21,994 - ydk - Debug--- - Getting new modules for path 'ydk:delete' Getting new modules for path 'ydk:delete' Debug---:ydk:Getting new modules for path 'ydk:delete' 2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision '' 2022-01-22 12:13:21,994 - ydk - Debug--- - Loading module 'ydk', revision '' Loading module 'ydk', revision '' Debug---:ydk:Loading module 'ydk', revision '' 2022-01-22 12:13:21,995 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,995 - ydk - Debug--- - The module 'ydk' schema has already been populated in YDK repository The module 'ydk' schema has already been populated in YDK repository Debug---:ydk:The module 'ydk' schema has already been populated in YDK repository 2022-01-22 12:13:21,995 - ydk - Debug--- - ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string 2022-01-22 12:13:21,995 - ydk - Debug--- - ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string Debug---:ydk:ydk::path::Codec: Encoding data node '/Cisco-IOS-XR-spirit-install-act:install-add' to XML formated string 2022-01-22 12:13:21,995 - ydk - Info---- - ============= Sending RPC to device =============
2022-01-22 12:13:21,995 - ydk - Info---- - ============= Sending RPC to device =============
============= Sending RPC to device =============
Info----:ydk:============= Sending RPC to device =============
2022-01-22 12:13:21,995 - ydk - Debug--- - NetconfSSHClient: NC session status: 1 2022-01-22 12:13:21,995 - ydk - Debug--- - NetconfSSHClient: NC session status: 1 NetconfSSHClient: NC session status: 1 Debug---:ydk:NetconfSSHClient: NC session status: 1 2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Missing message-id in rpc. 2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Missing message-id in rpc. Trace: Missing message-id in rpc. Debug---:ydk:Trace: Missing message-id in rpc. 2022-01-22 12:13:21,996 - ydk - Debug--- - Netconf SSH Client: sending RPC 2022-01-22 12:13:21,996 - ydk - Debug--- - Netconf SSH Client: sending RPC Netconf SSH Client: sending RPC Debug---:ydk:Netconf SSH Client: sending RPC 2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Writing message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:21,996 - ydk - Debug--- - Trace: Writing message (session 1474803731): <?xml version="1.0"?>
Trace: Writing message (session 1474803731): <?xml version="1.0"?>
Debug---:ydk:Trace: Writing message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:21,996 - ydk - Debug--- - NetconfSSHClient: NC session status: 1 2022-01-22 12:13:21,996 - ydk - Debug--- - NetconfSSHClient: NC session status: 1 NetconfSSHClient: NC session status: 1 Debug---:ydk:NetconfSSHClient: NC session status: 1 2022-01-22 12:13:21,997 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC 2022-01-22 12:13:21,997 - ydk - Debug--- - Netconf SSH Client: receiving reply RPC Netconf SSH Client: receiving reply RPC Debug---:ydk:Netconf SSH Client: receiving reply RPC 2022-01-22 12:13:24,814 - ydk - Debug--- - Trace: Received message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:24,814 - ydk - Debug--- - Trace: Received message (session 1474803731): <?xml version="1.0"?>
Trace: Received message (session 1474803731): <?xml version="1.0"?>
Debug---:ydk:Trace: Received message (session 1474803731): <?xml version="1.0"?>
2022-01-22 12:13:24,815 - ydk - Debug--- - Netconf SSH Client: processing reply 2022-01-22 12:13:24,815 - ydk - Debug--- - Netconf SSH Client: processing reply Netconf SSH Client: processing reply Debug---:ydk:Netconf SSH Client: processing reply 2022-01-22 12:13:24,815 - ydk - Info---- - ============= Received RPC from device ============= <?xml version="1.0"?>
2022-01-22 12:13:24,815 - ydk - Info---- - ============= Received RPC from device ============= <?xml version="1.0"?>
============= Received RPC from device ============= <?xml version="1.0"?>
Info----:ydk:============= Received RPC from device ============= <?xml version="1.0"?>
2022-01-22 12:13:24,815 - ydk - Debug--- - Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is:10
2022-01-22 12:13:24,815 - ydk - Debug--- - Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is: 10
Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is: 10
Debug---:ydk:Decoding output for RPC '/Cisco-IOS-XR-spirit-install-act:install-add'. Output is: 10
2022-01-22 12:13:24,815 - ydk - Debug--- - Populating new schema from payload:
2022-01-22 12:13:24,815 - ydk - Debug--- - Populating new schema from payload:
Populating new schema from payload:
Debug---:ydk:Populating new schema from payload:
2022-01-22 12:13:24,816 - ydk - Debug--- - Extracting module namespaces from XML payload 2022-01-22 12:13:24,816 - ydk - Debug--- - Extracting module namespaces from XML payload Extracting module namespaces from XML payload Debug---:ydk:Extracting module namespaces from XML payload 2022-01-22 12:13:24,816 - ydk - Debug--- - Loading module 'Cisco-IOS-XR-spirit-install-act', revision '' 2022-01-22 12:13:24,816 - ydk - Debug--- - Loading module 'Cisco-IOS-XR-spirit-install-act', revision '' Loading module 'Cisco-IOS-XR-spirit-install-act', revision '' Debug---:ydk:Loading module 'Cisco-IOS-XR-spirit-install-act', revision '' 2022-01-22 12:13:24,816 - ydk - Debug--- - The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository 2022-01-22 12:13:24,816 - ydk - Debug--- - The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository Debug---:ydk:The module 'Cisco-IOS-XR-spirit-install-act' schema has already been populated in YDK repository 2022-01-22 12:13:24,816 - ydk - Error--- - Parsing failed with message Data model "sftp" not found. 2022-01-22 12:13:24,816 - ydk - Error--- - Parsing failed with message Data model "sftp" not found. Parsing failed with message Data model "sftp" not found. Error---:ydk:Parsing failed with message Data model "sftp" not found. Disconnected from device Trace: Writing message (session 1310386398): <?xml version="1.0" encoding="UTF-8"?>