+
+ Key |
+ Returned |
+ Description |
+
+
+
+
+ after
+
+
+ list
+
+ |
+ when changed |
+
+ The resulting configuration after module execution.
+
+ Sample:
+ [
+ {
+ "name": "Loopback24"
+ },
+ {
+ "name": "GigabitEthernet1"
+ },
+ {
+ "name": "GigabitEthernet2",
+ "vrf_name": "vrf_D"
+ },
+ {
+ "name": "GigabitEthernet3"
+ },
+ {
+ "name": "GigabitEthernet4"
+ }
+ ]
+ |
+
+
+
+
+ before
+
+
+ list
+
+ |
+ when state is merged , replaced , overridden , deleted |
+
+ The configuration prior to the module execution.
+
+ Sample:
+ [
+ {
+ "name": "Loopback24"
+ },
+ {
+ "name": "GigabitEthernet1"
+ },
+ {
+ "name": "GigabitEthernet2",
+ "vrf_name": "vrf_B"
+ },
+ {
+ "name": "GigabitEthernet3"
+ },
+ {
+ "name": "GigabitEthernet4"
+ }
+ ]
+ |
+
+
+
+
+ commands
+
+
+ list
+
+ |
+ when state is merged , replaced , overridden , deleted |
+
+ The set of commands pushed to the remote device.
+
+ Sample:
+ ['interface GigabitEthernet2', 'vrf forwarding vrf_D', 'no vrf forwarding vrf_B']
+ |
+
+
+
+
+ gathered
+
+
+ list
+
+ |
+ when state is gathered |
+
+ Facts about the network resource gathered from the remote device as structured data.
+
+ Sample:
+ [
+ {
+ "name": "Loopback24"
+ },
+ {
+ "name": "GigabitEthernet1"
+ },
+ {
+ "name": "GigabitEthernet2",
+ "vrf_name": "vrf_B"
+ },
+ {
+ "name": "GigabitEthernet3"
+ },
+ {
+ "name": "GigabitEthernet4"
+ }
+ ]
+ |
+
+
+
+
+ parsed
+
+
+ list
+
+ |
+ when state is parsed |
+
+ The device native config provided in running_config option parsed into structured data as per module argspec.
+
+ Sample:
+ [
+ {
+ "name": "GigabitEthernet1",
+ "vrf_name": "vrf_C"
+ },
+ {
+ "name": "GigabitEthernet2",
+ "vrf_name": "vrf_D"
+ },
+ {
+ "name": "GigabitEthernet3"
+ },
+ {
+ "name": "GigabitEthernet4"
+ }
+ ]
+ |
+
+
+
+
+ rendered
+
+
+ list
+
+ |
+ when state is rendered |
+
+ The provided configuration in the task rendered in device-native format (offline).
+
+ Sample:
+ ['interface GigabitEthernet1', 'vrf forwarding vrf_C', 'interface GigabitEthernet2', 'vrf forwarding vrf_D']
+ |
+
+
+