Sign Up
Log In
Home
discussion
Exam 350-401 Question id=5588 Automation

import ncclient with neclien.tmanager.connect( host = '192.168.1.1', port = 830, username = 'root', password = 'test398101469!', allow_agent = False) as m: print(m.get_config(‘running’).data_xml) Output $ python get_config.py Traceback (most recent calll last) : File "get_config.py", line 3, in with neclient.manager.connect (host = '192.168.1.1, port = 830, username = 'root', AttributeError: 'module' object has no attribute 'manager'

Running the script causes the output in the exhibit. Which change to the first line of the script resolves the error?

A. from ncclient import
B. import manager
C. from ncclient import *
D. import ncclient manager