Ho to config my network switch device?

Hi

My network switch has ssh, no Python.

Can I use Ansible via SSH to config my switch? (use CLI command)

Thanks

Yes, check out the raw module
https://docs.ansible.com/ansible/raw_module.html

What make of switch? Ansible 2.1 has support for a lot of switch vendors - see http://docs.ansible.com/ansible/list_of_network_modules.html
The switch does not need python installed and this gives a bit of additional functionality. I’ve had success so far withe the cisco ios and some success (with one issue, I have a post here on it) with juniper. I have some cumulus switches coming soon to test as well.

-ian

Hi ian:

I want to create a new device for network module.
The base module are command, config and template. I will reference IOS network module.

How to implement the network module?

Is it a custom module?

Thanks

Ian Cote於 2016年5月13日星期五 UTC+8上午6時10分00秒寫道:

Maybe you get some more answers to your questions, if you ask more
spefically. Or if you actually answer the question, that you get
asked. Like the one Ian asked.

What kind of switch? Why do you have to start from scratch? Nothing
you can build upon? Is there an existing module that is just missing
some features? Stuff like that...

Johannes

H Johannes:

It is white box switch.

Johannes Kastl於 2016年5月17日星期二 UTC+8上午12時57分54秒寫道: