Hello,
I'm trying to run my first python pyaoscx v2 script. The only documentation I found was in the workflow.py file.
So my python script is:
#!/home/user/pyaoscx-env/bin/python
from pyaoscx.session import Session
from pyaoscx.pyaoscx_factory import PyaoscxFactory
from pyaoscx.interface import Interface
version = '10.04'
switch_ip = '10.100.10.106'
s = Session(switch_ip, version)
s.open('user', 'passwd')
port = Interface(s, '1/1/11')
port.get()
print(port)
When I run it I get:
AttributeError: module 'pyaoscx' has no attribute 'interface'
Any idea why I'm getting this error? Also are there any pointers to documentation for v2 pyaoscx?
Thank you
~
------------------------------
Mike R
------------------------------