Skip to content
New issue

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

"show configuration devices" and "show configuration devices | display cli" differs #24

Closed
krihal opened this issue Aug 11, 2023 · 3 comments
Assignees
Labels
bug Something isn't working fixed: plz verify Bug/feature is fixed by developer, need verification

Comments

@krihal
Copy link
Collaborator

krihal commented Aug 11, 2023

debian@khn-dev> show configuration devices
<devices xmlns="http://clicon.org/controller">
   <device>
      <name>crpd1</name>
      <enabled>true</enabled>
      <conn-type>NETCONF_SSH</conn-type>
      <user>admin</user>
      <addr>172.40.0.2</addr>
      <config>
...

When appending "| display cli" I expect to see crpd2 as well and a lot of more information:

debian@khn-dev> show devices
Name                    State      Time                   Logmsg
=======================================================================================
crpd1                   CLOSED     2023-08-11T08:47:25    User request
crpd2                   CLOSED     2023-08-11T08:47:25    User request
debian@khn-dev> show configuration devices | display cli
set devices device crpd1
set devices device crpd1 enabled true
set devices device crpd1 conn-type NETCONF_SSH
set devices device crpd1 user admin
set devices device crpd1 addr 172.40.0.2
set devices device crpd1 config
debian@khn-dev>
@krihal krihal added the bug Something isn't working label Aug 11, 2023
@olofhagsand
Copy link
Member

YANG not bound in second device

olofhagsand added a commit to clicon/clixon that referenced this issue Aug 12, 2023
@olofhagsand olofhagsand added the fixed: plz verify Bug/feature is fixed by developer, need verification label Aug 12, 2023
@krihal
Copy link
Collaborator Author

krihal commented Aug 14, 2023

Don't get any output at all:

debian@khn-dev> show configuration devices | display cli
debian@khn-dev>

@krihal
Copy link
Collaborator Author

krihal commented Aug 14, 2023

Verified on Zoomie.

@krihal krihal closed this as completed Aug 14, 2023
olofhagsand added a commit to clicon/clixon that referenced this issue Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed: plz verify Bug/feature is fixed by developer, need verification
Projects
None yet
Development

No branches or pull requests

2 participants