Doing commit confirmed with CLI

From the user guide (section 16.19.2) I can see that there are many options to the commit command:
commit (check | and-quit | confirmed []…

but from confd cli I don’t see such options?
How I can see it?
I want to check the commit confirmed option using the CLI.

thanks,

Have you enabled the candidate datastore in confd.conf?

For example:

$ pwd
/Users/tailf/confd-6.4.2/examples.confd/user_guide_examples/simple_cdb
$ diff -u confd.conf.bak confd.conf
--- confd.conf.bak	2017-06-19 09:48:55.000000000 +0200
+++ confd.conf	2017-06-19 09:23:25.000000000 +0200
@@ -171,7 +171,7 @@
          NETCONF, CLI or WebGUI, or other agents.
     -->
     <candidate>
-      <enabled>false</enabled>
+      <enabled>true</enabled>
       <!-- By default, confd implements the candidate configuration
            without impacting the application.  But if your system
            already implements the candidate itself, set 'implementation' to
@@ -197,7 +197,7 @@
          operations are allowed to write to the running configuration.
     -->
     <running>  
-      <access>read-write</access>
+      <access>writable-through-candidate</access>
     </running>
   </datastores>
 
@@ -232,18 +232,18 @@
 
       <!-- enable only if /confdConfig/datastores/candidate is enabled -->
       <candidate>
-        <enabled>false</enabled>
+        <enabled>true</enabled>
       </candidate>
 
       <confirmed-commit>
-        <enabled>false</enabled>
+        <enabled>true</enabled>
       </confirmed-commit>
 
       <!--
            enable only if /confdConfig/datastores/running/access is read-write
       -->
       <writable-running>
-        <enabled>true</enabled>
+        <enabled>false</enabled>
       </writable-running>
 
       <rollback-on-error>

Hi,

I changed the confd.conf file according to your suggestion but still when I entering the confd_cli in config exclusive mode I got:
localhost(config)# commit ?
Possible completions:
and-quit Exit configuration mode
check Validate configuration
comment Add a commit comment
label Add a commit label
no-confirm No confirm
save-running Save running to file before performing the commit

localhost(config)# commit

No option for commit confirmed

Hi,

Check that you configured ConfD using your modified confd.conf:

# show netconf-state | nomore | begin candidate | until confirmed-commit:1.1
netconf-state capabilities capability urn:ietf:params:netconf:capability:candidate:1.0
netconf-state capabilities capability urn:ietf:params:netconf:capability:confirmed-commit:1.0
netconf-state capabilities capability urn:ietf:params:netconf:capability:confirmed-commit:1.1

root@localhost:~/kvmpackage# ./Confd/bin/confd_cli
Welcome to ConfD Basic

The CLI may only be used during product development.
Commercial use of the CLI is prohibited.
You must disable the CLI in confd.conf for production.
For more information, visit http://www.tail-f.com.
root connected from 10.24.200.100 using ssh on localhost
localhost# show netconf-state | nomore | begin candidate | until confirmed-commit:1.1
netconf-state capabilities capability urn:ietf:params:netconf:capability:candidate:1.0
netconf-state capabilities capability urn:ietf:params:netconf:capability:confirmed-commit:1.0
netconf-state capabilities capability urn:ietf:params:netconf:capability:confirmed-commit:1.1

Looks that I confiogured as expected but no option for commit confirmed

I suggest you try ConfD Basic 6.4 examples.confd/user_guide_examples/simple_cdb with the modified confd.conf and let me know the result you get.