The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
4Modules12Plugins1Dependency
Ansible Network Collection for Seiko SmartCS devices
SmartCS modules for Ansible works sends and receives character string to devices connected to SmartCS, and configures and manages SmartCS.
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install seiko.smartcs
You can also include it in a requirements.yml
file and install it with ansible-galaxy collection install -r requirements.yml
, using the format:
collections:
- name: seiko.smartcs
Note: that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the Ansible package. To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install seiko.smartcs --upgrade
You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 1.6.0:
ansible-galaxy collection install seiko.smartcs:==1.6.0
See using Ansible collections for more details.
You can call modules by their Fully Qualified Collection Namespace (FQCN), such as seiko.smartcs.smartcs_tty_command. The following example task login to the console port of the network device via Console Server SmartCS and execute the show version command, using the FQCN:
---
- name: Login to Network Device via Console Server SmartCS and execute "show version"
seiko.smartcs.smartcs_tty_command:
tty: 1
cmd_timeout: 5
recvchar:
- 'login: '
- 'Password: '
- 'SWITCH> '
sendchar:
- __NL__
- user1
- secret
- show version
- exit
---
- name: configuration tty 20 settings and write
seiko.smartcs.smartcs_config:
lines:
- set portd tty 20 label ROUTER
- set tty 20 baud 19200
save_when: modified
- name: run show version on remote devices
seiko.smartcs.smartcs_command:
commands: show version
Tested with Ansible Core v2.16+ Ansible Core versions prior to 2.16 are not supported. This collection has been tested against NS-2250 Ver 3.1.1
For any support request, please reach out to SmartCS Support Portal.
Please see the release notes for the latest updates to the SmartCS collection.
See example playbooks and use cases here.
SmartCS modules for Ansible is licensed under the GNU General Public License Version 3. This software includes programs which are modified from Ansible. For the full text, see the COPYING file.
Product |
---|
Red Hat Ansible Automation Platform 2.5 |
This collection requires the following collections for use:
Name | Summary |
---|