Last active
May 18, 2020 23:48
-
-
Save h4ndzdatm0ld/3951272e5289d92b76bb04ca0f14f088 to your computer and use it in GitHub Desktop.
NETCONF template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def netconfconn(nodeip,ncusername,ncpassword): | |
conn = manager.connect(host=nodeip, | |
port=830, | |
username=ncusername, | |
password=ncpassword, | |
hostkey_verify=False, | |
device_params={'name':'alu'}) | |
return conn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment