Questions tagged [netconf]

53 questions
1
vote
2 answers

Creating an atomic process for a netconf edit-config request

I am creating a custom system that, when a user submits a netconf edit-config, it will initiate a set of actions in my system that will atomically alter the configuration of our system and then submit a notification to the user of its success or…
E.S.
  • 2,733
  • 6
  • 36
  • 71
1
vote
1 answer

Add data if 'config false' YANG

Can i sent POST(not PUT or PATCH) command if the config statement is false? How? module system { namespace "system:uri"; prefix "sys"; leaf id { config false; type string; } } It's possible to define the leaf as a read-only in…
1
vote
1 answer

Netconf edit-config

Is this RPC valid? fe-0/0/0
Ram
  • 301
  • 2
  • 12
0
votes
0 answers

OpenDaylight Netconf notification fail for step 4 (Create the http Stream for the events)

As https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html I want to subscript notification for netconf devices, step3 is OK, but step 4 fail -> Failed to lookup for module with name 'odl-device-notification'. enter image…
0
votes
1 answer

YANG , Telemetry sensor path

i am using this module " Cisco-IOS-XR-pfi-im-cmd-oper.yang" to get interface counts (UP , Down , Admin-Down), but i am stuck with symbol *[] , i dont understand what to put inside if there is no keys inside list brackets , +--ro node-type-sets | …
0
votes
0 answers

How to decode the Netconf messages captured by Wireshark?

My Netconf client communicates with a Confd Netconf server over SSH. I see encrypted packets (of type SSHv2 and TCP) captured by Wireshark whenever the client communicates with the server. How to decode these packets?
Bhuvan
  • 370
  • 9
0
votes
0 answers

netconf call home using ipv6

Can some one please help me in implementing netconf call home using ipv6 in python. Just read some articles about netconf home and tried implementing the same with below code , Can someone please check and tell me if I am heading in the right…
tinks
  • 111
  • 1
  • 2
  • 10
0
votes
0 answers

How to set log level to trace for Confd logs such as netconfTraceLog, netconfLog, etc?

Setup: I have developed a Netconf client. It connects to a Confd server over SSH. My Netconf client is able to establish an SSH connection and SSH channel. I see related Confd logs as listed below. 19-May-2023::20:41:38.554 vm-alarm…
Bhuvan
  • 370
  • 9
0
votes
0 answers

OpenDaylight TestTool: NETCONF notification

I am following the ODL user guide to implement NETCONF notifications with the TestTool provided by ODL. But I am only getting to subscribe to the notifications but not to revive them. The following links show which processes I am…
Uriel
  • 11
0
votes
0 answers

Custom yang module usage (ConfD_basic 7.8.3)

I have written 3 function get_temperature(),get_ddr() and get_cpu_load() to calculate temperature,ddr usage and cpu load of an ubuntu system.These functions store the value into a structure.I have also written a custom YANG module…
nanthi
  • 11
  • 3
0
votes
1 answer

ncclient Filters Causing RPC reply to be empty

I'm trying to use Netconf on Cisco IOS XE Router This one Here it's Public but Whenever I use a filter on my commands of get_config , edit_config or get I get an error. This is is on Cisco iox XE version 17.3. The get_config command does work if no…
danlged
  • 3
  • 3
0
votes
0 answers

netconf protocol using Indy IdTCPClient in CppBuilder

How do I start a netconf session using Indy's TIdTCPClient (or, if that is not the correct library to use, please tell me what I should be using instead)? I am attempting to write a FireMonkey application (Windows, Android, iOS) application using…
Brian P.
  • 206
  • 3
  • 14
0
votes
1 answer

influence data structure for python xml parser

I'm pulling what is left of my hair out today. I'm working with NETCONF and Juniper Junos devices and struggling to understand how to achieve something. The problem is the XML config output is formatting annotations in a way that the parsers are not…
doghousedean
  • 74
  • 12
0
votes
2 answers

Meaning of the number sent with Netconf payload

I am using confd based Netconf agent. When I checked the XML payload received by the agent, I see a number prefixed in the payload. It is not message-id. What is this prefix? Please give any RFC reference which explains the prefix. For example,…
Bhuvan
  • 370
  • 9