vyos.vyos.vyos_snmp_server module – Manages snmp_server resource module
Note
This module is part of the vyos.vyos collection (version 4.1.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 vyos.vyos
.
To use it in a playbook, specify: vyos.vyos.vyos_snmp_server
.
New in vyos.vyos 2.7.0
Synopsis
This module manages the snmp server attributes of Vyos network devices
Parameters
Parameter |
Comments |
---|---|
SNMP server configuration. |
|
Community name configuration. |
|
Authorization type (rw or ro) Choices:
|
|
IP address of SNMP client allowed to contact system |
|
Community name |
|
Subnet of SNMP client(s) allowed to contact system |
|
Person to contact about the system. |
|
Description information |
|
IP address to listen for incoming SNMP requests |
|
IP address to listen for incoming SNMP requests. |
|
Port for SNMP service |
|
Location information |
|
Register a subtree for SMUX-based processing. |
|
Simple Network Management Protocol (SNMP) v3 |
|
Specifies the EngineID as a hex value |
|
Specifies the group with name groupname |
|
Specifies the group with name groupname |
|
Defines the read/write access Choices:
|
|
Defines security level Choices:
|
|
Defines the name of view |
|
Defines SNMP target for inform or traps for IP |
|
IP/IPv6 address of trap target |
|
Defines the authentication |
|
Defines the encrypted password for authentication |
|
Defines the clear text password for authentication |
|
Defines the protocol using for authentication Choices:
|
|
Defines the engineID. |
|
Specifies the TCP/UDP port of a destination for SNMP traps/informs. |
|
Defines the privacy |
|
Defines the encrypted password for privacy |
|
Defines the clear text password for privacy |
|
Defines the protocol using for privacy Choices:
|
|
Defines protocol for notification between TCP and UDP Choices:
|
|
Specifies the type of notification between inform and trap Choices:
|
|
Specifies that the snmpd uses encryption |
|
Defines the server certificate fingerprint or key-file name. |
|
Defines the port for tsm. |
|
Defines username for authentication |
|
Defines the authentication |
|
Defines the encrypted password for authentication |
|
Defines the clear text password for authentication |
|
Defines the protocol using for authentication Choices:
|
|
Defines the engineID. |
|
Specifies group for user name |
|
Specifies the mode for access rights of user, read only or write Choices:
|
|
Defines the privacy |
|
Defines the encrypted password for privacy |
|
Defines the clear text password for privacy |
|
Defines the protocol using for privacy Choices:
|
|
Specifies finger print or file name of TSM certificate. |
|
Specifies the user with name username |
|
Specifies the view with name viewname |
|
Exclude is optional argument. |
|
Defines a bit-mask that is indicating which subidentifiers of the associated subtree OID should be regarded as significant. |
|
Specify oid |
|
view name |
|
SNMP trap source address |
|
Address of trap target |
|
Address of trap target |
|
Community used when sending trap information |
|
Destination port used for trap notification |
|
The state the configuration should be left in. The states replaced and overridden have identical behaviour for this module. Please refer to examples for more details. |
|
The state the configuration should be left in Choices:
|
Notes
Note
Tested against vyos 1.1.8
This module works with connection
network_cli
.The Configuration defaults of the Vyos network devices are supposed to hinder idempotent behavior of plays
Examples
# Using merged
# Before State:
# vyos@vyos:~$ show configuration commands | grep snmp
# vyos@vyos:~$
- name: Merge provided configuration with device configuration
vyos.vyos.vyos_snmp_server:
config:
communities:
- name: "switches"
authorization_type: "rw"
- name: "bridges"
clients: ["1.1.1.1", "12.1.1.10"]
contact: "[email protected]"
listen_addresses:
- address: "20.1.1.1"
- address: "100.1.2.1"
port: 33
snmp_v3:
users:
- user: admin_user
authentication:
plaintext_key: "abc1234567"
type: "sha"
privacy:
plaintext_key: "abc1234567"
type: "aes"
state: merged
# After State:
# vyos@vyos:~$ show configuration commands | grep snmp
# set service snmp community bridges client '1.1.1.1'
# set service snmp community bridges client '12.1.1.10'
# set service snmp community switches authorization 'rw'
# set service snmp contact '[email protected]'
# set service snmp listen-address 20.1.1.1
# set service snmp listen-address 100.1.2.1 port '33'
# set service snmp v3 user admin_user auth plaintext-key 'abc1234567'
# set service snmp v3 user admin_user auth type 'sha'
# set service snmp v3 user admin_user privacy plaintext-key 'abc1234567'
# set service snmp v3 user admin_user privacy type 'aes'
# vyos@vyos:~$
#
# Module Execution:
#
# "after": {
# "communities": [
# {
# "clients": [
# "1.1.1.1",
# "12.1.1.10"
# ],
# "name": "bridges"
# },
# {
# "authorization_type": "rw",
# "name": "switches"
# }
# ],
# "contact": "[email protected]",
# "listen_addresses": [
# {
# "address": "100.1.2.1",
# "port": 33
# },
# {
# "address": "20.1.1.1"
# }
# ],
# "snmp_v3": {
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "admin_user"
# }
# ]
# }
# },
# "before": {},
# "changed": true,
# "commands": [
# "set service snmp community switches authorization rw",
# "set service snmp community bridges client 1.1.1.1",
# "set service snmp community bridges client 12.1.1.10",
# "set service snmp listen-address 20.1.1.1",
# "set service snmp listen-address 100.1.2.1 port 33",
# "set service snmp v3 user admin_user auth type sha",
# "set service snmp v3 user admin_user auth plaintext-key ********",
# "set service snmp v3 user admin_user privacy type aes",
# "set service snmp v3 user admin_user privacy plaintext-key ********",
# "set service snmp contact [email protected]"
# ],
#
# using Replaced:
# Before State
# vyos@vyos:~$ show configuration commands | grep snmp
# set service snmp community bridges client '1.1.1.1'
# set service snmp community bridges client '12.1.1.10'
# set service snmp community switches authorization 'rw'
# set service snmp contact '[email protected]'
# set service snmp listen-address 20.1.1.1
# set service snmp listen-address 100.1.2.1 port '33'
# set service snmp v3 user admin_user auth plaintext-key 'abc1234567'
# set service snmp v3 user admin_user auth type 'sha'
# set service snmp v3 user admin_user privacy plaintext-key 'abc1234567'
# set service snmp v3 user admin_user privacy type 'aes'
# vyos@vyos:~$
- name: Replace
vyos.vyos.vyos_snmp_server:
config:
communities:
- name: "bridges"
networks: ["1.1.1.0/24", "12.1.1.0/24"]
location: "RDU, NC"
listen_addresses:
- address: "100.1.2.1"
port: 33
snmp_v3:
groups:
- group: "default"
view: "default"
users:
- user: admin_user
authentication:
plaintext_key: "abc1234567"
type: "sha"
privacy:
plaintext_key: "abc1234567"
type: "aes"
group: "default"
- user: guest_user2
authentication:
plaintext_key: "opq1234567"
type: "sha"
privacy:
plaintext_key: "opq1234567"
type: "aes"
views:
- view: "default"
oid: 1
state: replaced
# After State:
# vyos@vyos:~$ show configuration commands | grep snmp
# set service snmp community bridges network '1.1.1.0/24'
# set service snmp community bridges network '12.1.1.0/24'
# set service snmp community switches
# set service snmp listen-address 100.1.2.1 port '33'
# set service snmp location 'RDU, NC'
# set service snmp v3 group default view 'default'
# set service snmp v3 user admin_user auth plaintext-key 'abc1234567'
# set service snmp v3 user admin_user auth type 'sha'
# set service snmp v3 user admin_user group 'default'
# set service snmp v3 user admin_user privacy plaintext-key 'abc1234567'
# set service snmp v3 user admin_user privacy type 'aes'
# set service snmp v3 user guest_user2 auth plaintext-key 'opq1234567'
# set service snmp v3 user guest_user2 auth type 'sha'
# set service snmp v3 user guest_user2 privacy plaintext-key 'opq1234567'
# set service snmp v3 user guest_user2 privacy type 'aes'
# set service snmp v3 view default oid 1
# vyos@vyos:~$
#
#
# Module Execution:
# "after": {
# "communities": [
# {
# "name": "bridges",
# "networks": [
# "1.1.1.0/24",
# "12.1.1.0/24"
# ]
# },
# {
# "name": "switches"
# }
# ],
# "listen_addresses": [
# {
# "address": "100.1.2.1",
# "port": 33
# }
# ],
# "location": "RDU, NC",
# "snmp_v3": {
# "groups": [
# {
# "group": "default",
# "view": "default"
# }
# ],
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "group": "default",
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "admin_user"
# },
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "guest_user2"
# }
# ],
# "views": [
# {
# "oid": "1",
# "view": "default"
# }
# ]
# }
# },
# "before": {
# "communities": [
# {
# "clients": [
# "1.1.1.1",
# "12.1.1.10"
# ],
# "name": "bridges"
# },
# {
# "authorization_type": "rw",
# "name": "switches"
# }
# ],
# "contact": "[email protected]",
# "listen_addresses": [
# {
# "address": "100.1.2.1",
# "port": 33
# },
# {
# "address": "20.1.1.1"
# }
# ],
# "snmp_v3": {
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "admin_user"
# }
# ]
# }
# },
# "changed": true,
# "commands": [
# "delete service snmp contact [email protected]",
# "delete service snmp listen-address 20.1.1.1",
# "delete service snmp community switches authorization rw",
# "delete service snmp community bridges client 12.1.1.10",
# "delete service snmp community bridges client 1.1.1.1",
# "set service snmp community bridges network 1.1.1.0/24",
# "set service snmp community bridges network 12.1.1.0/24",
# "set service snmp v3 group default view default",
# "set service snmp v3 user admin_user group default",
# "set service snmp v3 user guest_user2 auth type sha",
# "set service snmp v3 user guest_user2 auth plaintext-key ********",
# "set service snmp v3 user guest_user2 privacy type aes",
# "set service snmp v3 user guest_user2 privacy plaintext-key ********",
# "set service snmp v3 view default oid 1",
# "set service snmp location 'RDU, NC'"
# ],
# Using overridden:
# Before State
# vyos@vyos:~$ show configuration commands | grep snmp
# set service snmp community bridges client '1.1.1.1'
# set service snmp community bridges client '12.1.1.10'
# set service snmp community switches authorization 'rw'
# set service snmp contact '[email protected]'
# set service snmp listen-address 20.1.1.1
# set service snmp listen-address 100.1.2.1 port '33'
# set service snmp v3 user admin_user auth plaintext-key 'abc1234567'
# set service snmp v3 user admin_user auth type 'sha'
# set service snmp v3 user admin_user privacy plaintext-key 'abc1234567'
# set service snmp v3 user admin_user privacy type 'aes'
# vyos@vyos:~$
- name: Override config
vyos.vyos.vyos_snmp_server:
config:
communities:
- name: "bridges"
networks: ["1.1.1.0/24", "12.1.1.0/24"]
location: "RDU, NC"
listen_addresses:
- address: "100.1.2.1"
port: 33
snmp_v3:
groups:
- group: "default"
view: "default"
users:
- user: admin_user
authentication:
plaintext_key: "abc1234567"
type: "sha"
privacy:
plaintext_key: "abc1234567"
type: "aes"
group: "default"
- user: guest_user2
authentication:
plaintext_key: "opq1234567"
type: "sha"
privacy:
plaintext_key: "opq1234567"
type: "aes"
views:
- view: "default"
oid: 1
state: overridden
# After State:
# vyos@vyos:~$ show configuration commands | grep snmp
# set service snmp community bridges network '1.1.1.0/24'
# set service snmp community bridges network '12.1.1.0/24'
# set service snmp community switches
# set service snmp listen-address 100.1.2.1 port '33'
# set service snmp location 'RDU, NC'
# set service snmp v3 group default view 'default'
# set service snmp v3 user admin_user auth plaintext-key 'abc1234567'
# set service snmp v3 user admin_user auth type 'sha'
# set service snmp v3 user admin_user group 'default'
# set service snmp v3 user admin_user privacy plaintext-key 'abc1234567'
# set service snmp v3 user admin_user privacy type 'aes'
# set service snmp v3 user guest_user2 auth plaintext-key 'opq1234567'
# set service snmp v3 user guest_user2 auth type 'sha'
# set service snmp v3 user guest_user2 privacy plaintext-key 'opq1234567'
# set service snmp v3 user guest_user2 privacy type 'aes'
# set service snmp v3 view default oid 1
# vyos@vyos:~$
#
#
# Module Execution:
# "after": {
# "communities": [
# {
# "name": "bridges",
# "networks": [
# "1.1.1.0/24",
# "12.1.1.0/24"
# ]
# },
# {
# "name": "switches"
# }
# ],
# "listen_addresses": [
# {
# "address": "100.1.2.1",
# "port": 33
# }
# ],
# "location": "RDU, NC",
# "snmp_v3": {
# "groups": [
# {
# "group": "default",
# "view": "default"
# }
# ],
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "group": "default",
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "admin_user"
# },
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "guest_user2"
# }
# ],
# "views": [
# {
# "oid": "1",
# "view": "default"
# }
# ]
# }
# },
# "before": {
# "communities": [
# {
# "clients": [
# "1.1.1.1",
# "12.1.1.10"
# ],
# "name": "bridges"
# },
# {
# "authorization_type": "rw",
# "name": "switches"
# }
# ],
# "contact": "[email protected]",
# "listen_addresses": [
# {
# "address": "100.1.2.1",
# "port": 33
# },
# {
# "address": "20.1.1.1"
# }
# ],
# "snmp_v3": {
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "admin_user"
# }
# ]
# }
# },
# "changed": true,
# "commands": [
# "delete service snmp contact [email protected]",
# "delete service snmp listen-address 20.1.1.1",
# "delete service snmp community switches authorization rw",
# "delete service snmp community bridges client 12.1.1.10",
# "delete service snmp community bridges client 1.1.1.1",
# "set service snmp community bridges network 1.1.1.0/24",
# "set service snmp community bridges network 12.1.1.0/24",
# "set service snmp v3 group default view default",
# "set service snmp v3 user admin_user group default",
# "set service snmp v3 user guest_user2 auth type sha",
# "set service snmp v3 user guest_user2 auth plaintext-key ********",
# "set service snmp v3 user guest_user2 privacy type aes",
# "set service snmp v3 user guest_user2 privacy plaintext-key ********",
# "set service snmp v3 view default oid 1",
# "set service snmp location 'RDU, NC'"
# ],
# Using deleted:
# Before State:
# vyos@vyos:~$ show configuration commands | grep snmp
# set service snmp community bridges network '1.1.1.0/24'
# set service snmp community bridges network '12.1.1.0/24'
# set service snmp community switches
# set service snmp listen-address 100.1.2.1 port '33'
# set service snmp location 'RDU, NC'
# set service snmp v3 group default view 'default'
# set service snmp v3 user admin_user auth plaintext-key 'abc1234567'
# set service snmp v3 user admin_user auth type 'sha'
# set service snmp v3 user admin_user group 'default'
# set service snmp v3 user admin_user privacy plaintext-key 'abc1234567'
# set service snmp v3 user admin_user privacy type 'aes'
# set service snmp v3 user guest_user2 auth plaintext-key 'opq1234567'
# set service snmp v3 user guest_user2 auth type 'sha'
# set service snmp v3 user guest_user2 privacy plaintext-key 'opq1234567'
# set service snmp v3 user guest_user2 privacy type 'aes'
# set service snmp v3 view default oid 1
# vyos@vyos:~$
- name: Delete Config
vyos.vyos.vyos_snmp_server:
state: deleted
# After State:
# vyos@vyos:~$ show configuration commands | grep snmp
# vyos@vyos:~$
#
# Module Execution:
# "after": {},
# "before": {
# "communities": [
# {
# "name": "bridges",
# "networks": [
# "1.1.1.0/24",
# "12.1.1.0/24"
# ]
# },
# {
# "name": "switches"
# }
# ],
# "listen_addresses": [
# {
# "address": "100.1.2.1",
# "port": 33
# }
# ],
# "location": "RDU, NC",
# "snmp_v3": {
# "groups": [
# {
# "group": "default",
# "view": "default"
# }
# ],
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "group": "default",
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "admin_user"
# },
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "guest_user2"
# }
# ],
# "views": [
# {
# "oid": "1",
# "view": "default"
# }
# ]
# }
# },
# "changed": true,
# "commands": [
# "delete service snmp"
# ],
# Using rendered:
- name: Render provided configuration
vyos.vyos.vyos_snmp_server:
config:
communities:
- name: "switches"
authorization_type: "rw"
- name: "bridges"
clients: ["1.1.1.1", "12.1.1.10"]
contact: "[email protected]"
listen_addresses:
- address: "20.1.1.1"
- address: "100.1.2.1"
port: 33
snmp_v3:
users:
- user: admin_user
authentication:
plaintext_key: "abc1234567"
type: "sha"
privacy:
plaintext_key: "abc1234567"
type: "aes"
state: rendered
# Module Execution:
# "rendered": [
# "set service snmp community switches authorization rw",
# "set service snmp community bridges client 1.1.1.1",
# "set service snmp community bridges client 12.1.1.10",
# "set service snmp listen-address 20.1.1.1",
# "set service snmp listen-address 100.1.2.1 port 33",
# "set service snmp v3 user admin_user auth type sha",
# "set service snmp v3 user admin_user auth plaintext-key ********",
# "set service snmp v3 user admin_user privacy type aes",
# "set service snmp v3 user admin_user privacy plaintext-key ********",
# "set service snmp contact [email protected]"
# ]
#
# Using Gathered:
# Before State:
# vyos@vyos:~$ show configuration commands | grep snmp
# set service snmp community bridges client '1.1.1.1'
# set service snmp community bridges client '12.1.1.10'
# set service snmp community switches authorization 'rw'
# set service snmp contact '[email protected]'
# set service snmp listen-address 20.1.1.1
# set service snmp listen-address 100.1.2.1 port '33'
# set service snmp v3 user admin_user auth plaintext-key 'abc1234567'
# set service snmp v3 user admin_user auth type 'sha'
# set service snmp v3 user admin_user privacy plaintext-key 'abc1234567'
# set service snmp v3 user admin_user privacy type 'aes'
# vyos@vyos:~$
- name: gather configs
vyos.vyos.vyos_snmp_server:
state: gathered
# Module Execution:
# "gathered": {
# "communities": [
# {
# "clients": [
# "1.1.1.1",
# "12.1.1.10"
# ],
# "name": "bridges"
# },
# {
# "authorization_type": "rw",
# "name": "switches"
# }
# ],
# "contact": "[email protected]",
# "listen_addresses": [
# {
# "address": "100.1.2.1",
# "port": 33
# },
# {
# "address": "20.1.1.1"
# }
# ],
# "snmp_v3": {
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "admin_user"
# }
# ]
# }
# },
# Using parsed:
# _parsed_snmp.cfg
# set service snmp community routers authorization 'ro'
# set service snmp community routers client '203.0.113.10'
# set service snmp community routers client '203.0.113.20'
# set service snmp community routers network '192.0.2.0/24'
# set service snmp community routers network '2001::/64'
# set service snmp contact '[email protected]'
# set service snmp listen-address 172.16.254.36 port '161'
# set service snmp listen-address 2001::1
# set service snmp location 'UK, London'
# set service snmp trap-target 203.0.113.10
# set service snmp v3 engineid '000000000000000000000002'
# set service snmp v3 group default mode 'ro'
# set service snmp v3 group default view 'default'
# set service snmp v3 user vyos auth plaintext-key 'vyos12345678'
# set service snmp v3 user vyos auth type 'sha'
# set service snmp v3 user vyos group 'default'
# set service snmp v3 user vyos privacy plaintext-key 'vyos12345678'
# set service snmp v3 user vyos privacy type 'aes'
# set service snmp v3 view default oid 1
- name: parse configs
vyos.vyos.vyos_snmp_server:
running_config: "{{ lookup('file', './_parsed_snmp.cfg') }}"
state: parsed
# Module Execution:
# "parsed": {
# "communities": [
# {
# "authorization_type": "ro",
# "clients": [
# "203.0.113.10",
# "203.0.113.20"
# ],
# "name": "routers",
# "networks": [
# "192.0.2.0/24",
# "2001::/64"
# ]
# }
# ],
# "contact": "[email protected]",
# "listen_addresses": [
# {
# "address": "172.16.254.36",
# "port": 161
# },
# {
# "address": "2001::1"
# }
# ],
# "location": "UK, London",
# "snmp_v3": {
# "engine_id": "000000000000000000000002",
# "groups": [
# {
# "group": "default",
# "mode": "ro",
# "view": "default"
# }
# ],
# "users": [
# {
# "authentication": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "sha"
# },
# "group": "default",
# "privacy": {
# "plaintext_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
# "type": "aes"
# },
# "user": "vyos"
# }
# ],
# "views": [
# {
# "oid": "1",
# "view": "default"
# }
# ]
# },
# "trap_target": {
# "address": "203.0.113.10"
# }
# }
#
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The resulting configuration after module execution. Returned: when changed Sample: |
|
The configuration prior to the module execution. Returned: when state is Sample: |
|
The set of commands pushed to the remote device. Returned: when state is Sample: |
|
Facts about the network resource gathered from the remote device as structured data. Returned: when state is Sample: |
|
The device native config provided in running_config option parsed into structured data as per module argspec. Returned: when state is Sample: |
|
The provided configuration in the task rendered in device-native format (offline). Returned: when state is Sample: |