clicon / clixon-controller

Clixon network controller
Apache License 2.0
13 stars 4 forks source link

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

Closed krihal closed 11 months ago

krihal commented 11 months ago
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>
olofhagsand commented 11 months ago

YANG not bound in second device

krihal commented 11 months ago

Don't get any output at all:

debian@khn-dev> show configuration devices | display cli
debian@khn-dev>
krihal commented 11 months ago

Verified on Zoomie.