projects
/
ncclient
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6a4d4e3b8e67883d53efcd9907604309b2e79eef
[ncclient]
/
test.py
1
from ncclient import manager
2
3
import logging
4
logging.basicConfig(level=logging.DEBUG)
5
6
with manager.connect('broccoli', 22, username='sbhushan') as m:
7
with m.locked('candidate'):
8
print m.copy_config(source='running', target='candidate')
9
10
print reply