Ansible netconf module supporting netconf notifications

19 views
Skip to first unread message

Senthil Jayakumar

unread,
Apr 9, 2020, 7:49:13 AM4/9/20
to Ansible Project
Hi There,

I'm newbie to Ansible and would like to know if Ansible netconf module supports subscribing and processing of netconf notifications?

Please confirm and redirect me to appropriate documentation and samples.

Thanks,
Senthil Kumar Jayakumar

Senthil Jayakumar

unread,
Apr 12, 2020, 10:35:58 AM4/12/20
to ansible...@googlegroups.com
Hi There,

I appreciate if the excerpts could respond to this query.

Thanks,
Senthil Kumar Jayakumar

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cb5f5fd8-de81-42f6-aebc-f4d4e15090bd%40googlegroups.com.

Ganesh Nalawade

unread,
Apr 13, 2020, 1:15:31 AM4/13/20
to ansible...@googlegroups.com

You can use netconf_rpc module to create netconf subscription using Ansible, processing notification is not supported with Ansible.

On Sun, Apr 12, 2020 at 8:05 PM Senthil Jayakumar <senthil....@gmail.com> wrote:
Hi There,

I appreciate if the excerpts could respond to this query.

Thanks,
Senthil Kumar Jayakumar

On Thu, Apr 9, 2020 at 5:19 PM Senthil Jayakumar <senthil....@gmail.com> wrote:
Hi There,

I'm newbie to Ansible and would like to know if Ansible netconf module supports subscribing and processing of netconf notifications?

Please confirm and redirect me to appropriate documentation and samples.

Thanks,
Senthil Kumar Jayakumar

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cb5f5fd8-de81-42f6-aebc-f4d4e15090bd%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.

Senthil Jayakumar

unread,
Apr 13, 2020, 5:22:12 AM4/13/20
to ansible...@googlegroups.com
Hi Ganesh,

Thanks for the reply.

When you say, we can subscribe to the notification using Ansible and not processing meaning there is no library available for processing? If required, the Ansible can parse the interested notifications e.g. for knowing status of the command execution or state information.

In this case, I wanted to parse the status of download to know if it is really completed or not. So, it is not feasible through anisble?

Please clarify.

Download Notification
<notification
xmlns="urn:ietf:params:xml:ns:netconf:notification:1.0">
<eventTime>2018-12-18T06:52:37Z</eventTime>
<download-event
xmlns="urn:xran:software-management:1.0">
<file-name>image-x86-64-1.0.0.tgz</file-name>
<status>COMPLETED</status>
</download-event>
</notification>


Thanks,
Senthil Kumar Jayakumar

Reply all
Reply to author
Forward
0 new messages