datacenter / acitoolkit

A basic toolkit for accessing the Cisco APIC
Other
350 stars 266 forks source link

aci-diagram failed to connect to apic #247

Open alfpohl opened 7 years ago

alfpohl commented 7 years ago

Hi Team, I started evaluating on aci-diagram. From my workstation I can ping, ssh and https to an apic. However, when executing diagram, I get some message indicating connection problems. This stays the same when I enter userid and password with the options -l and -p and even if I enter diagram without any option. So I am currently not sure if this is a real connection issue or if sth is wrong with my aci-tools setup.

python diagram.py -u https://192.168.117.60 -v File "diagram.py", line 31 print "Connection to APIC failed" ^ SyntaxError: Missing parentheses in call to 'print'

What can I do to debug the issue ?

best regards Alfred

richardstrnad commented 7 years ago

Hi Alfred,

This issue is related to incompatible python3 code in the diagram.py Also pygraphviz only works with python2 currently, that mean you have to use python2.

Hope this helps.

Cheers Richy