netopeer2
netopeer2 copied to clipboard
Capability exchange.
Hi @michalvasko I am having doubt on capability exchanging which are listed below :
1.) While I am connecting netopeer2-cli to netopeer2-server what changes/modifications to do so that I can get a hello message along with capability exchanging.As When we read netconf document they suggest that after connection hello message will exchange by client and server with their capabilities.
2.)Also, I am checking capabilities with the status command on netopeer2-cli side as shown below, so can u tell me the capabilities I am getting on the client-side those are of server or client.
> status
Current NETCONF session:
ID : 1
Host : 192.168.12.17
Port : 830
Transport : SSH
Capabilities:
urn:ietf:params:netconf:base:1.0
urn:ietf:params:netconf:base:1.1
urn:ietf:params:netconf:capability:writable-running:1.0
urn:ietf:params:netconf:capability:candidate:1.0
urn:ietf:params:netconf:capability:confirmed-commit:1.1
urn:ietf:params:netconf:capability:rollback-on-error:1.0
urn:ietf:params:netconf:capability:validate:1.1
urn:ietf:params:netconf:capability:startup:1.0
urn:ietf:params:netconf:capability:xpath:1.0
urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged,trim,explicit
urn:ietf:params:netconf:capability:notification:1.0
urn:ietf:params:netconf:capability:interleave:1.0
urn:ietf:params:xml:ns:yang:ietf-yang-metadata?module=ietf-yang-metadata&revision=2016-08-05
urn:ietf:params:xml:ns:yang:1?module=yang&revision=2021-04-07
urn:ietf:params:xml:ns:yang:ietf-inet-types?module=ietf-inet-types&revision=2013-07-15
urn:ietf:params:xml:ns:yang:ietf-yang-types?module=ietf-yang-types&revision=2013-07-15
urn:ietf:params:netconf:capability:yang-library:1.1?revision=2019-01-04&content-id=55
urn:sysrepo:plugind?module=sysrepo-plugind&revision=2020-12-10
urn:ietf:params:xml:ns:netconf:base:1.0?module=ietf-netconf&revision=2013-09-29&features=writable-running,candidate,confirmed-commit,rollback-on-error,validate,startup,url,xpath
urn:ietf:params:xml:ns:yang:ietf-netconf-acm?module=ietf-netconf-acm&revision=2018-02-14
urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults?module=ietf-netconf-with-defaults&revision=2011-06-01
urn:ietf:params:xml:ns:yang:ietf-netconf-notifications?module=ietf-netconf-notifications&revision=2012-02-06
urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring?module=ietf-netconf-monitoring&revision=2010-10-04
urn:ietf:params:xml:ns:netmod:notification?module=nc-notifications&revision=2008-07-14
urn:ietf:params:xml:ns:netconf:notification:1.0?module=notifications&revision=2008-07-14
urn:ietf:params:xml:ns:yang:ietf-x509-cert-to-name?module=ietf-x509-cert-to-name&revision=2014-12-10
urn:ietf:params:xml:ns:yang:iana-crypt-hash?module=iana-crypt-hash&revision=2014-08-06
urn:ietf:params:xml:ns:yang:iana-if-type?module=iana-if-type&revision=2017-01-19
urn:sysrepo:my?module=my&revision=2021-05-29
urn:sysrepo:college?module=college&revision=2021-11-17
urn:examples?module=examples
**BUT** I am not sure that above listed lines are capabilities ? if yes then these capabilities are of server or of client
- Hello message includes the capabilities, they are generally the same thing (one includes the other).
- Client should advertise only capabilities
urn:ietf:params:netconf:base:1.0
urn:ietf:params:netconf:base:1.1
based on what protocol version it understands, no others. So the capabilities you see are server capabilities.
@michalvasko Can you tell me how to enable the capabilities exchange during connection?
What do you mean? Capability exchange is just hello message exchange, which is a mandatory initial step of every NETCONF session, it is always "enabled".
Hi @michalvasko We are not getting messages on connecting with netopeer2-server at netopeer2-cli side
You will need to include much more details and ideally some server/CLI output as well.
I am running server command and connecting through client below are the logs :
netopeer2-server side logs :
root@6499--IOT--MCP7:/home/vvdn# netopeer2-server -d -v3 &
[1] 10331
root@6499--IOT--MCP7:/home/vvdn# [INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[WRN]: SR: Removing event pipe "sr_evpipe3" after a crashed subscription.
[WRN]: SR: Connection with CID 3 is dead.
[INF]: SR: Applying scheduled changes.
[INF]: LY: Searching for "ietf-datastores" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-library" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "sysrepo-monitoring" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-datastores@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Searching for "sysrepo-plugind" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-netconf" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-netconf-acm" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-yang-metadata" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-metadata@2016-08-05" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-netconf-with-defaults" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-metadata" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-metadata@2016-08-05" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-netconf-notifications" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-netconf@2013-09-29" is not used for import, revision "2013-09-29" is imported instead.
[INF]: LY: Searching for "ietf-origin" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-metadata" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-metadata@2016-08-05" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-netconf-monitoring" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-netconf-nmda" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-datastores@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Implemented module "ietf-netconf@2013-09-29" is not used for import, revision "2013-09-29" is imported instead.
[INF]: LY: Searching for "nc-notifications" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "notifications" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-x509-cert-to-name" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-crypto-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Searching for "ietf-keystore" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Searching for "ietf-truststore" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Implemented module "ietf-crypto-types@2019-07-02" is not used for import, revision "2019-07-02" is imported instead.
[INF]: LY: Searching for "ietf-tcp-common" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-ssh-server" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-ssh-common" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "iana-crypt-hash" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Searching for "ietf-tls-server" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-tls-common" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-keystore@2019-07-02" is not used for import, revision "2019-07-02" is imported instead.
[INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Searching for "ietf-netconf-server" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-tcp-client" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-tcp-server" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-tcp-common@2019-07-02" is not used for import, revision "2019-07-02" is imported instead.
[INF]: LY: Searching for "ietf-interfaces" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-ip" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-network-instance" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead.
[INF]: LY: Searching for "ietf-yang-schema-mount" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-subscribed-notifications" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead.
[INF]: LY: Implemented module "ietf-netconf-acm@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Searching for "ietf-restconf" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-yang-push" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-datastores@2018-02-14" is not used for import, revision "2018-02-14" is imported instead.
[INF]: LY: Searching for "ietf-restconf" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Newer revision than "ietf-restconf@2017-01-26" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-yang-patch" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-restconf" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Newer revision than "ietf-restconf@2017-01-26" not found, using this as the latest revision.
[INF]: LY: Searching for "o-ran-compression-factors" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "o-ran-module-cap" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "o-ran-laa-operations" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "iana-if-type" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead.
[INF]: LY: Searching for "iana-hardware" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-hardware" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "o-ran-interfaces" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead.
[INF]: LY: Implemented module "ietf-ip@2018-02-22" is not used for import, revision "2018-02-22" is imported instead.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "iana-hardware@2018-03-13" is not used for import, revision "2018-03-13" is imported instead.
[INF]: LY: Searching for "o-ran-processing-element" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead.
[INF]: LY: Implemented module "ietf-ip@2018-02-22" is not used for import, revision "2018-02-22" is imported instead.
[INF]: LY: Searching for "o-ran-file-management" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-crypto-types@2019-07-02" is not used for import, revision "2019-07-02" is imported instead.
[INF]: LY: Searching for "o-ran-performance-management" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-hardware@2018-03-13" is not used for import, revision "2018-03-13" is imported instead.
[INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead.
[INF]: LY: Searching for "ietf-inet-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Implemented module "o-ran-interfaces@2020-04-17" is not used for import, revision "2020-04-17" is imported instead.
[INF]: LY: Implemented module "iana-hardware@2018-03-13" is not used for import, revision "2018-03-13" is imported instead.
[INF]: LY: Searching for "my" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "examples" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/examples.yang" file.
[INF]: LY: Searching for "ekta" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/ekta.yang" file.
[INF]: LY: Searching for "o-ran-trace" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "o-ran-troubleshooting" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "o-ran-supervision" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "ietf-yang-types" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
[INF]: LY: Searching for "o-ran-fm" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Searching for "o-ran-sync" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Implemented module "ietf-interfaces@2018-02-20" is not used for import, revision "2018-02-20" is imported instead.
[INF]: LY: Implemented module "o-ran-interfaces@2020-04-17" is not used for import, revision "2020-04-17" is imported instead.
[INF]: LY: Searching for "college" in "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang".
[INF]: LY: Loading schema from "/home/vvdn/hfcl_8t8r/sysrepo/build/repository/yang/[email protected]" file.
[INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-yang-push:{augment='/sn:filters'}/ietf-yang-push:selection-filter/{uses='selection-filter-types'}/filter-spec/datastore-subtree-filter/datastore-subtree-filter
[INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-subscribed-notifications:filters/stream-filter/{uses='stream-filter-elements'}/filter-spec/stream-subtree-filter/stream-subtree-filter
[INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-yang-push:{augment='/sn:subscriptions/sn:subscription/sn:target'}/ietf-yang-push:datastore/{uses='datastore-criteria'}/{uses='selection-filter-objects'}/selection-filter/within-subscription/{uses='selection-filter-types'}/filter-spec/datastore-subtree-filter/datastore-subtree-filter
[INF]: LY: Use of anydata to define configuration data is not recommended. /ietf-subscribed-notifications:subscriptions/subscription/{uses='subscription-policy'}/{uses='subscription-policy-dynamic'}/{uses='subscription-policy-modifiable'}/target/stream/stream-filter/within-subscription/{uses='stream-filter-elements'}/filter-spec/stream-subtree-filter/stream-subtree-filter
[INF]: LY: Missing explicit "deprecated" status specified in parent "subnet", inheriting for "prefix-length".
[INF]: LY: Missing explicit "deprecated" status specified in parent "subnet", inheriting for "netmask".
[INF]: LY: The ordered-by statement is ignored in lists representing notification content (/ietf-yang-push:push-change-update/datastore-changes/{uses='ypatch:yang-patch'}/yang-patch/edit).
[INF]: SR: No scheduled changes.
[INF]: SR: Datastore copied from <startup> to <running>.
[INF]: SR: Connection 1 created.
[INF]: SR: Session 1 (user "root", CID 1) created.
[INF]: SR: Triggering "ietf-subscribed-notifications" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: LN: Listening on 0.0.0.0:830 for SSH connections.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-keystore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-truststore" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-acm" "done" event on enabled data.
Logs after connecting from netopeer2-client side :
vvdn@6499--IOT--MCP7:~$ netopeer2-cli
> connect --host 10.42.0.174 --login vvdn
The authenticity of the host '10.42.0.174' cannot be established.
ssh-rsa key fingerprint is 34:14:b4:f8:0e:58:57:1e:38:05:c4:17:c7:35:b2:1d:f8:f2:04:4f.
Are you sure you want to continue connecting (yes/no)? yes
Interactive SSH Authentication
Type your password:
Password:
>
>
>
>
netopeer2-server logs after connection established between server and client.
[INF]: LN: Accepted a connection on 0.0.0.0:830 from 10.42.0.174:34500.
[INF]: SR: Session 31 (user "root", CID 1) created.
[INF]: LN: Received an SSH message "request-service" of subtype "ssh-userauth".
[INF]: LN: Received an SSH message "request-auth" of subtype "none".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: Received an SSH message "request-auth" of subtype "interactive".
[INF]: LN: User "vvdn" authenticated.
[INF]: LN: Received an SSH message "request-channel-open" of subtype "session".
[INF]: LN: Received an SSH message "request-channel" of subtype "subsystem".
[INF]: SR: Session 32 (user "root", CID 1) created.
[INF]: SR: There are no subscribers for "ietf-netconf-notifications" notifications.
[INF]: NP: Generated new event (netconf-session-start).
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-metadata@2016-08-05" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-library@2019-01-04" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-datastores@<any>" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-datastores@<any>" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-netconf-nmda@<any>" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-origin@<any>" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-metadata@2016-08-05" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-netconf-with-defaults@2011-06-01" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-yang-metadata@2016-08-05" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: SR: Published event "rpc" "/ietf-netconf-nmda:get-data" with ID 1 priority 0 for 1 subscribers.
[INF]: SR: Processing "/ietf-netconf-nmda:get-data" "rpc" event with ID 1 priority 0 (remaining 1 subscribers).
[INF]: SR: Successful processing of "rpc" event with ID 1 priority 0 (remaining 0 subscribers).
[INF]: SR: Event "rpc" with ID 1 priority 0 succeeded.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "sysrepo@2021-09-07" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "sysrepo-monitoring@2021-07-29" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "sysrepo-plugind@2020-12-10" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-netconf-notifications@2012-02-06" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 2 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-compression-factors@2020-03-05" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-module-cap@2020-04-17" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-laa-operations@2019-07-03" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "iana-if-type@2017-01-19" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "iana-hardware@2018-03-13" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-hardware@2018-03-13" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-interfaces@2020-04-17" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-processing-element@2020-04-17" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-file-management@2019-07-03" was requested.
[INF]: NP: Session 1: thread 0 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-performance-management@2020-04-17" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "ietf-inet-types@2013-07-15" was requested.
[INF]: NP: Session 1: thread 4 event new RPC.
[INF]: LN: Session 1: Schema "my@2021-05-29" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "examples@<any>" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "ekta@<any>" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-trace@2019-07-03" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-troubleshooting@2019-02-04" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-supervision@2020-01-24" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-fm@2019-02-04" was requested.
[INF]: NP: Session 1: thread 3 event new RPC.
[INF]: LN: Session 1: Schema "o-ran-sync@2019-07-03" was requested.
[INF]: NP: Session 1: thread 1 event new RPC.
[INF]: LN: Session 1: Schema "college@2021-11-17" was requested.
[INF]: NP: Session 1: thread 0 event new RPC.
As you can see here we are not getting any hello message or capability exchange.
Like I said, hello message is exchanged but there are no messages printed. The command status, which you have used before, prints the capabilities received from the server.
okay, I am getting all the capabilities using status command but please confirm through status command client capabilities can be seen or not .
If not then what is the step to get client capabilities.
What do you need the client capabilities for?
@jktjkt actually for verifying purpose that what are the capabilities client and server both exchanging.
You cannot see client capabilities on the server but they are not really interesting, that is why. The client is supposed to send only the list of supported NETCONF versions, which are always 1.0 and 1.1 in this case.
In that case just activate verbose logging, and see the raw NETCONF protocol exchange. That should get you all the information that you're looking for.
@jktjkt actually for verifying purpose that what are the capabilities client and server both exchanging.