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 Next revision Both sides next revision | ||
hardware:cisco:index.html [2018/02/08 00:00] kurihara |
hardware:cisco:index.html [2018/02/14 01:38] kurihara |
||
---|---|---|---|
Line 29: | Line 29: | ||
from fabric.contrib import files | from fabric.contrib import files | ||
+ | env.eagerly_disconnect = False | ||
FHHOME=os.environ[" | FHHOME=os.environ[" | ||
+ | |||
# | # | ||
Line 45: | Line 47: | ||
# | # | ||
- | #cisco.termleng0 | + | #cisco.term_leng0 |
# | # | ||
@task | @task | ||
Line 55: | Line 57: | ||
# | # | ||
- | #cisco.showrun | + | #cisco.sh_run |
# | # | ||
@task | @task | ||
- | def showrun(): | + | def sh_run(): |
""" | """ | ||
run(" | run(" | ||
Line 67: | Line 69: | ||
# | # | ||
@task | @task | ||
- | def showrun(): | + | def sh_int_status(): |
""" | """ | ||
run(" | run(" |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.