# Examples Set

**URL:** https://dmap-community.ductus.global/c/example-set/10.md

[Latest](https://dmap-community.ductus.global/latest.md) · [Categories](https://dmap-community.ductus.global/categories.md)

---

## [Where should I start?](https://dmap-community.ductus.global/t/where-should-i-start/33)

<div class="topic-metadata">

**Author:** [@jlawitzke](https://dmap-community.ductus.global/u/jlawitzke)\
**Replies:** 0\
**Last updated:** [February 18, 2015, 8:20pm UTC](https://dmap-community.ductus.global/t/where-should-i-start/33 "2015-02-18T20:20:52Z")

</div>

After you install ConfD, the Examples Set is found in the subdirectory "examples.confd". All examples have README files which will guide you through what the example does, how to run the example, and many have suggested…

---

## [About the Examples Set category](https://dmap-community.ductus.global/t/about-the-examples-set-category/20)

<div class="topic-metadata">

**Author:** [@jlawitzke](https://dmap-community.ductus.global/u/jlawitzke)\
**Replies:** 0\
**Last updated:** [February 13, 2015, 8:34pm UTC](https://dmap-community.ductus.global/t/about-the-examples-set-category/20 "2015-02-13T20:34:57Z")

</div>

Discussion about the ConfD Examples Set. This category is for discussion about the ConfD Examples Set.

---

## [Examples on the REST API](https://dmap-community.ductus.global/t/examples-on-the-rest-api/4676)

<div class="topic-metadata">

**Author:** [@Maconair](https://dmap-community.ductus.global/u/Maconair)\
**Replies:** 1\
**Last updated:** [April 14, 2024, 12:25pm UTC](https://dmap-community.ductus.global/t/examples-on-the-rest-api/4676 "2024-04-14T12:25:13Z")

</div>

Hello, I have just started getting used to the confD version 6.4 and I’ve gotten to the chapter 21 where I need to quickly study on the REST API. However, I’m not finding the examples.confd/rest/router example in this v…

---

## [Logs not see when Netconf notification are generated](https://dmap-community.ductus.global/t/logs-not-see-when-netconf-notification-are-generated/4520)

<div class="topic-metadata">

**Author:** [@simha](https://dmap-community.ductus.global/u/simha)\
**Replies:** 3\
**Last updated:** [September 11, 2023, 1:50pm UTC](https://dmap-community.ductus.global/t/logs-not-see-when-netconf-notification-are-generated/4520 "2023-09-11T13:50:10Z")

</div>

SETUP: I have started a Notification notifier and receiver using the following command. ~/confd/examples.confd/netconf\_notifications$ make all start-builtin ~/confd/examples.confd/netconf\_notifications$ make nc-subscr…

---

## [/control-construct/logical-termination-point{1234}/layer-protocol{1}/air-interface-pac/air-interface-configuration/air-interface-name{test}](https://dmap-community.ductus.global/t/control-construct-logical-termination-point-1234-layer-protocol-1-air-interface-pac-air-interface-configuration-air-interface-name-test/4419)

<div class="topic-metadata">

**Author:** [@venkat\_tailf](https://dmap-community.ductus.global/u/venkat_tailf)\
**Replies:** 1\
**Last updated:** [April 30, 2023, 10:12am UTC](https://dmap-community.ductus.global/t/control-construct-logical-termination-point-1234-layer-protocol-1-air-interface-pac-air-interface-configuration-air-interface-name-test/4419 "2023-04-30T10:12:54Z")

</div>

/control-construct/logical-termination-point{1234}/layer-protocol{1}/air-interface-pac/air-interface-configuration/air-interface-name{test} now for this path in confd\_cli if I will give, show running-config control-con…

---

## [Bulk alarm generation](https://dmap-community.ductus.global/t/bulk-alarm-generation/4124)

<div class="topic-metadata">

**Author:** [@simha](https://dmap-community.ductus.global/u/simha)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 8:41am UTC](https://dmap-community.ductus.global/t/bulk-alarm-generation/4124 "2022-06-29T08:41:13Z")

</div>

Dear Community, I have installed Confd 7.6. I use “~/confd/examples.confd/netconf\_notifications$ make all start-builtin” to generate alarms one by one by pressing a keyword (d for linkdown, u for linkup, etc). Is there…

---

## [Starting confd in kubernetes stuck in phase0](https://dmap-community.ductus.global/t/starting-confd-in-kubernetes-stuck-in-phase0/3913)

<div class="topic-metadata">

**Author:** [@jerronimo](https://dmap-community.ductus.global/u/jerronimo)\
**Replies:** 4\
**Last updated:** [January 10, 2022, 11:42am UTC](https://dmap-community.ductus.global/t/starting-confd-in-kubernetes-stuck-in-phase0/3913 "2022-01-10T11:42:57Z")

</div>

Hello, I am building a active-active high availability cluster on kubernetes. I’ve created a docker image based on examples from https://info.tail-f.com/appnote-confd-and-kubernetes I chose Alpine distro with dumb-ini…

---

## [How to retrieve CONFD\_MAAPI\_USID and CONFD\_MAAPI\_THANDLE from bash](https://dmap-community.ductus.global/t/how-to-retrieve-confd-maapi-usid-and-confd-maapi-thandle-from-bash/3871)

<div class="topic-metadata">

**Author:** [@synthnassizer](https://dmap-community.ductus.global/u/synthnassizer)\
**Replies:** 1\
**Last updated:** [November 11, 2021, 3:19pm UTC](https://dmap-community.ductus.global/t/how-to-retrieve-confd-maapi-usid-and-confd-maapi-thandle-from-bash/3871 "2021-11-11T15:19:26Z")

</div>

Hi there, I attempt to write short bash script to read/write some value from the confD DB. so I can for example do: confd\_cmd -dd -o -c 'maapi\_delete "/lldp/enable"' confd\_cmd -dd -o -c 'mcreate "/lldp/enable"' to cr…

---

## [Confdc compile options example from man page](https://dmap-community.ductus.global/t/confdc-compile-options-example-from-man-page/3817)

<div class="topic-metadata">

**Author:** [@terahari](https://dmap-community.ductus.global/u/terahari)\
**Replies:** 5\
**Last updated:** [September 23, 2021, 11:45am UTC](https://dmap-community.ductus.global/t/confdc-compile-options-example-from-man-page/3817 "2021-09-23T11:45:33Z")

</div>

I recently installed the basic version of confd on my Ubuntu system. I get the following error message when I tried generating the header file as suggested in the Man page example. What is the reason for this error? Is …

---

## [About Aborting Current Action](https://dmap-community.ductus.global/t/about-aborting-current-action/3681)

<div class="topic-metadata">

**Author:** [@kageja](https://dmap-community.ductus.global/u/kageja)\
**Replies:** 2\
**Last updated:** [May 28, 2021, 11:37am UTC](https://dmap-community.ductus.global/t/about-aborting-current-action/3681 "2021-05-28T11:37:49Z")

</div>

Hello Folks, I followed intro/7-c\_actions example. I define new tail-f action point which name is “loop” in the config.yang file. And then i added a new switch case which contains this statement “for(;;){}” and i ca…

---

## [Error on make query : 1-2-3-start-query-model](https://dmap-community.ductus.global/t/error-on-make-query-1-2-3-start-query-model/3630)

<div class="topic-metadata">

**Author:** [@kageja](https://dmap-community.ductus.global/u/kageja)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 7:46pm UTC](https://dmap-community.ductus.global/t/error-on-make-query-1-2-3-start-query-model/3630 "2021-05-11T19:46:43Z")

</div>

Hello Everyone, I installed confD. i navigated to 1-2-3-start-query-model example. i compiled successfully via “cmd: make all” I configured successfully via “cmd: make clie” But make query command was not executed…

---

## [confD and DHCP (KEA or ISC-DHCP)](https://dmap-community.ductus.global/t/confd-and-dhcp-kea-or-isc-dhcp/3628)

<div class="topic-metadata">

**Author:** [@kageja](https://dmap-community.ductus.global/u/kageja)\
**Replies:** 6\
**Last updated:** [May 10, 2021, 6:25am UTC](https://dmap-community.ductus.global/t/confd-and-dhcp-kea-or-isc-dhcp/3628 "2021-05-10T06:25:49Z")

</div>

Hello everyone, I want to use confD. Our unit using confD premium so that, we can use confD but i have some questions. Our main purpose is to configure dhcp server over netconf. in that case, our dhcp server can be K…

---

## [Help required to implement call home feature](https://dmap-community.ductus.global/t/help-required-to-implement-call-home-feature/3273)

<div class="topic-metadata">

**Author:** [@Biswajit84](https://dmap-community.ductus.global/u/Biswajit84)\
**Replies:** 0\
**Last updated:** [September 11, 2020, 6:33pm UTC](https://dmap-community.ductus.global/t/help-required-to-implement-call-home-feature/3273 "2020-09-11T18:33:31Z")

</div>

Hi, Currently i am trying to implement the call home feature. Objective:when ever client connects to server,i need to initiate the call home.As of now i was using builtin ssh for the same.But once client reconnects aft…

---

## [AAA-Transform example](https://dmap-community.ductus.global/t/aaa-transform-example/3196)

<div class="topic-metadata">

**Author:** [@dileep](https://dmap-community.ductus.global/u/dileep)\
**Replies:** 6\
**Last updated:** [August 3, 2020, 8:53am UTC](https://dmap-community.ductus.global/t/aaa-transform-example/3196 "2020-08-03T08:53:02Z")

</div>

Hi, I have modified users.yang to add a must statement as below container users { tailf:callpoint simple-aaa { tailf:transform true; } must "user/enabled='true'" { error-message "At least one a…

---

## [How to add the support of the get\_next\_object() callback to the 5-c\_stats example?](https://dmap-community.ductus.global/t/how-to-add-the-support-of-the-get-next-object-callback-to-the-5-c-stats-example/202)

<div class="topic-metadata">

**Author:** [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Replies:** 41\
**Last updated:** [June 1, 2020, 12:51pm UTC](https://dmap-community.ductus.global/t/how-to-add-the-support-of-the-get-next-object-callback-to-the-5-c-stats-example/202 "2020-06-01T12:51:24Z")

</div>

EDIT 2021 - an updated data provider performance demo is available here: As this post explains for the get\_object() callback: In order to improve the performance of the data provider API callbacks, for both external …

---

## [Reading callpoint data with maapi api's](https://dmap-community.ductus.global/t/reading-callpoint-data-with-maapi-apis/2744)

<div class="topic-metadata">

**Author:** [@TUSHAR](https://dmap-community.ductus.global/u/TUSHAR)\
**Replies:** 1\
**Last updated:** [November 6, 2019, 5:09pm UTC](https://dmap-community.ductus.global/t/reading-callpoint-data-with-maapi-apis/2744 "2019-11-06T17:09:26Z")

</div>

In example 5-c\_stats we have callpoint on config false (Operational data) container. For a user application to read such data why we need maapi operations… For user application there is no way to find out if the node is…

---

## [How to add the support of the find\_next\_object() callback to the 5-c\_stats example?](https://dmap-community.ductus.global/t/how-to-add-the-support-of-the-find-next-object-callback-to-the-5-c-stats-example/204)

<div class="topic-metadata">

**Author:** [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Replies:** 20\
**Last updated:** [September 11, 2019, 1:17am UTC](https://dmap-community.ductus.global/t/how-to-add-the-support-of-the-find-next-object-callback-to-the-5-c-stats-example/204 "2019-09-11T01:17:32Z")

</div>

EDIT 2021 - an updated data provider performance demo is available here: Implementing the find\_next\_object() callback can be a significant optimization for large lists in cases where a northbound agent, e.g. over NE…

---

## [Confd subagent example](https://dmap-community.ductus.global/t/confd-subagent-example/1934)

<div class="topic-metadata">

**Author:** [@pmurthy](https://dmap-community.ductus.global/u/pmurthy)\
**Replies:** 5\
**Last updated:** [June 24, 2019, 6:49am UTC](https://dmap-community.ductus.global/t/confd-subagent-example/1934 "2019-06-24T06:49:28Z")

</div>

I refered below link to understand how the subagents work. But I could not get it working on confd-6.2.1. I have kept both dhcpd.fxs and hst.fxs in etc/confd/ folder and ran master confd.conf first. I used two diffren…

---

## [5-c\_stats example. Where is it?](https://dmap-community.ductus.global/t/5-c-stats-example-where-is-it/2394)

<div class="topic-metadata">

**Author:** [@arun88](https://dmap-community.ductus.global/u/arun88)\
**Replies:** 1\
**Last updated:** [April 8, 2019, 2:20pm UTC](https://dmap-community.ductus.global/t/5-c-stats-example-where-is-it/2394 "2019-04-08T14:20:14Z")

</div>

I see mentions of 5-c\_stats example in answers pertaining to tailf:call-points. Where can I find it? (confd/intro/5-c\_stats). What is the material being referred to here? is it the Kickstart user guide? I don’t see the e…

---

## [HA relay example](https://dmap-community.ductus.global/t/ha-relay-example/2254)

<div class="topic-metadata">

**Author:** [@pmurthy](https://dmap-community.ductus.global/u/pmurthy)\
**Replies:** 3\
**Last updated:** [January 31, 2019, 4:23pm UTC](https://dmap-community.ductus.global/t/ha-relay-example/2254 "2019-01-31T16:23:31Z")

</div>

Hi, I am referring to the examples given for ha (‘dummy’ folder). The setup came up fine and things are working properly. Now when I want to turn one node as a relay (as explained in section 24.8 of documents), I am not…

---

## [Unable to find the example set](https://dmap-community.ductus.global/t/unable-to-find-the-example-set/2174)

<div class="topic-metadata">

**Author:** [@dalakshm](https://dmap-community.ductus.global/u/dalakshm)\
**Replies:** 1\
**Last updated:** [December 5, 2018, 1:34am UTC](https://dmap-community.ductus.global/t/unable-to-find-the-example-set/2174 "2018-12-05T01:34:14Z")

</div>

Continuing the discussion from Where should I start?: I am currently using the confd-6.5.6.1. Where will be the "example set" be present? As per the suggestion from the post - "Where should I start?" I searched for t…

---

## [1-2-3-start-query-model make all command error](https://dmap-community.ductus.global/t/1-2-3-start-query-model-make-all-command-error/2128)

<div class="topic-metadata">

**Author:** [@emerald](https://dmap-community.ductus.global/u/emerald)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 11:36am UTC](https://dmap-community.ductus.global/t/1-2-3-start-query-model-make-all-command-error/2128 "2018-11-01T11:36:39Z")

</div>

Hi, I followed the 1-README\_start and tried the 1-2-3-start-query-mode example. But when I typed the make all command, it failed. The error message is as follows. /root/confd/bin/confdc --fail-on-warnings -c -o dhcp…

---

## [Get Key from get\_next() and do RPC using erlang application](https://dmap-community.ductus.global/t/get-key-from-get-next-and-do-rpc-using-erlang-application/2084)

<div class="topic-metadata">

**Author:** [@Prasanna](https://dmap-community.ductus.global/u/Prasanna)\
**Replies:** 0\
**Last updated:** [September 20, 2018, 8:34am UTC](https://dmap-community.ductus.global/t/get-key-from-get-next-and-do-rpc-using-erlang-application/2084 "2018-09-20T08:34:55Z")

</div>

I wanted to query each property(leaf) of this smp.yang file given in Erlang examples confd-6.6/erlang/econfd/examples/simple\_notrans/smp.yang. My current set up: 1) I have loaded the smp.yang file in MG-SOFT Yang ex…

---

## [Problem with xmllint executable. Is it in PATH?](https://dmap-community.ductus.global/t/problem-with-xmllint-executable-is-it-in-path/2015)

<div class="topic-metadata">

**Author:** [@quanxiul](https://dmap-community.ductus.global/u/quanxiul)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 5:51am UTC](https://dmap-community.ductus.global/t/problem-with-xmllint-executable-is-it-in-path/2015 "2018-08-02T05:51:00Z")

</div>

Hi: i am trying confd/examples.confd/ha/dummy example, version is confd-basic-6.4.linux.x86\_64. i run "make test",an error appeared as follows:could you tell me anything wrong? root@chaoas-VirtualBox:/home/ch…

---

## [Python Maagic Examples](https://dmap-community.ductus.global/t/python-maagic-examples/1993)

<div class="topic-metadata">

**Author:** [@jason.belk](https://dmap-community.ductus.global/u/jason.belk)\
**Replies:** 1\
**Last updated:** [July 18, 2018, 10:47am UTC](https://dmap-community.ductus.global/t/python-maagic-examples/1993 "2018-07-18T10:47:39Z")

</div>

I noticed there are many examples of the "maapi" ConfD python API in the intro/python folder with in the examples. However, are there some "Maagic" python API examples that could be added? In the meantime could someone p…

---

## [What is the mean /confdConfig/cli/multiPatternOperation?](https://dmap-community.ductus.global/t/what-is-the-mean-confdconfig-cli-multipatternoperation/1754)

<div class="topic-metadata">

**Author:** [@sunxa](https://dmap-community.ductus.global/u/sunxa)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 1:15pm UTC](https://dmap-community.ductus.global/t/what-is-the-mean-confdconfig-cli-multipatternoperation/1754 "2018-02-06T13:15:36Z")

</div>

Hi Can you further explain the /confdConfig/cli/multiPatternOperation in confd guide? Thanks

---

## [Debug commands in ConfD](https://dmap-community.ductus.global/t/debug-commands-in-confd/882)

<div class="topic-metadata">

**Author:** [@himgupt2](https://dmap-community.ductus.global/u/himgupt2)\
**Replies:** 2\
**Last updated:** [February 2, 2018, 1:20am UTC](https://dmap-community.ductus.global/t/debug-commands-in-confd/882 "2018-02-02T01:20:01Z")

</div>

Hi Team, How can we implement debug commands via ConfD CLI for any particular service, any previous references or examples will help. For example, If a user wants to turn ON crypto related debug commands and later tur…

---

## [Where is the Maapi defined in the file of "\*.js"?](https://dmap-community.ductus.global/t/where-is-the-maapi-defined-in-the-file-of-js/1749)

<div class="topic-metadata">

**Author:** [@sunxa](https://dmap-community.ductus.global/u/sunxa)\
**Replies:** 0\
**Last updated:** [February 1, 2018, 11:10am UTC](https://dmap-community.ductus.global/t/where-is-the-maapi-defined-in-the-file-of-js/1749 "2018-02-01T11:10:42Z")

</div>

There is a file named configRIPWizard.js in the quagga demo, the file use function Maapi.exists. I want to known where is the Maapi defined. And can you give a example about the use of Maapi.runCmd(). I can not understa…

---

## [Confd dyncfg default value](https://dmap-community.ductus.global/t/confd-dyncfg-default-value/892)

<div class="topic-metadata">

**Author:** [@yi\_z\_zhao](https://dmap-community.ductus.global/u/yi_z_zhao)\
**Replies:** 7\
**Last updated:** [January 2, 2018, 4:41pm UTC](https://dmap-community.ductus.global/t/confd-dyncfg-default-value/892 "2018-01-02T16:41:25Z")

</div>

Hi, I use confd dyncfg to support CLI session limit configuration. I have created a model to link to confd confd\_dyncfg.yang as below. The sessionLimits/sessionLimt/maxCliSessions can be deleted. The question is how…

---

## [Chapter 25 SNMP Gateway Example Problem](https://dmap-community.ductus.global/t/chapter-25-snmp-gateway-example-problem/1451)

<div class="topic-metadata">

**Author:** [@lloydroc](https://dmap-community.ductus.global/u/lloydroc)\
**Replies:** 1\
**Last updated:** [August 7, 2017, 9:18pm UTC](https://dmap-community.ductus.global/t/chapter-25-snmp-gateway-example-problem/1451 "2017-08-07T21:18:34Z")

</div>

Hello I'm trying to implement the SNMP Gateway example in Chapter 25 of the User Guide for confd 6.4.2. But get an Internal Error from confdc. I took a Cisco Interface MIB called IF-MIB which I assume what is in the ex…

[Next page](https://dmap-community.ductus.global/c/example-set/10.md?page=1)
