This commit is contained in:
2022-03-26 16:30:37 -03:00
parent 555b285d36
commit 2042178cbe
4 changed files with 93 additions and 7 deletions

View File

@@ -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)