New clixon-autocli@2024-08-01.yang revision: Added disable operation for module rules
This commit is contained in:
parent
b1a4656f72
commit
74e8934636
7 changed files with 44 additions and 298 deletions
|
|
@ -179,6 +179,7 @@ install: $(YANGSPECS) $(CLISPECS) $(PLUGINS) $(APPNAME).xml restconf.xml autocli
|
|||
[ -n "$$(getent group "$(CLICON_GROUP)")" ] || groupadd "$(CLICON_GROUP)"
|
||||
[ -n "$$(getent passwd "$(CLICON_USER)")" ] || useradd -M -s /usr/sbin/nologin -g "$(CLICON_GROUP)" "$(CLICON_USER)"
|
||||
install -d -m 0755 $(DESTDIR)$(sysconfdir)/clixon
|
||||
install -d -m 0755 $(DESTDIR)$(sysconfdir)/clixon/$(APPNAME)
|
||||
install -m 0644 $(APPNAME).xml $(DESTDIR)$(sysconfdir)/clixon
|
||||
install -m 0644 autocli.xml $(DESTDIR)$(sysconfdir)/clixon/$(APPNAME)
|
||||
install -m 0644 restconf.xml $(DESTDIR)$(sysconfdir)/clixon/$(APPNAME)
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<clixon-config xmlns="http://clicon.org/config">
|
||||
<autocli>
|
||||
<module-default>false</module-default>
|
||||
<module-default>true</module-default>
|
||||
<list-keyword-default>kw-nokey</list-keyword-default>
|
||||
<treeref-state-default>false</treeref-state-default>
|
||||
<edit-mode-default>list container</edit-mode-default>
|
||||
<completion-default>true</completion-default>
|
||||
<rule>
|
||||
<name>include clixon-example</name>
|
||||
<module-name>clixon-example</module-name>
|
||||
<operation>enable</operation>
|
||||
<name>exclude nacm</name>
|
||||
<module-name>ietf-netconf-acm</module-name>
|
||||
<operation>disable</operation>
|
||||
</rule>
|
||||
</autocli>
|
||||
</clixon-config>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue