rapyutarobotics.rr_io.networks – Module to interact with rapyuta_io networks
Note
This plugin is part of the rapyutarobotics.rr_io collection (version 2.0.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install rapyutarobotics.rr_io
.
To use it in a playbook, specify: rapyutarobotics.rr_io.networks
.
New in version 1.0.0: of rapyutarobotics.rr_io
Synopsis
This is my longer description explaining my test module.
Parameters
Parameter |
Comments |
---|---|
Name of the network. |
|
network_interface used by the runtim=device in type=routed_network or type=native_network. Is case Insensitive. Default: “yes” |
|
Whether the network should be present in rapyuta.io. Choices:
|
|
Resource type needed for the type=native_network and runtime=cloud of type=routed_network. Required if type=native_network. Is case Insensitive. Choices:
|
|
Restart policy for runtime=device of type=routed_network. Is case Insensitive. Choices:
|
|
Ros Distro to be used for the native_network. Required if type=native_network. Is case Insensitive. Choices:
|
|
runtime for type=routed_network. Is case Insensitive. Choices:
|
|
Whether the type=routed_network should be shared. Is case Insensitive. Choices:
|
|
Can be used to deploy either static routes, native_networks or routed_networks. Choices:
|
Examples
# Native network example
- name: Network Deployment
rapyutarobotics.rr_io.networks:
name: native_network
present: false
type: native_network
ros_distro: noetic
resource_type: small
# Static Route example
- name: GWM Static Route
rapyutarobotics.rr_io.networks:
name: rr-gwm
present: false
type: static_route
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Whether the network was changed during executing the playbook. Returned: always Sample: true |
|
Whether the network exists after executing the playbook. Returned: always Sample: true |
|
Whether the network exists after executing the playbook. Returned: always Sample: true |
|
Whether the network exists after executing the playbook. Returned: always Sample: true |
|
Whether the network exists after executing the playbook. Returned: always Sample: true |
|
Whether the network exists after executing the playbook. Returned: always Sample: true |