123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210 |
- <?xml version="1.0" encoding="UTF-8"?>
- <KLISH
- xmlns="http://clish.sourceforge.net/XMLSchema"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://clish.sourceforge.net/XMLSchema http://clish.sourceforge.net/XMLSchema/clish.xsd">
- <PLUGIN name="sysrepo">
- JuniperLikeShow = y
- FirstKeyWithStatement = n
- MultiKeysWithStatement = y
- Colorize = y
- </PLUGIN>
- <ENTRY name="PLINE_SET" purpose="ptype">
- <ENTRY name="completion" purpose="completion">
- <ACTION sym="srp_compl@sysrepo"/>
- </ENTRY>
- <ENTRY name="help" purpose="help">
- <ACTION sym="srp_help@sysrepo"/>
- </ENTRY>
- <ACTION sym="PLINE_SET@sysrepo"/>
- </ENTRY>
- <ENTRY name="PLINE_DEL" purpose="ptype">
- <ENTRY name="completion" purpose="completion">
- <ACTION sym="srp_compl@sysrepo"/>
- </ENTRY>
- <ENTRY name="help" purpose="help">
- <ACTION sym="srp_help@sysrepo"/>
- </ENTRY>
- <ACTION sym="PLINE_DEL@sysrepo"/>
- </ENTRY>
- <ENTRY name="PLINE_EDIT" purpose="ptype">
- <ENTRY name="completion" purpose="completion">
- <ACTION sym="srp_compl@sysrepo"/>
- </ENTRY>
- <ENTRY name="help" purpose="help">
- <ACTION sym="srp_help@sysrepo"/>
- </ENTRY>
- <ACTION sym="PLINE_EDIT@sysrepo"/>
- </ENTRY>
- <ENTRY name="PLINE_INSERT_FROM" purpose="ptype">
- <ENTRY name="completion" purpose="completion">
- <ACTION sym="srp_compl@sysrepo"/>
- </ENTRY>
- <ENTRY name="help" purpose="help">
- <ACTION sym="srp_help@sysrepo"/>
- </ENTRY>
- <ACTION sym="PLINE_INSERT_FROM@sysrepo"/>
- </ENTRY>
- <ENTRY name="PLINE_INSERT_TO" purpose="ptype">
- <ENTRY name="completion" purpose="completion">
- <ACTION sym="srp_compl_insert_to@sysrepo"/>
- </ENTRY>
- <ENTRY name="help" purpose="help">
- <ACTION sym="srp_help_insert_to@sysrepo"/>
- </ENTRY>
- <ACTION sym="PLINE_INSERT_TO@sysrepo"/>
- </ENTRY>
- <ENTRY name="main" container="true">
- <ENTRY name="configure" help="Configure system">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ACTION sym="nav">replace sysrepo</ACTION>
- </ENTRY>
- <ENTRY name="show" help="Show" mode="switch">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="running" help="Show running-config" mode="sequence">
- <ENTRY name="SUBCOMMAND" purpose="ptype" ref="/SUBCOMMAND"/>
- <ACTION sym="srp_show_running@sysrepo"/>
- </ENTRY>
- </ENTRY>
- </ENTRY>
- <ENTRY name="sysrepo" mode="switch" container="true">
- <ENTRY name="prompt" purpose="prompt">
- <ACTION sym="srp_prompt_edit_path@sysrepo"/>
- <ACTION sym="prompt">%u@%h# </ACTION>
- </ENTRY>
- <ENTRY name="exit" help="Exit configuration mode or level up">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ACTION sym="srp_up@sysrepo"/>
- <ACTION sym="nav" exec_on="fail">replace main</ACTION>
- </ENTRY>
- <ENTRY name="do" help="Execute operational mode command">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="operational" mode="switch" container="true" ref="/main"/>
- </ENTRY>
- <ENTRY name="set" help="Set data to database" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="path" max="100">
- <ENTRY name="PLINE_SET" purpose="ptype" ref="/PLINE_SET"/>
- </ENTRY>
- <ACTION sym="srp_set@sysrepo"/>
- </ENTRY>
- <ENTRY name="del" help="Delete data from database" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="path" max="100">
- <ENTRY name="PLINE_DEL" purpose="ptype" ref="/PLINE_DEL"/>
- </ENTRY>
- <ACTION sym="srp_del@sysrepo"/>
- </ENTRY>
- <ENTRY name="edit" help="Change hierarchy level" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="path" max="100">
- <ENTRY name="PLINE_EDIT" purpose="ptype" ref="/PLINE_EDIT"/>
- </ENTRY>
- <ACTION sym="srp_edit@sysrepo"/>
- </ENTRY>
- <ENTRY name="top" help="Change hierarchy level to the top one" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ACTION sym="srp_top@sysrepo"/>
- </ENTRY>
- <ENTRY name="up" help="Up hierarchy level" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ACTION sym="srp_up@sysrepo"/>
- </ENTRY>
- <ENTRY name="insert" help="Insert statement to specified position" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="from_path" max="100">
- <ENTRY name="PLINE_INSERT_FROM" purpose="ptype" ref="/PLINE_INSERT_FROM"/>
- </ENTRY>
- <ENTRY name="position" mode="switch" container="true">
- <ENTRY name="first" help="First position">
- <ENTRY name="SUBCOMMAND" purpose="ptype" ref="/SUBCOMMAND"/>
- </ENTRY>
- <ENTRY name="last" help="Last position">
- <ENTRY name="SUBCOMMAND" purpose="ptype" ref="/SUBCOMMAND"/>
- </ENTRY>
- <ENTRY name="relative_block" mode="sequence" container="true">
- <ENTRY name="relative" mode="switch" container="true">
- <ENTRY name="before" help="Before specified element">
- <ENTRY name="SUBCOMMAND" purpose="ptype" ref="/SUBCOMMAND"/>
- </ENTRY>
- <ENTRY name="after" help="After specified element">
- <ENTRY name="SUBCOMMAND" purpose="ptype" ref="/SUBCOMMAND"/>
- </ENTRY>
- </ENTRY>
- <ENTRY name="to_path" max="100">
- <ENTRY name="PLINE_INSERT_TO" purpose="ptype" ref="/PLINE_INSERT_TO"/>
- </ENTRY>
- </ENTRY>
- </ENTRY>
- <ACTION sym="srp_insert@sysrepo"/>
- </ENTRY>
- <ENTRY name="commit" help="Commit data to running-config" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ACTION sym="srp_commit@sysrepo"/>
- </ENTRY>
- <ENTRY name="check" help="Verify the candidate configuration" mode="sequence" min="0">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ACTION sym="srp_verify@sysrepo"/>
- </ENTRY>
- <ENTRY name="rollback" help="Rollback to running-config" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ACTION sym="srp_rollback@sysrepo"/>
- </ENTRY>
- <ENTRY name="show" help="Show data hierarchy" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="path" min="0" max="100">
- <ENTRY name="PLINE_EDIT" purpose="ptype" ref="/PLINE_EDIT"/>
- </ENTRY>
- <ACTION sym="srp_show@sysrepo"/>
- </ENTRY>
- <ENTRY name="diff" help="Show diff to running-config" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="path" min="0" max="100">
- <ENTRY name="PLINE_EDIT" purpose="ptype" ref="/PLINE_EDIT"/>
- </ENTRY>
- <ACTION sym="srp_diff@sysrepo"/>
- </ENTRY>
- <!--
- <ENTRY name="deactivate" help="Deactivate statement" mode="sequence">
- <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
- <ENTRY name="path" max="100">
- <ENTRY name="PLINE_DEL" purpose="ptype" ref="/PLINE_DEL"/>
- </ENTRY>
- <ACTION sym="srp_deactivate@sysrepo"/>
- </ENTRY>
- -->
- </ENTRY>
- </KLISH>
|