thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

ncclient

A Python library for NETCONF client operations against network devices.

Definition

ncclient handles SSH transport, capability exchange, and RPCs such as get, get_config, edit_config, lock, and commit. Responses are XML, often parsed with xmltodict.

Example

with manager.connect(host='r1', port=830, username='u', password='p', hostkey_verify=False) as m: print(m.get_config('running'))

Exam tip

ncclient defaults to port 830; hostkey_verify=False is for labs only.

Related terms