update
This commit is contained in:
5
test.py
5
test.py
@@ -18,7 +18,7 @@ conf = conn.configfile()
|
||||
# print(yaml.dump(conf.profiles))
|
||||
# conf.saveconfig("test.yaml")
|
||||
# ***
|
||||
# test = conn.node("test", "10.21.96.45")
|
||||
# test = conn.node("test", "10.21.96.45", user="fluzzi32", password="32A2dsqe!DB01")
|
||||
# xr=conn.node("xr@home", **conf.getitem("xr@home"), config=conf)
|
||||
# ios=conn.node("ios@home", **conf.connections["home"]["ios"], config=conf)
|
||||
# norman = conn.node("norman@home", **conf.connections["home"]["norman"], config=conf)
|
||||
@@ -27,7 +27,8 @@ conf = conn.configfile()
|
||||
# router228.interact()
|
||||
# router228.run(["term len 0","show ip int br"])
|
||||
# xroutput = xr.run("show run")
|
||||
# ios.run("show run", folder=".",stdout=True)
|
||||
# ios.run("show run",stdout=True)
|
||||
# test.run("show run",stdout=True)
|
||||
# norman.run(["ls -la", "pwd"])
|
||||
# test = eve.run(["ls -la", "pwd"])
|
||||
# print(norman.output)
|
||||
|
||||
Reference in New Issue
Block a user