Hi Serj!
I've installed klish 3 and Sysrepo on my Linux VM, but I can't find any documentation on how to configure Klish to work with Sysrepo. Can you have any examples to see how it should work?
For example, how to configure Klish to make a simple command like `show interface eth1` work using Sysrepo?
Many thanks in advance!
In the klish 3 following commands are now available:
check Verify the candidate configuration
commit Commit data to running-config
del Delete data from configuration
diff Show diff relative running-config
do Execute operational mode command
edit Change hierarchy level
exit Exit configuration mode
insert Insert statement to specified position
quit Quit to the main menu
reset Reset to running-config
set Set data to configuration
show Show data hierarchy
top Change hierarchy level to the top one
up Up hierarchy level
Here is the list of installed modules in Sysrepo:
# sysrepoctl -l
Sysrepo repository: /etc/sysrepo
Module Name | Revision | Flags | Startup Owner | Startup Perms | Running Perms | Submodules | Features
----------------------------------------------------------------------------------------------------------------------------------------
ietf-datastores | 2018-02-14 | I | root:root | 444 | 444 | |
ietf-factory-default | 2020-08-31 | I | root:root | 600 | 600 | | factory-default-datastore
ietf-inet-types | 2013-07-15 | i | | | | |
ietf-netconf | 2013-09-29 | I | root:root | 644 | 644 | |
ietf-netconf-acm | 2018-02-14 | I | root:root | 600 | 600 | |
ietf-netconf-notifications | 2012-02-06 | I | root:root | 644 | 644 | |
ietf-netconf-with-defaults | 2011-06-01 | I | root:root | 444 | 444 | |
ietf-origin | 2018-02-14 | I | root:root | 444 | 444 | |
ietf-yang-library | 2019-01-04 | I | root:root | 644 | 644 | |
ietf-yang-metadata | 2016-08-05 | i | | | | |
ietf-yang-schema-mount | 2019-01-14 | I | root:root | 644 | 644 | |
ietf-yang-structure-ext | 2020-06-17 | i | | | | |
ietf-yang-types | 2013-07-15 | i | | | | |
sysrepo-factory-default | 2023-02-23 | I | root:root | 600 | 600 | |
sysrepo-monitoring | 2023-08-11 | I | root:root | 600 | 600 | |
sysrepo-plugind | 2022-08-26 | I | root:root | 644 | 644 | |
yang | 2022-06-16 | I | root:root | 444 | 444 | |
--
You received this message because you are subscribed to the Google Groups "klish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to klish+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/klish/59220412-1d0b-4d2c-bf32-7bdbdcdf78can%40googlegroups.com.