napalm-automation-community / napalm-mos Goto Github PK
View Code? Open in Web Editor NEWMetamako OS
License: Apache License 2.0
Metamako OS
License: Apache License 2.0
Hi, I suspect this is me configuring something incorrectly but I wasn't too sure how else to ask,
We already manage IOS and EOS devices with Salt and Napalm and I was hoping to use your module to have it also manage MOS devices. I have no problem connecting directly via python, but when called from salt-proxy it bombs:
[CRITICAL] Unexpected error while connecting to localhost
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/minion.py", line 864, in _connect_minion
yield minion.connect_master(failed=failed)
File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 870, in run
value = future.result()
File "/usr/lib64/python2.7/site-packages/tornado/concurrent.py", line 214, in result
raise_exc_info(self._exc_info)
File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 876, in run
yielded = self.gen.throw(*exc_info)
File "/usr/lib/python2.7/site-packages/salt/minion.py", line 1042, in connect_master
yield self._post_master_init(master)
File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 870, in run
value = future.result()
File "/usr/lib64/python2.7/site-packages/tornado/concurrent.py", line 214, in result
raise_exc_info(self._exc_info)
File "/usr/lib64/python2.7/site-packages/tornado/gen.py", line 879, in run
yielded = self.gen.send(value)
File "/usr/lib/python2.7/site-packages/salt/minion.py", line 3168, in _post_master_init
proxy_init_fn(self.opts)
File "/usr/lib/python2.7/site-packages/salt/proxy/napalm.py", line 181, in init
NETWORK_DEVICE.update(salt.utils.napalm.get_device(opts))
File "/usr/lib/python2.7/site-packages/salt/utils/napalm.py", line 309, in get_device
driver = provider_lib.get_network_driver(network_device.get('DRIVER_NAME'))
File "/usr/lib/python2.7/site-packages/napalm_base/init.py", line 114, in get_network_driver
.format(install_name=module_install_name))
ModuleImportError: No class inheriting "napalm_base.base.NetworkDriver" found in "napalm_mos".
Hi
I'd like to use get_interfaces_ip
on MOS. I can make a pull request for this soon, is that OK?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.