FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hardware:junos:index.html [2018/03/14 00:41] kurihara |
hardware:junos:index.html [2018/03/26 15:32] (current) kurihara [junos.py] |
||
---|---|---|---|
Line 93: | Line 93: | ||
@task | @task | ||
def save_config(file): | def save_config(file): | ||
- | """ | + | """ |
date = datetime.now().strftime(' | date = datetime.now().strftime(' | ||
- | res=run(" | + | |
+ | | ||
| | ||
- | logfile=open(" | + | logfile=open(" |
logfile.write(res + " | logfile.write(res + " | ||
logfile.close() | logfile.close() | ||
+ | | ||
+ | local(" | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.