fromncclientimportmanagerimportsys# parameter HOST='198.18.32.XX'PORT=830USER='cisco'PASS='cisco123'# create a main() methoddefmain():""" Main method that prints netconf capabilities of remote device. """withmanager.connect(host=HOST,port=PORT,username=USER,password=PASS,hostkey_verify=False,device_params={'name':'default'},look_for_keys=False,allow_agent=False)asm:# print all NETCONF capabilitiesprint('***Here are the Remote Devices Capabilities***')forcapabilityinm.server_capabilities:print(capability)if__name__=='__main__':sys.exit(main())