$ genie dnac interface isis ospf --testbed-file dna.yaml --output initial --via dnac:rest --device:dnac -v
loading yaml file /home/omerc/dev-workspace/pyats/DNAC-pyATS-Genie/dna.yaml
Deriving testbed name ...
Credential credentials not found, trying default ...
Learning '['interface', 'isis', 'ospf']' on devices '['dnac']'
Traceback (most recent call last):
File "src/pyats/cli/base.py", line 202, in pyats.cli.base.Command.main
File "src/genie/cli/commands/dnac.py", line 118, in genie.cli.commands.dnac.DnacCommand.run
File "src/genie/cli/commands/dnac.py", line 146, in genie.cli.commands.dnac.DnacCommand._learn_feature
File "src/genie/conf/base/device.py", line 597, in genie.conf.base.device.Device.connect
File "src/pyats/connections/manager.py", line 334, in pyats.connections.manager.ConnectionManager.connect
File "src/pyats/async_/synchronize.py", line 117, in pyats.async_.synchronize.Lockable.locked._wrapped
File "/home/omerc/dev-workspace/pyats/lib/python3.6/site-packages/rest/connector/libs/dnac/implementation.py", line 77, in connect
ip = self.connection_info['ip'].exploded
If I replace the host: in testbed dna.yaml with ip: the key error is resolved.
But the credentials are not being read from the testbed file. I have tried placing credentials at different places within the file and can validate the file with pyats validate.
I'm able to pull the topology using the API GEThttps://n.n.n.n/api/node/mo/topology/pod-1.json?query-target=children&target-subtree-class=fabricNode(after authenticating and getting a cookie, of course) But the version field is empty. I don't see...
FOSDEM is a truly unique experience and arguably the best open source conference of the year. It is a weekend event (February 1-2 this year) organized by open source enthusiasts to promote the widespread use of free and open source software...
Introduction:https://github.com/jeremyschulman/genie-quickstartAs a network automation engineer responsible for creating tools for use with Cisco devices I am always on the lookout for software products and technologies. I’ve been following the Cisco DevN...