Questions tagged [ncclient]

Questions for ncclient project - https://github.com/ncclient/ncclient

11 questions
3
votes
0 answers

Tensorflow 1.15 multi worker strategy hangs after graph initialization on multiple machiens

I am running the TF keras_to_estimator example on using two machines, the process hangs after graph initialization when running the start script on each machine. The messages of console output on worker 0 machine after…
Jian Wang
  • 31
  • 1
1
vote
1 answer

Does ncclient support ericsson devices?

Does ncclient support ericsson devices? As ericsson device supports netconf, can we use ncclient to connect to these devices? Also does it support both netconf RFCs?
Shashank V
  • 10,007
  • 2
  • 25
  • 41
0
votes
0 answers

Unable to connect to CSR Router using NCClient on PPC64LE /REL 9.2

I have a simple program using netconf client version ncclient 0.6.13 with Python3 running on PPC64LE Red hat Version Red Hat Enterprise Linux release 9.2 (Plow) which is using netconf yang to connect to the remote Cisco router. import os from…
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

SSHException using nccclient

try: with ncclient.manager.connect_ssh( host=self.host, port=self.port, username=user, password=passwd, hostkey_verify=False, ) as self.mgr: …
0
votes
0 answers

Netconf returns bad-element: config

The configuration: Loopback138 TEST_SPSJM
user3603644
  • 95
  • 1
  • 7
0
votes
1 answer

NETCONF get running configuration

I am trying to get a running configuration from a network device, using NETCONF (not one of the well known such as Cisco/Juniper, etc). Using ncclient, I successfully get the capabilities and schemas but when trying to get running config the SSH…
0
votes
2 answers

How to get interfaces status with Netconf via ncclient

I am using ncclient to get information from a router (IOS-XR), however I am not able to get the status. I mean, If I run from the router the command "Show interfaces description" I can see the interface, status, protocol and description. I want to…
M_A
  • 11
  • 4
0
votes
1 answer

Exception has occurred: SessionCloseError

I have the following code: from ncclient import manager router = {"host": "ios-xe-mgmt.cisco.com", "port": "8181", "username": "developer", "password": "C1sco12345"} with manager.connect(host=router["host"], port=router["port"],…
0
votes
0 answers

How to query multiple config elements simultaneously?

I am having trouble with querying multiple config elements with NCCLIENT (0.6.9). Could you please, help me to find the correct syntax? I need to query all those in one call to reproduce a bug. The filter below returns an…
Istvan
  • 13
  • 2