Skip to content

Commit

Permalink
learn_hostname during connect
Browse files Browse the repository at this point in the history
  • Loading branch information
hpreston committed Sep 1, 2021
1 parent 4d2d8c6 commit 36624e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genie-examples/explore_vlans.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
device = testbed.devices["sbx-n9kv-ao"]

# Conenct to the device
device.connect()
device.connect(learn_hostname=True)

# Learn the vlans using Genie model
vlans = device.learn("vlan")
Expand Down

0 comments on commit 36624e4

Please sign in to comment.